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 value not available
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
‎Mar 07, 2011
09:25 AM
INSTALLDIR value not available
In my Basic MSI installer, I set the install location before the UI sequence. However, I allow the user to change the destination location for the install in the UI sequence. Based on the location that the user has selected, I set a few environment variables.
However, I notice that my Environment variables point to the originally set install location. I tried displaying the value of the INSTALLDIR in the UI sequence but it shows a blank.
Can anyone provide a lead on it.
However, I notice that my Environment variables point to the originally set install location. I tried displaying the value of the INSTALLDIR in the UI sequence but it shows a blank.
Can anyone provide a lead on it.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 09, 2011
09:32 AM
did you see INSTALLDIR getting set in the msi log? search the log for INSTALLDIR to make sure the value isn't being cleared somewhere.
it doesn't sound like you're having any sequencing issues as you wouldn't even be able to set a directory if the file costing actions hadn't been run already.
also, if i get you correctly, you are probably setting some properties during the UI sequence. If these are PUBLIC properties, and they aren't listed in the [SecureCustomProperties] property, then their values will get cleared between the UI and Execute sequence. i think this is the most likely culprit.
it doesn't sound like you're having any sequencing issues as you wouldn't even be able to set a directory if the file costing actions hadn't been run already.
also, if i get you correctly, you are probably setting some properties during the UI sequence. If these are PUBLIC properties, and they aren't listed in the [SecureCustomProperties] property, then their values will get cleared between the UI and Execute sequence. i think this is the most likely culprit.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 22, 2011
07:10 AM
nice, friendly up !!