Using the INSTALLDIR Property in a VBScript Custom Action
InstallShield 2024
Project:
| • | Basic MSI |
| • | DIM |
| • | InstallScript MSI |
| • | Merge Module |
| • | MSI Database |
| • | MSM Database |
| • | Transform |
If you need to use the INSTALLDIR property in a VBScript custom action, use the Property property of the Session object. This object is accessible in every VBScript custom action.
Following is sample code:
szInstallDir = Session.Property("INSTALLDIR")
For more information, see Session Object in the Windows Installer Help Library.