Newbie questions
Posted: Tue May 23, 2006 2:53 pm
Apologies if these questions appear trivial to experienced IA users.
I am writing an installation for a Win32 application. It installs the main program in TARGETDIR – no problem so far.
However, our product also includes an optional Feature to enhance another publisher’s software (if that software is present). This Feature has to be installed in the other program’s folder (not TARGETDIR). To do this, in the Files pane I have simply called the secondary target folder $NBOS$. I am then attempting to set the value of $NBOS$ within script by using Read Registry to get the name of Nbos's installation folder.
The process is failing somewhere, so:
1. Have I used the correct syntax to name the $NBOS$ target folder? Does the variable need to be declared anywhere else?
2. My line of code to set the NBOS variable from the registry is:
Read Registry Key HKCU\\Software\\NBOS Software\\The Fractal Mapper\\CurrentVersion\\\\InstallDir into NBOS
What have I done wrong?
If the other product is not present I would like to disable, and preferably hide, the optional Feature in the component view. How can I do this?
I am writing an installation for a Win32 application. It installs the main program in TARGETDIR – no problem so far.
However, our product also includes an optional Feature to enhance another publisher’s software (if that software is present). This Feature has to be installed in the other program’s folder (not TARGETDIR). To do this, in the Files pane I have simply called the secondary target folder $NBOS$. I am then attempting to set the value of $NBOS$ within script by using Read Registry to get the name of Nbos's installation folder.
The process is failing somewhere, so:
1. Have I used the correct syntax to name the $NBOS$ target folder? Does the variable need to be declared anywhere else?
2. My line of code to set the NBOS variable from the registry is:
Read Registry Key HKCU\\Software\\NBOS Software\\The Fractal Mapper\\CurrentVersion\\\\InstallDir into NBOS
What have I done wrong?
If the other product is not present I would like to disable, and preferably hide, the optional Feature in the component view. How can I do this?