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
- :
- Initializing the installation folder
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 26, 2009
08:28 AM
Initializing the installation folder
Using Basic MSI i want to install a product in a specified directory.
The diroctory is already set in an environment variable (lets say:
MYOLDDIR_VAR) on the target machine.
MYOLDDIR_VAR=C:\myproduct2005
How to determine the value of this variable and how to initialize the destination folder (INSTALLDIR/TARGETDIR) with it?
Thanks in Advance
The diroctory is already set in an environment variable (lets say:
MYOLDDIR_VAR) on the target machine.
MYOLDDIR_VAR=C:\myproduct2005
How to determine the value of this variable and how to initialize the destination folder (INSTALLDIR/TARGETDIR) with it?
Thanks in Advance
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 26, 2009
10:28 AM
You might look at set-directory custom actions (to set INSTALLDIR), and at the Formatted data type, which supports the syntax [%VAR_NAME] to expand the value of an environment variable...