OS Environment Variables - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jjones
Posts: 68
Joined: Wed Jun 29, 2011 3:30 pm

OS Environment Variables

Because I allow the user to select whether they want to install SQL Express 2008 R2 or use an existing database, I use a radio button and a .vbs file to determine whether the feature is installed. Our application supports both x86 and x64 so I have included the setup .exe's for both versions of SQL Express 2008 R2. In the Organization area where it shows all the features that can be installed, what are the valid values for the OS environment variable? I would like to use an "Install based on condition" condition to determine which version is installed.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: OS Environment Variables

Hi,
I use a radio button and a .vbs file to determine whether the feature is installed.
Here's a related article you can read:
http://www.advancedinstaller.com/user-g ... ialog.html

Code: Select all

&Feature=INSTALLSTATE_LOCAL
This condition will be true only if the feature "Feature" will be installed locally. If the feature is not selected for installation the condition is false.
what are the valid values for the OS environment variable?
Maybe this article can help you with this.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”