Update Path Variable Option

Command Syntax

/UpdatePathVariable -name <path_variable_name>
                 -value <path_variable_value>
                 -valuetype <Folder|RegistryValue|EnvironmentVariable>
                 -global

Modifies a previously defined path variable by overwriting its value.

Parameters:

  • -name <path_variable_name>
  • The path variable's identifier name.
  • -value <path_variable_value>
  • The value associated with the path variable.
  • -valuetype <Folder|RegistryValue|EnvironmentVariable>
  • The path variable's type which can point to: a folder, a registry value or an environment variable.
  • -global
  • The path variable to be updated is global.

example:

AdvancedInstaller.com /edit MyProject.aip
/UpdatePathVariable -name EX -value C:\Test
-valuetype Folder