Global Environment - Delete Path
This command deletes the specified path from the environment variable. For example, if you add the installation path to the variable PATH, during deinstallation you will need to delete the installation path. In this case, it is enough to add this command to the deinstallation script and specify variable name as PATH, and the path as #setuppath#.
Optionally, you may add comments here describing the purpose of this element.
The name of the variable, from which you want to delete your directory.
Enter the full name of the directory being deleted.
#setuppath# c:\myfolder #mypath#\myfolder
Global Environment - Delete Path command
There are two types of environment variables: system variables and user variables. System variables are common across all the computer’s users, while user variables apply only for the current user. Here, you can specify which type of variable you wish to assign.
Set System Variable - assign system variable.
Set User's Variable - assign user variable.
Set System & User's Variable - assign system and user variables.
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.