Posted on April 5, 2012 by in Application Packaging

    Windows Installer Properties:

    Properties are the Global Variables used by the Windows Installer during the process of installation.

    The properties are stored in the PROPERTY Table in the Windows Installer Database.

    Windows Installer Properties are categorized into:

    1. Private
    2. Public
    3. Restricted Public

    Private Property:

    Properties used by the windows installer internally. These properties are set by the author of installation depending on kind of environment, like Operating System.

    These properties contain UPPERCASE and lowercase letters.

    These properties cannot be changed by CommandLine.

    If the installation is set to the Windows, the property AppData is set to Windows\Profiles\Applicaation Data


    Public Property:

    Properties that can be changed by the packager.

    These properties are set during the installation and can be changed using the Transform or the CommandLine.

    These contain only UPPERCASE letters.




    Restricted Public Property:

    Public properties restricted by the author to the user without elevated rights for installation.

    If the package is set to install Per Machine, and the user without elevated rights can overwrite only the Restricted Public Properties.


    Mandatory Properties:

    The below properties are mandatory for every installation.

    1. ProductCode
    2. ProductLanguage
    3. Manufacturer
    4. ProductVersion
    5. ProductName

     The Below table illustrates some of the commonly used Properties:




    ADDDEFAULT List of features to be installed in the default configuration. ADDDEFAULT=ALL ADDDEFAULT=feature1,feature2
    ADDLOCAL List of features to be installed locally. ADDLOCAL=ALL ADDLOCAL=feature1,feature2
    ADDSOURCE List of features to be run from source. ADDSOURCE=ALL ADDSOURCE=feature1,feature2
    ADVERTISE List of features to be advertised. ADVERTISE=ALL ADVERTISE=feature1,feature2
    ALLUSERS The ALLUSERS property configures the installation context of the
    package. The Windows Installer performs a per-user installation with value as NULL
    or per-machine installation with value 1. With value 2 the windows installer resets
    the value to 0 or 1 depending on the access privileges of the user.
    ARPCOMMENTS Provides Comments for the Add or Remove Programs in Control Panel.  
    ARPCONTACT Provides Contact for the Add or Remove Programs in Control Panel.  
    ARPINSTALLLOCATION Fully qualified path to the primary folder of an application.  
    ARPNOMODIFY Disables functionality that modifies a product. ARPNOMODIFY=1
    ARPNOREMOVE Disables functionality that removes a product. ARPNOREMOVE=1
    ARPNOREPAIR Disables the Repair button in the Programs wizard. ARPNOREPAIR=1
    ARPSIZE Estimated size of an application in kilobytes.  
    ARPSYSTEMCOMPONENT Prevents display of an application in the Add or Remove Programs list. ARPSYSTEMCOMPONENT=1
    AVAILABLEFREEREG Registry space (in kilobytes) that an application requires. AVAILABLEFREEREG=%anynumber%
    DISABLEADVTSHORTCUTS Set to disable the generation the specific shortcuts that support installation
    on demand. Setting this property specifies that these shortcuts should instead be
    replaced by regular shortcuts.
    DISABLEROLLBACK Disables rollback for the current configuration. DISABLEROLLBACK=1
    INSTALLLEVEL Initial level where features are installed. By default INSTALLLEVEL=1
    LIMITUI UI level capped as Basic. Installation packages containing the LIMITUI property
    must also contain the ARPNOMODIFY property.
    MSIDISABLELUAPATCHING Setting this property prevents Least Privileged User (LUA) patching of an application. MSIDISABLELUAPATCHING=1
    MSIPATCHREMOVE Setting this property removes patches. The value is set to patch guid or full path
    of the patch.
    msiexec /I “patchtomsi” MSIPATHREMOVE=c:\patches\ex1.msp;{patch code guid of ex2.msp}
    PATCH Setting this property applies a patch. The value of the PATCH property is a list
    of the patches that are being installed.
    PATCH=\\server\share\Patches\ex1.msp; \\server\share\Patches\ex2.msp
    PIDKEY Part of the Product ID that the user enters.  
    REBOOTPROMPT Suppresses the display of prompts for restarts to the user. Any restarts that are
    needed happen automatically.
    REINSTALL List of features to be reinstalled. REINSTALL=ALL REINSTALL=feature1,feature2
    REINSTALLMODE The REINSTALLMODE property is a string that contains letters specifying the type
    of reinstall to perform. Options are case-insensitive and order-independent.
    REMOVE List of features to be removed. REMOVE=ALL REMOVE=feature1,feature2
    ROOTDRIVE Default drive for an installation.   If you want to perform installation on E: drive then set: ROOTDRIVE=E:\
    SHORTFILENAMES Causes short file names to be used. SHORTFILENAMES=1
    TARGETDIR Specifies the root destination directory for the installation. During an administrative
    installation this property is the location to copy the installation package.
    TRANSFORMS List of transforms to be applied to a database. TRANSFORMS=transform1.mst; transform2.mst;transform3.mst
    TRANSFORMSATSOURCE Informs the installer that the transforms for a product reside at the source. TRANSFORMSATSOURCE=1
    TRANSFORMSSECURE Windows installer transforms are cached locally on the user computer in a location
    where the user does not have write access.


    Be Sociable, Share!

    Written by

    Senior Desktop Engineer with over 6 years of experience in application pakcaging, testing and deployment. Designed and successfully implemented App-V infratstructure in mid size enterprises.

    View all articles by

    Email : [email protected]

    Leave a Reply