Hi all. what is environmental variables in packaging?

0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


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:


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

Please log in to comment



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)

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