-
-
Notifications
You must be signed in to change notification settings - Fork 979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dx bundle fail on windows #3233
Comments
The same error. |
I got it sort of working, after following workarounds:
[bundle]
publisher = "my example publisher"
identifier = "com.example.app"
~\AppData\Local\tauri\WixTools314\light.exe -ext WixUIExtension -loc .\target/dx/<APPNAME>/bundle/windows\wix\x64\locale.wxl .\target\dx\<APPNAME>\bundle\windows\wix\x64\main.wixobj This successfully generated a working installer, however, app lacked permission to create its WebView2 cache in the default installed location ( |
dx --version: |
The same error:
17.829s INFO Bundling app...
17.852s INFO Copying asset (0/3): C:\Users\liigo\tmp\hidx06\myhotdog\assets\header.svg
17.852s INFO Copying app to output directory...
18.820s ERROR Failed to bundle project: BundlerError(
Error {
context: "error running candle.exe",
source: GenericError(
"failed to run C:\\Users\\liigo\\AppData\\Local\\tauri\\WixTools314\\candle.exe",
),
},
)
18.823s ERROR err=BundleFailed(BundlerError(error running candle.exe
Caused by:
`failed to run C:\Users\liigo\AppData\Local\tauri\WixTools314\candle.exe`)) But tauri build works well (both tauri and dioxus use the same wix as i known):
Running beforeBuildCommand `dx build --release`
0. 1s INFO Building project...
......
5.461s INFO Build completed successfully! 🚀 path="C:\\Users\\liigo\\tmp\\hi-tauri-dioxus\\target\\dx\\hi-tauri-dioxus-ui\\release\\web\\public"
Compiling hi-tauri-dioxus v0.1.0 (C:\Users\liigo\tmp\hi-tauri-dioxus\src-tauri)
Finished `release` profile [optimized] target(s) in 1m 12s
Built application at: E:\tmp\RUST_DIR\CARGO_TARGET_DIR\release\hi-tauri-dioxus.exe
Info Target: x64
Running candle for "main.wxs"
Running light to produce E:\tmp\RUST_DIR\CARGO_TARGET_DIR\release\bundle\msi\hi-tauri-dioxus_0.1.0_x64_en-US.msi
Finished 1 bundle at:
E:\tmp\RUST_DIR\CARGO_TARGET_DIR\release\bundle\msi\hi-tauri-dioxus_0.1.0_x64_en-US.msi |
still having this same error on 0.6.2 |
during my exploration on #3688, I realized that the shortcut created by nsis (and probably msi as well) don't work anymore after #3482, the resulting link targets |
alright ! The shortcut, the uninstaller not deleting the executable, as well as WiX still not working on my first reply here, all now work on my side ! 1 line PR incoming |
ERROR Failed to bundle project: BundlerError
The text was updated successfully, but these errors were encountered: