PDA

View Full Version : Environment Variable not being removed during uninstall



Jennifer
07-26-2002, 11:49 AM
I have an environment variable whose value was the value of a directory property. I recently changed it so that the value is based on a property I set via a custom action.
But since I've made that change the environment variable does not get deleted when I uninstall my product.
Am I not allowed to set an evironment variable via a property?

Jennifer

Joshua
07-26-2002, 12:26 PM
Jennifer,

What value is the property "On Uninstall' set to for this environment variable? This could cause this behavior.

Jennifer
07-26-2002, 12:36 PM
All my environment variables are set to Remove on uninstall.
I have other environment variables that are based on a directory property and they get removed fine.