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
- :
- MsiSetProperty fails in Installscript Project.
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 20, 2007
05:11 AM
MsiSetProperty fails in Installscript Project.
Hi,
I have been using Installshield 2008 in that i used "Installscript MSI" project so far, now i m trying to migrate to "Installscript" project in which 'MsiSetProperty' is failing. What is the alternative to set a Destination path for a component.
code that is failing is:
MsiSetProperty( ISMSI_HANDLE , "WORKINGDIR" , g_szWorkingDir);
WORKINGDIR - specified in component's destination
Thanks in advance.
I have been using Installshield 2008 in that i used "Installscript MSI" project so far, now i m trying to migrate to "Installscript" project in which 'MsiSetProperty' is failing. What is the alternative to set a Destination path for a component.
code that is failing is:
MsiSetProperty( ISMSI_HANDLE , "WORKINGDIR" , g_szWorkingDir);
WORKINGDIR - specified in component's destination
Thanks in advance.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 20, 2007
08:44 AM
Right, pure InstallScript doesn't use MSI properties; perhaps see if FeatureSetTarget will do what you want (associate a destination expression with an actual path at run time)...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 24, 2007
12:59 AM
Hi,
It's working fine Thank u so much for the help u've offered..
It's working fine Thank u so much for the help u've offered..