Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library

Technical Notes

F-Secure SSH Silent Install/Uninstall
Technical Note 1920
Last Reviewed 09-May-2005
Applies To
F-Secure SSH Client for Windows version 5.4
F-Secure SSH Client for Windows version 5.4 Japanese
F-Secure SSH Server for Windows version 5.3
Summary

This technical note describes how to silently install the F-Secure SSH Client and Server for Windows. Command line parameters and steps to perform a silent uninstall are included.

Performing a Silent Install from the Command Line

Follow these steps to launch a silent install from the command line.

  1. Locate a file named prodsett.ini, which can be found in the same location as the setup.exe file for each product.

For extracted packages, the location of the prodsett.ini file varies by product:

    • F-Secure SSH Server for Windows: in the Setup folder.
    • F-Secure SSH Client for Windows (English): in the folder in which the package was extracted.
    • F-Secure SSH Client for Windows (Japanese): in the Disk1 folder.
  1. Edit the file's second line to refer to the product key code, for example:
cd-key=<Product Key Code>

Note: Use the product key code that is specific to the version. Be sure to include the hyphen "-" symbol when entering the key code.

Here is an example of what the edited prodsett.ini file looks like:

For SSH Client for Windows (English or Japanese):

[F-Secure common]
cd-key=<product Key Code>

For SSH Server for Windows:

[F-Secure common]
cd-key=<Product Key Code>
SetupMode=1
RequiresAdministrationMethod=0
UserMode=1
  1. Save the file. For testing purposes, launch the installation from Setup.exe to verify that the key code field is populated with the cd-key value.
  2. To install the product silently, launch the installation using <path to Setup.exe> -s. Follow the steps below for an easy way to determine the path to Setup.exe:
    1. Click Start > Run. Clear the Open text box.
    2. Drag Setup.exe to the Open text box from the CD or CD image on the network server or from the extracted package location on the network server.
    3. Add the –s switch to the end of the command:
"<Drive Letter>:\<path to setup>\setup.exe" –s

Uninstalling the Product

To silently uninstall the product, use the command line syntax appropriate for the product you are removing.

F-Secure SSH Client for Windows

The silent mode parameter for Isuninst.exe is -a. The complete uninstallation command for the Windows client is

C:\WINDOWS\Isuninst.exe -a -f"C:\Program Files\F-Secure\Ssh\Uninst.isu"

Uninst.exe Command Line Parameters

The Windows client uses InstallShield's uninst command. The command line parameters for uninst are listed below:

Parameter
Result
-y
Suppresses the message box that asks the user to confirm that uninstallation should proceed. The feedback dialog box is still displayed, as is the shared file dialog box (which is displayed when the reference count of a shared DLL is decremented to zero).
-x
Deletes all files, including those core components that normally do not get removed. (All user interface elements are displayed.)
-f<log file name>
Specifies the location and name of the uninstallation log file. For example:
-f"C:\Program Files\Company Name\Uninst.isu"
-c<DLL filename>
Specifies the location and name of the external DLL that is to be used at the time of uninstallation. For example:
-c"C:\Program Files\Company Name\Custom.dll"
-a
Runs the uninstaller in silent mode. In this mode unInstallShield will not display any messages to the end user indicating that the uninstallation has taken place. When running in silent mode, if unInstallShield encounters a shared file for which it would normally display the dialog box asking the user whether to remove the shared file, it will automatically reduce the reference count to zero and not remove the file. Therefore, running unInstallShield in silent mode is functionally equivalent to an uninstallation in which the user selects the "No to all" option when this dialog box first appears.
-d
Identifies a single file that is to be deleted. The display of user interface elements is the same as when the -a switch is used. For example: -dC:\Temp\Filename.ext
-m
Creates an uninstallation .mif file. If you do not specify a filename, the default (Uninst.mif) is used. You cannot specify a path—the file must be placed in the Windows System folder.

F-Secure SSH Server for Windows

The silent mode flag for the SSH Windows server is -a. The complete uninstallation command is

"C:\Program Files\F-Secure\fsuninst.exe" -a /UninstRegKey:"F-Secure SSH Server"

The SSH Windows server uses F-Secure's own uninst command called fsuninst.exe, which supports only -a for silent mode. For full syntax and information about how to use fsuninst.exe, run the fsuninst /? command.

Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.