nsis-0.3.3: DSL for producing Windows Installer using NSIS.

Development.NSIS.Plugins.EnvVarUpdate

Description

Module for updating environment variables. All functions take either HKLM to modify the variable for the machine, or HKCU to modify for the user.

Warning: If you are modifying PATH, make sure you use a special build of NSIS which can cope with longer strings, or you will corrupt your users path.

Synopsis

# Documentation

Read a variable from the registry. If you are not modifying the variable you should use envVar instead.

Set an environment variable by writing to the registry.

Delete the environment variable in the registry.