Articles

learn more about encryption

Deploying Kryptel and Silver Key

This article describes special installation methods, useful mainly in multi-user environment.

Silent Installation

Kryptel and Silver Key distribution files accept command-line parameters, which can be used for a batch/remote setup. The most useful ones are

/SILENT, /VERYSILENT

Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed.

If a restart is necessary and the '/NORESTART' command isn't used (see below) and Setup is silent, it will display a 'Reboot now?' message box. If it's very silent it will reboot without asking.

/NOCANCEL

Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with '/SILENT' or '/VERYSILENT'.

/NORESTART

Prevents Setup from restarting the system following a successful installation, or after a Preparing to Install failure that requests a restart. Typically used along with '/SILENT' or '/VERYSILENT'.

/DIR="x:\dirname"

Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.

/HELP, /?

Shows a summary of setup switches. You can find the complete list of command-line switches in Inno Setup Help.

/CustomerID=<customer_id_string>

Creates customer.id file in the program directory for silent activation (see below). The <customer_id_string> argument is your Customer ID, which looks like 123-4567-890.

Silent Activation

In order to activate the software silently on the first run create a file customer.id in the program directory. The file must contain your Customer ID string (which looks like 123-4567-890). Whenever Kryptel or Silver Key needs to be activated (or re-activated after upgrade), it checks whether this file is present. If customer.id is found, the product uses the contained Customer ID for silent activation.

File customer.id may also be created by specifying '/CustomerID' command-line switch (see above).

Note that actual activation will be performed on the first program use, when user double-clicks the program's desktop icon, or runs any program's component.

Uninstalling Manually

In order to remove all program's registry records and shortcuts run CompleteInstallation.exe (Kryptel) or CompleteSkInstallation.exe (Silver Key) with /unregister switch.

  1. Press Start / All Programs / Windows System (or Accessories),
  2. Right-click Command Prompt and select Run as Administrator,
  3. Type "C:\Program Files\Kryptel\CompleteInstallation" /unregister (Kryptel) or "C:\Program Files\Silver Key\CompleteSkInstallation" /unregister (Silver Key),
  4. Delete program's folder. If the system can't remove any DLL file, restart the system and try again.

You can also use a maintenance tool Cleaner.exe, which completely removes everything Kryptel and Silver Key (user data, of course, remain intact).

Installing for This User Only

By default the software gets installed system-wide, i.e. for all users. It is possible to convert an existing installation to be available for a specific user(s) only.

  1. Press Start / All Programs / Windows System (or Accessories),
  2. Right-click Command Prompt and select Run as Administrator,
  3. Type "C:\Program Files\Kryptel\CompleteInstallation" /unregister (Kryptel) or "C:\Program Files\Silver Key\CompleteSkInstallation" /unregister (Silver Key).
    This steps removes program's system-wide registry records and shortcuts.
  4. Now log on as the user to which you want to allow access to the software. Open program's folder and double-click CompleteInstallation.exe (Kryptel) or CompleteSkInstallation.exe (Silver Key). Running this program in the non-administrative mode creates registry records and shortcuts for the current user only.

Installing by Copying

Neither Kryptel nor Silver Key require their original distribution files for installation. They can be installed by simple copying of their program directories (by default they are "C:\Program Files\Kryptel" and "C:\Program Files\Silver Key" respectively).

After copying run CompleteInstallation.exe (Kryptel) or CompleteSkInstallation.exe (Silver Key). Double-clicking it will install the software for current user only. If you wish to install the software for all users, right-click CompleteInstallation.exe (CompleteSkInstallation.exe) and select Run as Administrator.