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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- How to set Windows Path Variable in IA
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
‎Jan 26, 2009
04:57 PM
How to set Windows Path Variable in IA
I am new to IA and Have version 2009. I see the Set Evironment Variable action step, but I can not get the installation to add my value in the value line to the Windows Path (environment variable). I am obviously missing something very trivial.
Please tell me how to set say "C:\Program Files\One" appended to the Windows Path variable.
Thank you.
Please tell me how to set say "C:\Program Files\One" appended to the Windows Path variable.
Thank you.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 26, 2009
06:05 PM
What settings are you using? If you use "PATH" as the Variable Name, "C:\Test" as the Set Value To setting, and option "Append to existing value", does anything happen? Is the action attached to a feature or component that's being installed? How are you verifying whether the variable has been set?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
04:41 AM
🙂 Please add the "Set System Environmental Variable" action in the "Install Phase" Name the Variable Name as "MyVar" and set the value to anything user prefers to ex: "C:\Program Files\Neel"
Select any of the Variable setting actions
say for example i select the "Append to existing Value"
Now move to the "Post-Install" phase and add the "Refresh Windows Environment" Action which will refresh the Windows Environmental Variable.
Now Build and proceed with the installation.....Your Variable is Now being set successfully....:);)
Select any of the Variable setting actions
say for example i select the "Append to existing Value"
Now move to the "Post-Install" phase and add the "Refresh Windows Environment" Action which will refresh the Windows Environmental Variable.
Now Build and proceed with the installation.....Your Variable is Now being set successfully....:);)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 10, 2009
03:55 PM
Thanks for the assistance. It works
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2009
01:19 AM
ivenkata wrote:
🙂 Please add the "Set System Environmental Variable" action in the "Install Phase" Name the Variable Name as "MyVar" and set the value to anything user prefers to ex: "C:\Program Files\Neel"
Select any of the Variable setting actions
say for example i select the "Append to existing Value"
Now move to the "Post-Install" phase and add the "Refresh Windows Environment" Action which will refresh the Windows Environmental Variable.
Now Build and proceed with the installation.....Your Variable is Now being set successfully....:);)
I need to Refresh the Environment Variable during Install Task as I have to use Install Action which are not available in post install task.
Can you guide me how this can be done, please?
Thanks & Regards,
Nilesh Rathod.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)