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: Setting environment variables in Merge Module project
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
Dec 23, 2010
03:08 AM
Setting environment variables in Merge Module project
Hi all,
Although I am not new to creating installers with Installshiled, I am attempting to create a merge module for my application.
I want to append the installation path of my application to the "Path" system environment variable.
I am pretty confused as to how the set the "Value" field. I have done the following settings:
1. I have selected the feature which is the exe for my application.
2. The "OnInstall" is "Set".
3. The placement is "Append".
4. "OnUninstall" is "Remove"
5. Type of variable is "System"
My question here is how will InstallShield know that it has to append the installation location in the "Path" system variable?
Thanks in advance,
rumdedee
Although I am not new to creating installers with Installshiled, I am attempting to create a merge module for my application.
I want to append the installation path of my application to the "Path" system environment variable.
I am pretty confused as to how the set the "Value" field. I have done the following settings:
1. I have selected the feature which is the exe for my application.
2. The "OnInstall" is "Set".
3. The placement is "Append".
4. "OnUninstall" is "Remove"
5. Type of variable is "System"
My question here is how will InstallShield know that it has to append the installation location in the "Path" system variable?
Thanks in advance,
rumdedee
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 31, 2011
01:04 PM
Whatever you called the Environment Variable.
In your environment Variables view, when you add a new variable the name defaults to something like "NewEnvironment1" - change this to "PATH" or whatever.
Regards,
Tom
In your environment Variables view, when you add a new variable the name defaults to something like "NewEnvironment1" - change this to "PATH" or whatever.
Regards,
Tom