Technical Notes |
|
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.
Follow these steps to launch a silent install from the command line.
For extracted packages, the location of the prodsett.ini file varies by product:
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=1RequiresAdministrationMethod=0UserMode=1"<Drive Letter>:\<path to setup>\setup.exe" sTo silently uninstall the product, use the command line syntax appropriate for the product you are removing.
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"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 paththe file must be placed in the Windows System folder. |
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.