Pages

Showing posts with label msi properties. Show all posts
Showing posts with label msi properties. Show all posts

Friday, 3 August 2012

RESTRICTED PUBLIC Properties


Following are the list of Restricted Public Properties


PROPERTY
DESCRIPTION
ACTION
Reflects the top-level action being performed. Will be either INSTALL, ADVERTISE, or ADMIN.
AFTERREBOOT
Set to 1 after a reboot initiated by the ForceReboot action
ALLUSERS
The ALLUSERS property determines whether a per-machine or per-user installation is done on Windows NT or Windows 2000 (it has no effect on Windows 95 or Windows 98). By default, all installations are per-user. If ALLUSERS is set to 1 and the user has administrative   privileges, a per-machine installation is performed; if the user does not have administrative privileges, an error is returned. If ALLUSERS is set to 2 and the user has administrative privileges, a per-machine installation is performed; if the user does not have  administrative privileges, a per-user installation is performed.
EXECUTEACTION
Set to the name of the top-level action being executed, for example INSTALL or ADMIN.
EXECUTEMODE
Set to None for a dry run that does not actually make any changes to the user’s system. Set to Script to run the installation script. Any other value defaults to the Script setting.
FILEADDDEFAULT
Comma-delimited list of files to be installed in their default state.
FILEADDLOCAL
Comma-delimited list of files to be installed locally.
FILEADDSOURCE
Comma-delimited list of files to be installed to run from source.
INSTALLLEVEL
The level for which features are selected to install by default. Defaults to 1 if not set.
LIMITUI
Set to 1 to limit the user interface to the Basic level.
LOGACTION
Semicolon-separated list of actions for which action data messages will be logged.
NOCOMPANYNAME
Set this to 1 to suppress the Installer’s automatic filling in of the COMPANYNAME property. Useful if your application needs to be sure it collects the current company name itself.
NOUSERNAME
Set this to 1 to suppress the Installer’s automatic filling in of the USERNAME property. Useful if your application needs to be sure it collects the current username itself.
PATCH
Full path of the current patch package (if any).
PRIMARYFOLDER
The main directory for the installation.
PROMPTROLLBACKCOST
Specifies how the installer should handle low-disk conditions if running with no UI or the basic UI. Set to P to prompt the user to disable rollback, D to disable rollback without prompting, or F to fail with a warning that there is not enough disk space.
REBOOT
This property allows you to control some of the reboot-prompting behavior. If set to “Force,” the Installer automatically prompts for a reboot after install. If set to “Suppress,” the Installer doesn’t prompt for a reboot unless it executes a ForceReboot action. If set to “ReallySuppress,” the Installer doesn’t prompt for a reboot even for a ForceReboot action.
REINSTALL
Comma-delimited list of features to be reinstalled.
REINSTALLMODE
A string of letters showing the actions to be performed by a reinstall. The default is “omus.”
RESUME
Set to 1 when the current installation is a resumption of a previously suspended installation.
SEQUENCE
Specifies the name of a table to be used by the SEQUENCE action.
SHORTFILENAMES
Set this property to 1 to force the Installer to use short names for files and directories.
TRANSFORMS
List of transforms to be applied during the installation.
TRANSFORMSATSOURCE
Set this property to 1 to indicate that transforms are stored at the root directory of the installation.
TRANSFORMSSECURE
Set to 1 to cache transforms in a location where the user does not have write access.
































































































Sunday, 11 March 2012

MSI Properties



There are several notable properties that will be used many, many times. Most of them control
how a package is installed:
• TRANSFORMS—Specifies a list of transforms to apply to an MSI during package
installation.
• ADDLOCAL—Lists features to install on the local computer.
• ALLUSERS—Controls whether installations are performed for all users of the computer
or just the user running the installation.
• ROOTDRIVE—Controls which drive Windows Installer installs packages on—by
default packages are installed on the local drive that has the most free space.
• INSTALLDIR—Controls the exact directory to which a package must be installed.
• REBOOT—Controls whether the package requests a reboot after installation.