How do I perform silent (unattended) installation/uninstallation?

Silent Installation

  1. Creating a response file
    Install Xmanager (or other NetSarang software) using the following (using Xmanager 7 Build 0087):

    C:\TEMP> Xmanager-7.0.0087r.exe -r -f1c:\temp\xinstall.iss

    After a successful installation, a response file, xinstall.iss, will be created in the temp directory.


  2. Silent installation
    Using the response file created above, you can install Xmanager silently on another PC using the following:

    C:\TEMP> Xmanager-7.0.0087r.exe -s -f1c:\temp\xinstall.iss -f2c:\temp\result.log

    *A silent installation will create a log file.

    To automatically enter a product key (using Product Key: 123456-123456-123456):
    For Xmanager, Xshell, and Xftp:

    C:\TEMP> Xmanager-7.0.0087r.exe -s -f1c:\temp\xinstall.iss -f2c:\temp\result.log -v"PRE_PRODUCT_KEY=123456-123456-123456"


    For Xmanager Power Suite and Xshell Plus:

    C:\TEMP> XmanagerPowerSuite-7.0.0019r.exe -s -f1c:\temp\xinstall.iss -f2c:\temp\result.log /Z"/V\"PRE_PRODUCT_KEY=123456-123456-123456\""


    To automatically enter a product key AND automatically initiate activation upon installation (using Product Key: 123456-123456-123456):
    For Xmanager, Xshell, and Xftp:

    C:\TEMP> Xmanager-7.0.0087r.exe -s -f1c:\temp\xinstall.iss -f2c:\temp\result.log -v"PRE_PRODUCT_KEY=123456-123456-123456" -v"PRE_ACTIVATE=1"


    For Xmanager Power Suite and Xshell Plus:

    C:\TEMP> XmanagerPowerSuite-7.0.0019r.exe -s -f1c:\temp\xinstall.iss -f2c:\temp\result.log /Z"/V\"PRE_PRODUCT_KEY=123456-123456-123456\" /V\"PRE_ACTIVATE=1\""

Silent Uninstallation

You can utilize the same steps for uninstallation. First, create an "xuninstall.iss" response file by following Step 1 in the Silent Install instructions and uninstall the NetSarang software on another PC using the response file.

To silently uninstall with a package program from the command line, the build of the package needs to be identical to that of the program to be uninstalled.

You can acquire the build's program from your PC. Try the following for the silent uninstallation.

  1. Make an uninstallation script. The GUID is unique for each Netsarang program. You can see all GUIDs of Netsarang software here.

    "c:\Program Files (x86)\InstallShield Installation Information\{GUID}\setup.exe" -r -f1c:\users\user_name\desktop\uninstall.txt
  2. Execute the following on the PC where the program needs to be uninstalled.

    "c:\Program Files (x86)\InstallShield Installation Information\{GUID}\setup.exe" -s -f1c:\users\this_user\desktop\uninstall.txt