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
- :
- INSTALLDIR is set to C:\\
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
Nov 03, 2011
01:29 PM
CustomAction - InstallDir is not accessible
I have a Custom Action(InstallShield script) which is set for Immediate Execution. I have tried to change the Install Exec Sequence but I cannot access the InstallDir in the script. Any advise on what sequence to use would be much appreciated.
MsiGetProperty(hMSI,"InstallLocation",installLocationStr,nvSize);
-Sarab
MsiGetProperty(hMSI,"InstallLocation",installLocationStr,nvSize);
-Sarab
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 03, 2011
04:20 PM
If I try to access INSTALLDIR directly in my script, it is set to C:\\ instead of the user selected value: C:\\Program Files\\\\
Also, my project is a Basic MSI project.
Also, my project is a Basic MSI project.
![](/skins/images/C4A29A98453672A2922990F5A8DFC22D/responsive_peak/images/icon_anonymous_message.png)