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
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi,

When you are adding Environment variable in package or if it is already there in vendor MSI, check in Name column of Environment table for -sign between '=' sign and name.
Sign '-' indicates remove variable on uninstall of component.


Navnath
Answered 06/28/2011 by: navnathz
Senior Yellow Belt

Please log in to comment
0
Navnath ;

I had check with the environment table however that does not contain any entries in it.
Answered 06/28/2011 by: mstegginamani
Orange Belt

Please log in to comment
0
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)
Answered 06/28/2011 by: VBScab
Red Belt

Please log in to comment
0
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
Answered 06/30/2011 by: mstegginamani
Orange Belt

Please log in to comment
0
Windows NT based system environement variable should be checked .That means you'll need a reboot. Uncheck that check-box and you'll get a user-level variable and no reboot requirement.
Answered 07/01/2011 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity