BUG: PATH Completely Cleared! |
You are updating the PATH (or other path like environment variable), this works during install however the uninstall of your product clears the PATH completely (rather than simply remove your single directory).
This is a Windows Installer bug and occurs if during uninstall (maybe install as well) your value resolves to something like "[~];". It can do this if your value is "[~];[DIRPROPERTY]" where the property "DIRPROPERTY" is null or if you use something like "[~];[$ComponentName]" as the component path is unknown during uninstall.