cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sarabjeetd
Level 2

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
Labels (1)
0 Kudos
(1) Reply
sarabjeetd
Level 2

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.
0 Kudos