This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- PATH environment variable gets removed on uninstallation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Aug 12, 2010
02:19 PM
PATH environment variable gets removed on uninstallation
Hi there,
I have created an installer for our product (product.exe) and I have an issue that the PATH variable gets removed from registry after uninstalling the product.
here's few things I have done to the PATH variable in the installer:
1. retrieve the value from existing PATH in registry by calling 'RegDBGetValueEx'
2. append more paths to the PATH variable
3. set the new PATH variable by calling 'RegDBSetValueEx'
I am not sure why the installer would remove the PATH variable from registry on uninstallation. Anyone has any idea? Please help!
Thank you very much,
K
I have created an installer for our product (product.exe) and I have an issue that the PATH variable gets removed from registry after uninstalling the product.
here's few things I have done to the PATH variable in the installer:
1. retrieve the value from existing PATH in registry by calling 'RegDBGetValueEx'
2. append more paths to the PATH variable
3. set the new PATH variable by calling 'RegDBSetValueEx'
I am not sure why the installer would remove the PATH variable from registry on uninstallation. Anyone has any idea? Please help!
Thank you very much,
K
(1) Reply