Hi all. what is environmental variables in packaging?

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

3

Environment variables are usable anytime... not just during packaging.
Can you be more specific?  Is there something you need to do with them?

Here's a good Microsoft article about environment variables:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms682653%28v=vs.85%29.aspx

Answered 12/17/2012 by: awingren
Eighth Degree Black Belt

Please log in to comment

Answers

2

start cmd and enter "set"  there are your env. variables.
you can use them within an MSI by [%ENV.VARIABLE]  Note the missing % at the end.

 

for Packaging it is also practical to use "Windows installer Properties" (variables)
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370905%28v=vs.85%29.aspx 

use it for conditions or replacements in foldernames, textfiles, inifiles, xml files, registry etc..

if replacement during installation then use []

Anyway.. the use of Windows Installer Properties are mandatory knowledge for every self-respecting repackager...

take a course?

 

Answered 12/18/2012 by: jaybee96
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity