[bug] Installer ignores directory parameter in silent mode with "installMode=both"
Author: ThomasBraun1979Created Sep 11, 2026Updated Sep 11, 2026
Labelstype: bugplatform: Windowsscope: bundlerstatus: needs triage
Describe the bug
The installer supports the parameters /S for silent mode and /D= for the installation directory. However, if installMode is set to both in tauri.conf.json, the directory parameter is ignored. If the installMode is set either to CurrentUser or AllUsers the parameter works.
Reproduction
Use an installer with the parameters /S /D=C:\Programs\MyDir\MyApp.
Once installation is complete, the programme will be installed in the respective default directory – depending on whether the installer was run with administrator rights or not – and not in C:\Programs\MyDir\MyApp.
Expected behavior
The /D= parameter should also work when installMode is set to both.
Full tauri info output
-
Stack trace
Additional context
No response
Source: tauri-apps/tauri