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
- :
- MsiGetProperty returns an empty string
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
‎Sep 23, 2009
05:49 AM
MsiGetProperty returns an empty string
I am busy upgrading from IS8 to IS2009. My scripts are not working correcly anymore. I discover that the MsiGetProperty doesnt return a value/string.
nvSize=255;
MsiGetProperty(hMSI , "DB_ORACLE_CREATIONFILES", szReturnValue, nvSize);
MessageBox (szReturnValue, INFORMATION);
Who knows the answer?
Chris
nvSize=255;
MsiGetProperty(hMSI , "DB_ORACLE_CREATIONFILES", szReturnValue, nvSize);
MessageBox (szReturnValue, INFORMATION);
Who knows the answer?
Chris
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2009
09:42 AM
Where in your sequences or events are you calling MsiGetProperty? If it's an action or event scheduled for "deferred execution", you'll need to go through the "CustomActionData" property, about which see these forums and the online help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 24, 2009
09:24 AM
Please see, for example, the help topic "Upgrading InstallShield 11.5 or Earlier Basic MSI Projects that Have InstallScript Custom Actions"; it explains how/why CustomActionData is used in this case...