Summary
Discusses some of the InstallScript and MSI properties that resolve to a locationSynopsis
This article is intended to list and discuss some of the InstallScript and MSI properties that resolve to a location.
Discussion
The following table describes the variables in each product and their equivalent.
| InstallScript Variable | MSI Property | Additional Information |
|---|---|---|
| TARGETDIR | INSTALLDIR |
Used to hold a custom destination path specified by the user. |
| TARGETDISK | <NO Equivalent> |
The value of TARGETDISK is to the drive where the TARGETDIR/INSTALLDIR folders are installed. |
| SRCDIR | SourceDir | SRCDIR is initially set to the value of SourceDir, but can be modified.
SourceDir can not be modified. |
| SRCDISK | <NO Equivalent> |
The value of SRCDISK is set to the location of setup.inx. |
| WINSYSDIR | SystemFolder | Read-only property set to the Windows System folder. |
| COMMONFILES | CommonFilesFolder | Read-only property set to the Windows common files folder. |
| PROGRAMFILES | ProgramFilesFolder | Read-only property set to the system's Program Files folder. |
| FOLDER_DESKTOP | DesktopFolder | Read-only property set to the user's desktop folder. |
| FOLDER_PROGRAMS | ProgramMenuFolder | Read-only property set to the Programs menu of the user's Start menu. |
| FOLDER_STARTMENU | StartMenuFolder | Read-only property set to the user's Start menu folder. |
| FOLDER_STARTUP | StartupFolder | Read-only property set to the user's Startup folder on the Start menu. |
| WINDIR | WindowsFolder | Read-only property set to the system's Windows folder. |
| WINDISK | WindowsVolume | Read-only property set to the disk where the running Windows OS folder resides. |
| WINSYSDISK | WindowsVolume | Read-only property set to the disk where the running Windows OS system folder resides. |
| ISUSER | <NO Equivalent> | Read-only property set t TempFolder ^ ProductCode ^ "_isuser.dll" |
| ISRES | <NO Equivalent> | Read-only property set t TempFolder ^ ProductCode ^ "_isres.dll" |
| SUPPORTDIR | SUPPORTDIR | Read-only property set t TempFolder ^ ProductCode |
| SHELL_OBJECT_FOLDER | <NO Equivalent> | Used to specify a custom location for shortcuts when created using the CreateShellObjects function. |
| DISK1TARGET | <NO Equivalent> | Specifies location where information required for the uninstallation of the product will be stored on the target.
Initially set t ProgramFilesFolder ^ "InstallShield Installation Information" ^ ProductCode. |
| FOLDER_TEMP | TempFolder | Read-only property set to the location of the system's temp directory. |
| FOLDER_APPDATA | AppDataFolder | Read-only property set to the current user's "Application Data" folder. |
| FOLDER_FONTS | FontsFolder | Read-only property set to the system's Fonts directory. |
| <NO Equivalent> | FavoritesFolder | Read-only property set to the user's Favorites directory. |
| <NO Equivalent> | NetHoodFolder | Read-only property set to the user's NetHood directory. |
| FOLDER_PERSONAL | PersonalFolder | Read-only property set to the user's "Personal" directory. |
| <NO Equivalent> | PrintHoodFolder | Read-only property set to the user's "PrintHood" directory. |
| <NO Equivalent> | RecentFolder | Read-only property set to the user's "Recent" directory. |
| <NO Equivalent> | SendToFolder | Read-only property set to the user's "SendTo" folder. |
| <NO Equivalent> | System16Folder | Read-only property set to the OS's 16-bit System folder. |
| <NO Equivalent> | TemplateFolder | Read-only property set to the user's "Templates" directory. |
| <NO Equivalent> | AdminToolsFolder | Read-only property set to the "Administrative Tools" menu on the user's Start menu. |
| FOLDER_COMMON_APPDATA | CommonAppDataFolder | Read-only property set to the "Application Data" folder for All Users. |
| <NO Equivalent> | LocalAppDataFolder | Read-only property set to the user's "Application Data" folder. |
| <NO Equivalent> | MyPicturesFolder |
Read-only property set to the user's "MyPictures" folder. |
Additional Information
For further information on the variables and constants available for use, search InstallShield's HelpNet and the Windows Installer Property Reference
Related Articles
Logging An InstallScript MSI Project 363Number of Views The Difference between a Public MSI Property and a Global InstallScript Variable 6Number of Views Trimming the Buffer from an MSI Property obtained in InstallScript 3Number of Views What Are the Differences Between Basic MSI and InstallScript MSI Project? 8Number of Views How to Display Properties in Dialog for InstallScript MSI 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago