MSI Factory

Remove Environment Variable

Variable name:

The name of the environment variable to remove.

System wide

If checked, the environment variable will be removed for all users on the system. If unchecked, the environment variable will only be removed for the current user.

Remove only if value matches:

If checked, the environment variable will only be removed if it matches the value that you specify to the right of the field. If unchecked, the environment variable will be removed regardless of its value.

More Information

MSDN Online: Environment Table

WiX Help File: Environment Element