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

## <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.
Labels (1)
• ### InstallShield 2009

2 Replies
Level 12 Flexeran
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.
Level 7
Thank you very much! [INSTALLDIR]DirName worked perfectly.