We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NSISDIR
NSISCONFDIR
makensis
1 parent 327c7ae commit 777ddf4Copy full SHA for 777ddf4
.changes/bundler-nsis-nsisdir.md
@@ -0,0 +1,5 @@
1
+---
2
+'tauri-bundler': 'patch:bug'
3
4
+
5
+Unset `NSISDIR` and `NSISCONFDIR` when running `makensis.exe` so it doesn't conflict with NSIS installed by the user.
tooling/bundler/src/bundle/windows/nsis.rs
@@ -457,6 +457,8 @@ fn build_nsis_app_installer(
457
_ => "-V4",
458
})
459
.arg(installer_nsi_path)
460
+ .env_remove("NSISDIR")
461
+ .env_remove("NSISCONFDIR")
462
.current_dir(output_path)
463
.piped()
464
.context("error running makensis.exe")?;
0 commit comments