Access system environment variables through your installer
search cancel

Access system environment variables through your installer

book

Article ID: 321500

calendar_today

Updated On:

Products

VMware InstallBuilder

Issue/Introduction

You would like to be able to access system environment variables through your installer.

Resolution

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)}