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
- :
- Setting of an Environment variable using IA Enterprise 2011
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
‎Nov 21, 2011
05:55 AM
Setting of an Environment variable using IA Enterprise 2011
hi,
I want to set the value of $USER_INSTALL_DIR$ as an Environment variable in window so later on i will access this variable as %USER_INSTALL_DIR% in our .bat script, Any idea
regard
Mahmood
I want to set the value of $USER_INSTALL_DIR$ as an Environment variable in window so later on i will access this variable as %USER_INSTALL_DIR% in our .bat script, Any idea
regard
Mahmood
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2011
08:29 AM
You can have it as such directly in the .bat script, and you should have IA automatically replace its variables before launching the script.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2011
12:25 PM
Do not forget to add action refresh Windows environment if you are executing the .bat file during installation.