Uninstalling doesn't remove Environment variable
Hi,
when I Install an application, it sets environment variable and after installation when I try to run it from shortcut, it reads the value from environment variable.
When I uninstall the application, every thing is working fine but when I goto Control panel--> System--> Advaced--> Environment variable
I could not see the environment variable. Till here is is good.
When I goto command prompt--> type Set
there the environment variable is not getting deleted and If I reboot the system it is getting deleted.
Is theer any thing I can do to delete the environment variable without rebooting the system.
Any suggestions will be appreciated.
Thanks
WEk
when I Install an application, it sets environment variable and after installation when I try to run it from shortcut, it reads the value from environment variable.
When I uninstall the application, every thing is working fine but when I goto Control panel--> System--> Advaced--> Environment variable
I could not see the environment variable. Till here is is good.
When I goto command prompt--> type Set
there the environment variable is not getting deleted and If I reboot the system it is getting deleted.
Is theer any thing I can do to delete the environment variable without rebooting the system.
Any suggestions will be appreciated.
Thanks
WEk
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
bheers
16 years ago
Posted by:
dbareis
16 years ago
Environment variables are per process items. The defaults are what you are setting. User environment variables should only need the user to logoff then back on, System ones may or may not require a reboot.
If indeed you restarted the command prompt then the parent of this process (CMD.EXE) needs restarting.
"Process Explorer" will give you parent details as well as allow you to see their environment.
It is possible to "refresh" some programs and there is at least one utility (whose name I can't remember) available to do this...
If indeed you restarted the command prompt then the parent of this process (CMD.EXE) needs restarting.
"Process Explorer" will give you parent details as well as allow you to see their environment.
It is possible to "refresh" some programs and there is at least one utility (whose name I can't remember) available to do this...
Posted by:
dbareis
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.