Skip to main content

Command Line Installation

You can install Smartcrypt from the Windows command-line prompt or a batch file. In the command line, you can set values for various properties to customize the installation.

The command line looks like this:

<name of smartcrypt installation file> /S /v"<properties>"

where:

  • /S is a switch that tells InstallShield┬« to run silently and not to display various initial screens (that say, for example,  Preparing to install).

  • /v is a switch that must be used to pass any specified Smartcrypt properties to the Windows installer.

  • <properties> is a list of property settings

You can also optionally pass in a switch to specify either the Basic UI, that displays a dialog containing only a Cancel button to allow canceling of the installation; or No UI, that displays no dialog. Both Basic UI and No UI can run unattended. The default is the full, graphical UI, which is interactive and so cannot run unattended.

SwitchSpecifies
/qbBasic UI
/qnNo UI

Any quotes (") in the parameters must be escaped with a backslash (\).

Examples:

<name of smartcrypt installation file> /S /v/qb

<name of smartcrypt installation file> /S /v"/qb PKPGPASSOC=0"

The properties you can set or change are described below.

Disable add to Path

By default, the Smartcrypt installer adds the command line program to the system's PATH. To disable the Smartcrypt command line interface from being added to the system PATH environment variable, type a command like this:

<name of smartcrypt installation file> /S /v"ADD_TO_PATH=0"

Disable CLI

By default, the command line interface is included in your Smartcrypt installation. If you prefer to only use the graphical interface, use this command:

<name of smartcrypt installation file> /S /v"CLI=0"

Do not install graphical (GUI) components

If you want to only run Smartcrypt through its command-line interface, you can disable all graphical elements by setting the GUI property to 0 using a command line like this:

<name of smartcrypt installation file> /S /v"GUI=0"

Caution: Disabling the graphical interface also turns off Smartcrypt Attachments, SaveSecure Office Integration and all file associations.

Associate file types with Smartcrypt

By default, the installation associates with Smartcrypt the types of files listed in the following table. These file associations enable you to open a file of any of these types in Smartcrypt by double-clicking it in Windows Explorer.

File TypeProperty
ZIPPKZIPASSOC
UUEncode/XXencodedPKUUEASSOC
GZIP and TARPKGZASSOC
BZIP2PKBZ2ASSOC
ARJPKARJASSOC
RARPKRARASSOC
LZHPKLZHASSOC
OpenPGPPKPGPASSOC
CABPKCABASSOC
Z (UNIX compress)PKZASSOC
7ZipPK7ZASSOC

If you do not want a particular file type associated with Smartcrypt, set its corresponding property to 0 in the command line. For example:

<name of smartcrypt installation file> /S /v"PKPGPASSOC=0"

Shortcuts

By default, the installation creates shortcuts to Smartcrypt. If you do not want a shortcut created in one of the places listed in the table below, set the corresponding property to 0.

LocationProperty
Program group on start menuPKSTARTMENU
DesktopPKDESKTOP

Do not install Smartcrypt Attachments

Smartcrypt Attachments, the extension module for zipping email messages and attachments, installs by default if Outlook is detected. To not install Smartcrypt Attachments, set the MAIL property to No using a command line like this:

<name of smartcrypt installation file> /S /v"MAIL=0"

Do not install SaveSecure® feature

The SaveSecure feature adds to Miscellaneous options an Office Integration page that contains options to automatically open an archived file in the file's associated application program, and to enable Office Integration.

The SaveSecure Office Integration option adds menu commands and toolbar buttons to some Microsoft Office applications to make it possible to open documents of appropriate types in the application directly from ZIP files. Documents can also be saved directly to ZIP files using these commands.

To not install the SaveSecure functionality, set the SAVESECURE property to 0:

<name of smartcrypt installation file> /S /v"SAVESECURE=0"

Disable self-extracting archive support

Though less common a situation than it once was, occasionally you'll send a ZIP archive to someone whose computer cannot open the file. When that happens, you can send a self-extracting PKSFX archive instead: it has a .exe file name extension (instead of .zip, for instance), and it can be extracted just by executing it, even by someone who does not have Smartcrypt or another ZIP utility. (PKSFX archives are also called SFX files, for short.)

If you prefer to disable PKSFX support, set the SFX option to 0.

<name of smartcrypt installation file> /S /v"SFX=0"

Exclude Data Discovery

To exclude the (Enterprise-only) Data Discovery component:

<name of smartcrypt installation file> /S /v"/qb DISCOVERY=0"

For information on installing earlier versions of Smartcrypt and SecureZIP from the command line, contact PKWARE Support.

    

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.