How to perform a silent uninstall for Release Automation components.
search cancel

How to perform a silent uninstall for Release Automation components.

book

Article ID: 13959

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/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. 



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

Environment

Linux, AIX, HP-UX, Solaris, Windows

Resolution

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


Later versions of Nolio RA agents on Windows only have an uninstall.exe. If you run uninstall.exe -h then it will show usage information. To run a silent uninstall run: uninstall.exe -q

However, it will not delete every file/folder in the ReleaseAutomationAgent directory. If you want to make sure that the entire folder and sub-file/folders have been deleted then you will need to run an rmdir /s x:\Path\to\ReleaseAutomationAgent folder after the agent has been silently uninstalled. 



  

Additional Information

None