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
- :
- Re: <TARGETDIR> written to registy
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
‎Apr 21, 2009
10:33 AM
<TARGETDIR> written to registy
I have an InstallScript MSI project. In the Registry View I have several entries where I want to write the TARGETDIR to the registry. In the Registry View I have: \DirName (where DirName is some folder name - user will specify TARGETDIR when selecting location for installation).
What gets written to the registry when the installation is run is:
DirName
How do I get the actual value of written instead of ""?
Thanks.
What gets written to the registry when the installation is run is:
How do I get the actual value of
Thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2009
10:39 AM
For MSI-based projects, including Basic MSI and InstallScript MSI, you should use the MSI property notation. In this case, that should be [TARGETDIR]DirName or perhaps [INSTALLDIR]DirName.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2009
12:32 PM
Thank you very much! [INSTALLDIR]DirName worked perfectly.