This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How To Access User Properties From InstallScript
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 21, 2019
08:19 AM
How To Access User Properties From InstallScript
If I create a property using Property Manager, I can see the property in dropdowns for various predefined scenarios, such as conditions, etc. But I cannot see the property inside InstallScript. If I just type it, I get an Undefined error at compile time. What do you have to do to access such a property from InstallScript?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 21, 2019
08:42 AM
I believe you are using either BasicMsi or InstallScript MSI project as property manager view is available in those projects only.
you can use MsiGetProperty and MsiSetProperty methods to access properties from script. You can refer below link
https://helpnet.flexerasoftware.com/installshield23helplib/helplibrary/IHelpIScriptWIProperty.htm