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
- :
- Re: Build Time Variables don't work via Environment on Windows Server 2012 R2
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
Jun 01, 2017
04:42 PM
Build Time Variables don't work via Environment on Windows Server 2012 R2
We have an InstallAnywhere 2015 project configured with several Build Time Variables. These build time variables are set in the environment using IA_BTV_VARIABLE_NAME. The project runs just fine on Windows 7, but the same project pulled directly from the source repository does not work on Windows Server 2012 R2.
When running on Windows Server 2012 R2, this statement is printed:
[buildinstaller] Could not read environmental variables from the system for build time variables.
This is very odd since an administrator account is being used. Also, the variables are visible via the Command Prompt, PowerShell, and even Ant. So it is a mystery why InstallAnywhere 2015 is unable to read them.
When running on Windows Server 2012 R2, this statement is printed:
[buildinstaller] Could not read environmental variables from the system for build time variables.
This is very odd since an administrator account is being used. Also, the variables are visible via the Command Prompt, PowerShell, and even Ant. So it is a mystery why InstallAnywhere 2015 is unable to read them.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 09, 2017
07:59 PM
There happens to be a work around for this problem. Tell Windows to run the InstallAnywhere 2015 JRE in Windows 7 Compatibility mode. In a default install, the JRE is here: C:\Program Files (x86)\InstallAnywhere 2015\jre\bin\java.exe. This allows InstallAnywhere to use the environment for build time variables on Windows 8/Server 2012 and higher.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 02, 2018
10:19 AM
Yea was doing the same with the Amazon server of win R2, and yea working pretty fine except few lags.
With Regards,
Xexukulu https://8ballpool.onl/
https://googlehangouts.ooo/
https://omegle.onl/
With Regards,
Xexukulu https://8ballpool.onl/
https://googlehangouts.ooo/
https://omegle.onl/
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 19, 2018
12:23 PM
If it is a local Server 2012 environment variable you seek, you can use PowerShell to create a new system or user environment variable make sure you run PowerShell as Administrator.
Machine variable:
[Environment]::SetEnvironmentVariable('Name','Value','Machine')
User variable:
[Environment]::SetEnvironmentVariable('Name','Value','User') movie streaming app
To check the current environment variables, use the following PowerShell command
Get-Childitem ENV:
Note: you will need to close PowerShell and open a new instance to see the newly created environment variable.
Machine variable:
[Environment]::SetEnvironmentVariable('Name','Value','Machine')
User variable:
[Environment]::SetEnvironmentVariable('Name','Value','User') movie streaming app
To check the current environment variables, use the following PowerShell command
Get-Childitem ENV:
Note: you will need to close PowerShell and open a new instance to see the newly created environment variable.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 09, 2020
06:59 AM
You can simply try Windows to run the InstallAnywhere 2015 JRE in Windows 7 Compatibility mode. Hope this clears the issue.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 12, 2020
11:54 PM
Click on “System and Security” Click on “System” Click on “Advanced System Settings” on the left pane. System Properties will be opened as below. PrepaidCardStatus Login Click the Environment Variables and add your PATH. It works the same way as that of the earlier versions. But only the location is changed. Happy Coding,