Skip to content

[bug] Error in generating wix installer on Windows #4791

@miniBill

Description

@miniBill

Describe the bug

I've used the tauri-apps/tauri-action@v0 to automatically build the installer, but I get this error:

     Finished release [optimized] target(s) in 2m 22s
        Info Target: x64
     Signing C:\actions-runner\_work\[...]\src-tauri\target\release\[...].exe
     Signing C:\actions-runner\_work\[...]\src-tauri\target\release\[...].exe with identity "ae7ce42c742d8b5f1ce7547294c42dbc8b21ad91"
        Info "Done Adding Additional Store\r\nSuccessfully signed: C:\\actions-runner\\_work\\[...]\\src-tauri\\target\\release\\[...].exe\r\r\n"
     Running candle for "main.wxs"
     Running light to produce C:\actions-runner\_work\[...]\src-tauri\target\release\bundle/msi/[...]_0.0.4_x64_en-US.msi
       Error failed to bundle project: error running light.exe: error running light.exe: `failed to run C:\Users\GithubRunner\AppData\Local\tauri/WixTools\light.exe`
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Reproduction

Use tauri-apps/tauri-action@v0 on a self-hosted runner

Expected behavior

The release gets correctly created

Platform and versions

@tauri-apps/cli 1.0.3
@tauri-apps/api 1.0.2
tauri 1.0.5
tauri-build 1.0.4

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions