Child pages
  • Command Line Installation Options
Skip to end of metadata
Go to start of metadata

 

You can install SecureZIP 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 pkzip 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 SecureZIP 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 pkzip installation file> /S /v/qb <name of pkzip installation file> /S /v"/qb PKCABASSOC=0" <name of pkzip installation file> /S /v"PKCABASSOC=0 LICENSE_KEY=<Your license key>" <name of pkzip installation file> /S /v"INSTALLDIR=\"\My Programs\PKWARE\""

 

The properties you can set or change are described below.

  • Associate file types with SecureZIP…

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

    File TypeProperty
    ZIPPKZIPASSOC
    UUEncode/XXencodedPKUUEASSOC
    GZIP and TARPKGZASSOC
    BZIP2PKBZ2ASSOC
    ARJPKARJASSOC
    RARPKRARASSOC
    LZHPKLZHASSOC
    JARPKJARASSOC
    CABPKCABASSOC
    Z (UNIX compress)PKZASSOC
    7ZipPK7ZASSOC
    Disk Images (ISO, IMG, CDR)PKISOASSOC

     

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

    <name of pkzip installation file> /S /v"PKCABASSOC=0"

  • Shortcuts…

    By default, the installation creates shortcuts to SecureZIP. 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 SecureZIP Attachments...

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

    <name of pkzip installation file> /S /v"PK_PKZIP_ATT=\"No\""

      

  • SecureZIP Attachments status...

    The SecureZIP Attachments tool tray icon runs in the system tray. If you want it to run each time you start your computer, set the START_PKTRAY property to 1. Otherwise set it to 0. (You can also control display of the tooltray icon from the Start menu command SecureZIP Attachments Status.)

  • Set installation directory...

    If you want SecureZIP to install somewhere other than the system's Program Files directory, use the INSTALLDIR property and set it to the new location. For example:

    <name of pkzip installation file> /S /v"INSTALLDIR=\"\My Programs\PKWARE\""
  • 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 pkzip installation file> /S /v"SAVESECURE=0"

     

 

Command Line Installation

You can install SecureZIP 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 pkzip 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 SecureZIP 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 pkzip installation file> /S /v/qb

 

<name of pkzip installation file> /S /v"/qb PKCABASSOC=0"

 

<name of pkzip installation file> /S /v"PKCABASSOC=0 LICENSE_KEY=<Your license key>"

 

<name of pkzip installation file> /S /v"INSTALLDIR=\"\My Programs\PKWARE\""

 

The properties you can set or change are described below.

  • Associate file types with SecureZIP…

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

    File TypeProperty
    ZIPPKZIPASSOC
    UUEncode/XXencodedPKUUEASSOC
    GZIP and TARPKGZASSOC
    BZIP2PKBZ2ASSOC
    ARJPKARJASSOC
    RARPKRARASSOC
    LZHPKLZHASSOC
    JARPKJARASSOC
    CABPKCABASSOC
    Z (UNIX compress)PKZASSOC
    7ZipPK7ZASSOC
    Disk Images (ISO, IMG, CDR)PKISOASSOC

     

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

    <name of pkzip installation file> /S /v"PKCABASSOC=0"

  • Shortcuts…

  • Do not install SecureZIP Attachments...

  • SecureZIP Attachments status...

  • Set installation directory...

  • Do not install SaveSecure® feature...

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