The silent uninstallation procedure of Storage Cruiser's agent (for Windows) is as follows:
Log on to the target server as a user with administrator privileges.
Start the command prompt with the "Run as administrator" box.
Copy the following uninstall information directory to any directory other than the directory in which Storage Cruiser was installed.
programDirAtInstallation\ESC\AgentUninst
Execute the command copied at step 3 to uninstall.
For uninstallLogFile, specify the file in which to output uninstallation log with an absolute path. It is optional to specify uninstallLogFile.
copyDestinationDir\scagtsilentuninstall.bat [-l uninstallLogFile]
Point
If nothing is specified for uninstallLogFile, an uninstall log file named "scagtsilentuninstall.log" is created in the working directory specified for the environment variable TEMP.
If there is any file of the same name as the specified uninstall log file exists, it is overwritten.
It is required to specify an existing directory with write permission for the directory in which to store the uninstall log file. If it has no write permission, no error message is output in the command prompt or screen, and the process terminates with error.
If the path to the uninstall log file contains any spaces, it should be surrounded by double quote characters.
The characters " | : * ? / . < > % & ^ ; ! are not supported for path name for uninstall log file.
Note
If an invalid option is specified, its corresponding error message is output in the uninstall log file and the process exits. No error message is output in the command prompt or screen.
Do not execute multiple silent uninstall commands at the same time. If a silent uninstall starts while a silent uninstall is executing, the silent uninstall terminates abnormally without creating an uninstall log file.
On completion of uninstallation, a command prompt is displayed.
Delete the directory copied at step 3.
Check the return value from the silent uninstallation command. If necessary, check the uninstall log file. However, if the return value from the silent uninstallation command is 3 or 9, no uninstall log file is created. For details, refer to "E.5 Return Values for Silent Uninstallation (for Storage Cruiser's Agent)".
The uninstallation result can be viewed in the uninstall log file, too.
Open the uninstall log file to see "ResultCode" in the ResponseResult section. In "ResultCode" is written the return value from the silent uninstallation command.