Environment variable is not removing during uninstall
Hey Guys,
The product Autosys has environment variables called SYBASE and PATH ,These environment variables will be set when you install the application but during uninstall these variables should be removed however it is not happening as it is an vendor msi we tried custom action for the same to remove.
Here are the Environment variable details,
Path=c:\autotree\UnicenterAutosysBundledSybase\Sybase\OCS-12_5\dll
SYBASE=c:\Autotree
Please let me know if anyone has faced the same issue and got the resolution.
I would really appreciate for your results.
Thanks!
Mst
The product Autosys has environment variables called SYBASE and PATH ,These environment variables will be set when you install the application but during uninstall these variables should be removed however it is not happening as it is an vendor msi we tried custom action for the same to remove.
Here are the Environment variable details,
Path=c:\autotree\UnicenterAutosysBundledSybase\Sybase\OCS-12_5\dll
SYBASE=c:\Autotree
Please let me know if anyone has faced the same issue and got the resolution.
I would really appreciate for your results.
Thanks!
Mst
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
navnathz
13 years ago
Posted by:
mstegginamani
13 years ago
Posted by:
anonymous_9363
13 years ago
You probably won't want to remove the PATH environment variable on ANY uninstall...
If the package isn't using the Environment table, it's probably executing a Custom Action. You need to choose how you want to handle that. Me, I'd disable the CA and use the proper table (and I'd use the 'User' environment rather than 'System, in order to avoid the requirement for a reboot. Caveat: of course, that means creating a new user-level feature so that self-healing is triggered)
If the package isn't using the Environment table, it's probably executing a Custom Action. You need to choose how you want to handle that. Me, I'd disable the CA and use the proper table (and I'd use the 'User' environment rather than 'System, in order to avoid the requirement for a reboot. Caveat: of course, that means creating a new user-level feature so that self-healing is triggered)
Posted by:
mstegginamani
13 years ago
Hey guys,
Thanks for your replies.
Finally, It was solved. Here is the solution for the same.
In installation expert, Environement table should be filled as below by adding environment variable
Name SYBASE
Value C:\Autotree\UnicenterAutosysBundledSybase\Sybase
Operation Set value on install and delete on uninstall
Replacement Append at the end of the current value
Windows NT based system environement variable should be checked .
Thanks !
Mst
Thanks for your replies.
Finally, It was solved. Here is the solution for the same.
In installation expert, Environement table should be filled as below by adding environment variable
Name SYBASE
Value C:\Autotree\UnicenterAutosysBundledSybase\Sybase
Operation Set value on install and delete on uninstall
Replacement Append at the end of the current value
Windows NT based system environement variable should be checked .
Thanks !
Mst
Posted by:
anonymous_9363
13 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.