How to perform a silent uninstall for Release Automation components.

Document ID : KB000013959
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

We may find ourselves in a situation from time to time where we need to perform an unattended/silent uninstall for a large number of agents, or other components. 

Question:

So, how do we go about performing a silent uninstall on a linux agent for example?

Environment:
Linux, AIX, HP-UX, Solaris, Windows
Answer:

The easiest way is going to be simply executing "echo 'y'", and then piping this to the uninstall script, for example:

 

[root@agent ReleaseAutomationAgent]# echo "y" | ./uninstall
Are you sure you want to completely remove Release Automation Agent and all of its components?
Yes [y, Enter], No [n]



Delete files that were generated during the agent work life
Uninstalling Release Automation Agent 6.3.0.b9713 ...
Finishing uninstallation ...

This same principle applies to windows, the only difference being the uninstall script would have an extension of .cmd or .bat depending on the version, eg;

 

echo "y" | .\uninstall.cmd

 

 

Additional Information:

None