Hi everyone!
I'm trying to build my app, but I keep getting this error related to the NSIS bundle on Windows, and I can't figure out how to fix it — even when running as admin. 😩
Has anyone encountered this before or found a solution?
Thanks in advance!
~/Documents/Dev/xxx/xxx-tauri on main! ⌚ 17:52:28
$ cargo tauri build
Running beforeBuildCommand trunk build
2025-07-28T15:56:11.072235Z INFO Starting trunk 0.21.14
2025-07-28T15:56:11.073610Z INFO starting build
Finished dev profile [unoptimized + debuginfo] target(s) in 0.38s
2025-07-28T15:56:13.344711Z INFO applying new distribution
2025-07-28T15:56:13.350870Z INFO success
Compiling xxx-tauri v1.0.1 (C:\Users\xxx\Documents\Dev\xxx\xxx-tauri\src-tauri)
Finished release profile [optimized] target(s) in 47.52s
Built application at: C:\Users\xxx\Documents\Dev\xxx\xxx-tauri\target\release\xxx-tauri.exe
Warn NSIS directory is missing some files. Recreating it.
Info Verifying NSIS package
Downloading https://github.com/tauri-apps/binary-releases/releases/download/nsis-3/nsis-3.zip
Info validating hash
Info extracting NSIS
Downloading https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.5.1/nsis_tauri_utils.dll
Info validating hash
Info Target: x64
Error failed to bundle project:
- Accès refusé. (os error 5)
:nsis] Target: x64