MSIDefaultInstallAllUsers
Previous  Top  Next

MSIDefaultInstallAllUsers – Set default installation mode of the MSI database

This option has an effect only when generation of a Windows Installer database is requested via the MSIFilename option.
When set to "1", the default installation mode of the generated MSI database is set to "per-machine". If you want the default mode to be "per-user", set this option to "0". Setting it to "2" will result in a default mode of per-machine for Administrators and a per-user for non-Administrators.


Example

This directs Thinstall to generate an MSI which is installed on a per-user bases by default  
Note: by suppling command-line arguments to msiexec you can force a per-machine install  
For example msexec.exe mymsi.msi ALLUSERS=1  
[BuildOptions]  
MSIFilename=mymsi.msi  
MSIDefaultInstallAllUsers=0

This directs Thinstall to generate an MSI which is installed on a per-machined bases by default  
Note: by suppling command-line arguments to msiexec you can force a per user-machine install  
For example msexec.exe mymsi.msi ALLUSERS=  
[BuildOptions]  
MSIFilename=mymsi.msi  
MSIDefaultInstallAllUsers=1

This directs Thinstall to generate an MSI which is installed on a per-machined for Administrators and per-user for non-Administrators  
if the user does not have permission to install on a per-machine bases,  
Note: by suppling command-line arguments to msiexec you can force a per user-machine install  
For example msexec.exe mymsi.msi ALLUSERS=  
[BuildOptions]  
MSIFilename=mymsi.msi  
MSIDefaultInstallAllUsers=2


Availability:
This option requires Thinstall version 3.210 or higher