Sample Properties |
These properties were extracted from the verbose log of a product during it's installation. Hopefully this provides you a quick example of what is available for use in any conditions that you may wish to set up.
See "http://msdn.microsoft.com/en-us/library/aa370905.aspx" for some online property documentation which lists a large number of the "standard" properties.
Sometimes you need a file path without a trailing slash, the "trailing slash removal" example shows one way this could be done!
If you use a standard property remember to check its documentation to see at what stages it may be used, for example the "REMOVE" property should only be used after the "InstallValidate" standard action has been executed.
Properties Extracted from MSI Log |
The following displays both "standard" MSI properties (not all of them!) as well as properties specific to the "uisample.msi" template ("BannerBitmap" is an example of this).
I sorted these entries, generated logs seem to output the properties in random order. Note that a log will normally contain "Property(C)" and "Property(S)" entries which are the properties as the CLIENT and SERVER processes see them.
Property(C): ACTION = INSTALL Property(C): ALLUSERS = 1 Property(C): ARPCOMMENTS = TryMe (simple MAKEMSI test MSI) (3.076.0000) Property(C): ARPCONTACT = My Name Property(C): ARPHELPLINK = http://www.MyUrl.com/See/ME.MMH/Support Property(C): ARPPRODUCTICON = MmDefaultProductIcon.3.076.0000.ico.exe Property(C): ARPURLINFOABOUT = http://www.MyUrl.com/See/ME.MMH/ Property(C): AdminToolsFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools\ Property(C): AdminUser = 1 Property(C): AppDataFolder = C:\Documents and Settings\Dennis\Application Data\ Property(C): AppsShutdownOption = All Property(C): BannerBitmap = bannrbmp Property(C): BorderSide = 1 Property(C): BorderTop = 1 Property(C): ButtonText_Back = < &Back Property(C): ButtonText_Browse = Br&owse Property(C): ButtonText_Cancel = Cancel Property(C): ButtonText_Exit = &Exit Property(C): ButtonText_Finish = &Finish Property(C): ButtonText_Ignore = &Ignore Property(C): ButtonText_Install = &Install Property(C): ButtonText_Next = &Next > Property(C): ButtonText_No = &No Property(C): ButtonText_OK = OK Property(C): ButtonText_Remove = &Remove Property(C): ButtonText_Repair = &Repair Property(C): ButtonText_Reset = &Reset Property(C): ButtonText_Resume = &Resume Property(C): ButtonText_Retry = &Retry Property(C): ButtonText_Return = &Return Property(C): ButtonText_Yes = &Yes Property(C): CLIENTPROCESSID = 4176 Property(C): CLIENTUILEVEL = 0 Property(C): COMPANYNAME = Property(C): CURRENTDIRECTORY = C:\Program Files\MakeMsi\Samples\TryMe\Create MSI Installers\out\TryMe.MM\MSI Property(C): CaptionHeight = 32 Property(C): ColorBits = 32 Property(C): CommonAppDataFolder = C:\Documents and Settings\All Users\Application Data\ Property(C): CommonFilesFolder = C:\Program Files\Common Files\ Property(C): CompleteSetupIcon = completi Property(C): ComputerName = CN-DENNIS-9400 Property(C): CostingComplete = 1 Property(C): CustomSetupIcon = custicon Property(C): DATABASE = C:\DOCUME~1\Dennis\LOCALS~1\Temp\309735.msi Property(C): Date = 23/06/2007 Property(C): DefaultUIFont = DlgFont8 Property(C): DesktopFolder = C:\Documents and Settings\All Users\Desktop\ Property(C): DialogBitmap = dlgbmp Property(C): DiskPrompt = TryMe (simple MAKEMSI test MSI) version 3.076.0000 - [1] Property(C): DlgTitleFont = {&DlgFontBold8} Property(C): EXECUTEACTION = INSTALL Property(C): ErrorDialog = ErrorDlg Property(C): ExclamationIcon = exclamic Property(C): FavoritesFolder = C:\Documents and Settings\Dennis\Favorites\ Property(C): FontsFolder = C:\WINDOWS\Fonts\ Property(C): GPTSupport = 1 Property(C): IAgree = Yes Property(C): INSTALLDIR = C:\Program Files\TryMe (makemsi sample)\TryMe.MM\ Property(C): INSTALLLEVEL = 1000 Property(C): InfoIcon = info Property(C): InstallMode = Complete Property(C): InstallerIcon = insticon Property(C): Intel = 6 Property(C): LocalAppDataFolder = C:\Documents and Settings\Dennis\Local Settings\Application Data\ Property(C): LogonUser = Dennis Property(C): MAKEMSI_DOCO = C:\Program Files\MAKEMSI Package Documentation\My Company\My Name\ Property(C): MM_REDUCED_UI = 0 Property(C): Manufacturer = My Name Property(C): MsiNTProductType = 1 Property(C): MsiNetAssemblySupport = 2.0.50727.42 Property(C): MsiWin32AssemblySupport = 5.1.2600.3019 Property(C): MyPicturesFolder = D:\DBAREIS\My Pictures\ Property(C): NetHoodFolder = C:\Documents and Settings\Dennis\NetHood\ Property(C): OLEAdvtSupport = 1 Property(C): OriginalDatabase = C:\Program Files\MakeMsi\Samples\TryMe\Create MSI Installers\out\TryMe.MM\MSI\TryMe.msi Property(C): OutOfDiskSpace = 0 Property(C): OutOfNoRbDiskSpace = 0 Property(C): PIDTemplate = 12345<###-%%%%%%%>@@@@@ Property(C): PROMPTROLLBACKCOST = P Property(C): PackageCode = {EE3B2B6A-A5F0-4D1B-88D1-AF6F0BBED472} Property(C): PackagecodeChanging = 1 Property(C): PersonalFolder = D:\DBAREIS\ Property(C): PhysicalMemory = 2046 Property(C): PrimaryVolumeSpaceAvailable = 0 Property(C): PrimaryVolumeSpaceRemaining = 0 Property(C): PrimaryVolumeSpaceRequired = 0 Property(C): PrintHoodFolder = C:\Documents and Settings\Dennis\PrintHood\ Property(C): Privileged = 1 Property(C): ProductCode = {ED7AD090-E167-4B78-96CB-FA8FC47DB7FF} Property(C): ProductID = none Property(C): ProductLanguage = 1033 Property(C): ProductName = TryMe (simple MAKEMSI test MSI) Property(C): ProductState = -1 Property(C): ProductVersion = 3.076.0000 Property(C): ProgramFilesFolder = C:\Program Files\ Property(C): ProgramMenuFolder = C:\Documents and Settings\All Users\Start Menu\Programs\ Property(C): Progress1 = Installing Property(C): Progress2 = installs Property(C): REINSTALLMODE = amus Property(C): ROOTDRIVE = C:\ Property(C): RecentFolder = C:\Documents and Settings\Dennis\Recent\ Property(C): RedirectedDllSupport = 2 Property(C): RemoteAdminTS = 1 Property(C): RemoveIcon = removico Property(C): RepairIcon = repairic Property(C): SOURCEDIR = C:\Program Files\MakeMsi\Samples\TryMe\Create MSI Installers\out\TryMe.MM\MSI\ Property(C): ScreenX = 1920 Property(C): ScreenY = 1200 Property(C): SecureCustomProperties = UNINSTALLTHIS Property(C): SendToFolder = C:\Documents and Settings\Dennis\SendTo\ Property(C): ServicePackLevel = 2 Property(C): ServicePackLevelMinor = 0 Property(C): Setup = Setup Property(C): ShellAdvtSupport = 1 Property(C): SourceDir = C:\Program Files\MakeMsi\Samples\TryMe\Create MSI Installers\out\TryMe.MM\MSI\ Property(C): StartMenuFolder = C:\Documents and Settings\All Users\Start Menu\ Property(C): StartupFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Startup\ Property(C): System16Folder = C:\WINDOWS\system\ Property(C): SystemFolder = C:\WINDOWS\system32\ Property(C): SystemLanguageID = 1033 Property(C): TARGETDIR = C:\ Property(C): TTCSupport = 1 Property(C): TempFolder = C:\DOCUME~1\Dennis\LOCALS~1\Temp\ Property(C): TemplateFolder = C:\Documents and Settings\All Users\Templates\ Property(C): TextHeight = 20 Property(C): Time = 11:29:28 Property(C): UILevel = 5 Property(C): USERNAME = Property(C): UpgradeCode = {7EF333CB-3BB9-457D-831E-8482E50F2999} Property(C): UserLanguageID = 3081 Property(C): UserSID = S-1-5-20-3844034110-7045242082-546538531-1006 Property(C): VersionDatabase = 110 Property(C): VersionHandler = 3.01 Property(C): VersionMsi = 3.01 Property(C): VersionNT = 501 Property(C): VirtualMemory = 3261 Property(C): WindowsBuild = 2600 Property(C): WindowsFolder = C:\WINDOWS\ Property(C): WindowsVolume = C:\ Property(C): Wizard = Setup Wizard Property(C): _MAKEMSI_BuildComputer = CN-DENNIS-9400 Property(C): _MAKEMSI_BuildTime = Wed Jun 20 2007 at 5:32:02pm Property(C): _MAKEMSI_BuildUser = USER "Dennis" in CN-DENNIS-9400 Property(C): _MAKEMSI_Header_COMPANY.MMH = C:\Program Files\MakeMsi\COMPANY.MMH (v06.334, 51,059 bytes, dated Tue Dec 5 2006 at 7:27:10pm) Property(C): _MAKEMSI_Header_DEPT.MMH = C:\Program Files\MakeMsi\DEPT.MMH (v03.171, 4,275 bytes, dated Sat May 7 2005 at 9:10:04am) Property(C): _MAKEMSI_Header_MAKEMSI.MMH = C:\Program Files\MakeMsi\MakeMsi.MMH (v07.159, 21,105 bytes, dated Tue Dec 5 2006 at 7:27:16pm) Property(C): _MAKEMSI_MakemsiVersion = 07.159 Property(C): _MAKEMSI_ProcessingMode = Production Property(C): _MAKEMSI_Source_TRYME.MM = C:\Program Files\MakeMsi\Samples\TryMe\Create MSI Installers\TryMe.MM (1,403 bytes, dated Fri Jun 2 2006 at 5:10:46pm) Property(C): _MAKEMSI_SupportedPlatforms = SUPPORTED on On any Windows Computer. Property(C): _PROGRAMFILESFOLDER_MAKEMSI_PACKAGE_DOCUMENTATION = C:\Program Files\MAKEMSI Package Documentation\ Property(C): _PROGRAMFILESFOLDER_MAKEMSI_PACKAGE_DOCUMENTATION_MY_COMPANY = C:\Program Files\MAKEMSI Package Documentation\My Company\ Property(C): _PROGRAMFILESFOLDER_TRYME_MAKEMSI_SAMPLE = C:\Program Files\TryMe (makemsi sample)\