I would like to be able to access system environment variables through my installer.

asked 06 Sep '11, 04:50

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


You can access any system environment variable using the ${env(varname)} construct, where varname is the name of a system environment variable. For example, on Windows you can refer to the system drive with ${env(SYSTEMDRIVE)} and in Unix to the user home directory with ${env(HOME)}

link

answered 06 Sep '11, 05:02

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×41
×14
×12

Asked: 06 Sep '11, 04:50

Seen: 2,527 times

Last updated: 06 Sep '11, 05:02