MSI Properties

MSI Properties are global variables used by Windows Installer during an installation.

.

MSDN Link :

http://msdn.microsoft.com/en-us/library/windows/desktop/aa370905.aspx

 

 

ADDLOCAL

The value of the ADDLOCAL property is a list of features that are delimited by commas, and are to be installed locally.

ADDLOCAL=ALL means that all features will be installed.

 

 

ALLUSERS

The ALLUSERS property configures the installation context of the package

ALLUSERS=1 means a “per-machine” installation

 

 

ARPNOMODIFY

Setting the ARPNOMODIFY property disables Add / Remove Programs functionality in Control Panel.

ARPNOMODIFY=1 disables the “Change” button in Add / Remove Programs

Following registry is set:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{......................}]
"NoModify"=dword:00000001

 

 

ARPNOREMOVE

Setting the ARPNOREMOVE property disables the Add or Remove Programs functionality in Control Panel that removes the product.

ARPNOREMOVE=1 disables the “Uninstall” button in Add / Remove Programs

Following registry is set:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{......................}]
"NoRemove"=dword:00000001

 

 

ARPNOREPAIR

Set the ARPNOREPAIR property to disable the Repair button in the Programs Wizard and in Add / Remove Programs

ARPNOREPAIR=1 disables the “Repair” button in Add / Remove Programs

Following registry is set:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{......................}]
"NoRepair"=dword:00000001

 

 

ARPPRODUCTICON

The ARPPRODUCTICON property specify the icon to display in Add/Remove Programs

Set ARPPRODUCTICON = [icon or exe name in the “FileName” column of the “File” table]

Following registry is set:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{......................}]
"DisplayIcon"=”Path to the file”

 

 

ARPSYSTEMCOMPONENT

ARPSYSTEMCOMPONENT=1 prevents the application from being displayed in the Add / Remove Programs list of Control Panel.

 

 

ISSETUPDRIVEN

Some publishers provide MSI included in EXE file.

To retrieve MSI file, EXE file can be extracted using tools such as 7-Zip.

But, sometime, MSI cannot be run if not called by the original EXE…

To avoid that problem, set the following property: ISSETUPDRIVEN=1

 

 

REBOOT

The REBOOT property suppresses certain prompts for a restart of the system.

 

REBOOT=Force

Always prompt for a restart at the end of the installation.

 

REBOOT=Suppress

Suppress prompts for a restart at the end of the installation. The installer still prompts the user with an option to restart during the installation whenever it encounters the ForceReboot action.

 

REBOOT=ReallySuppress

Suppress all restarts and restart prompts initiated by ForceReboot during the installation. Both the restart prompt and the restart itself are suppressed.

 

 

.