Install switches for Golden Software installers

Both the EXE and MSI installers for Golden Software products Surfer, Grapher, and Strater can be run via the command line using install switches to define specific installation options. The MSI for the current version of our applications can be found on our Downloads page

Please note, installing via the System Account is not currently supported by our installer. Many users use the command line for these switches, but there are likely other paths forward. Golden Software support does not have the ability to offer support in installing via SCCM, but if you run into trouble still reach out to us with your questions. We'll do our best to get you headed in the right direction! 

 

EXE Install Switches

Silent install: <setup.exe> /s

 "C:\Users\GS\Download\Surfer_19_Installer.exe" /s

32-bit version install: <setup.exe> /32BIT

"C:\Users\GS\Download\Surfer_19_Installer.exe" /32BIT

64-bit version install (this is default on a 64-bit machine): <setup.exe> /64BIT

"C:\Users\GS\Download\Surfer_19_Installer.exe" /64BIT

Create no desktop shortcut during install: <setup.exe> NODESKTOPLINK

"C:\Users\GS\Download\Surfer_19_Installer.exe" NODESKTOPLINK

Silent uninstall: <setup.exe> MODIFY=FALSE REMOVE=TRUE UNINSTALL=YES /s

"C:\Users\GS\Download\Surfer_19_Installer.exe" MODIFY=FALSE REMOVE=TRUE UNINSTALL=YES /s

Silent install to particular directory: <setup.exe> TARGETDIR=<installDir> /s

"C:\Users\GS\Download\Surfer_19_Installer.exe" TARGETDIR="C:\my GS programs\"

Silent install to particular start menu group: <setup.exe> STARTMENU=<startMenu> /s

"C:\Users\GS\Download\Surfer_19_Installer.exe" STARTMENU="my gs shortcut" /s

 

MSI Install Switches

The standard Windows msiexec command line switches work with our MSI installer files.

The Windows Installer MSI options can be found by opening a command window (click the Windows Start button, type in cmd and press ENTER on the keyboard), and in the command window typing msiexec /? and pressing ENTER on the keyboard. The options are also listed below.

To use the EXE options above, set the CMDLINE property in quotes like so:

msiexec <install_switch> <MSI file> CMDLINE="<switches above>"

For example, to install 32-bit:

msiexec /i "C:\Users\Downloads\Grapher_Full_Group_Policy.msi" CMDLINE="/32BIT"

Or to use a custom install directory:

msiexec /i "C:\Users\GDownloads\Grapher_Full_Group_Policy.msi" CMDLINE="TARGETDIR=""c:\my\install\dir"""

Format:
msiexec /Option <Required Parameter> [Optional Parameter]

For example:

msiexec /i "C:\Users\Downloads\Surfer_Full_Group_Policy.msi"

 

Install Options:

    </package | /i> <Product.msi> : Installs or configures a product
    /a <Product.msi>  : Administrative install - Installs a product on the network
    /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]  :  Advertises a product - m to all users, u to current user

 

Display Options:

    /quiet  :  Quiet mode, no user interaction
    /passive  : Unattended mode - progress bar only
    /q[n|b|r|f]  :  Sets user interface level
        n - No UI
        b - Basic UI
        r - Reduced UI
        f - Full UI (default)
    /help  :  Help information

 

Restart Options:

    /norestart  :  Do not restart after the installation is complete
    /promptrestart  :  Prompts the user for restart if necessary
    /forcerestart  :  Always restart the computer after installation

 

Logging Options:

    /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
        i - Status messages
        w - Nonfatal warnings
        e - All error messages
        a - Start up of actions
        r - Action-specific records
        u - User requests
        c - Initial UI parameters
        m - Out-of-memory or fatal exit information
        o - Out-of-disk-space messages
        p - Terminal properties
        v - Verbose output
        x - Extra debugging information
        + - Append to existing log file
        ! - Flush each line to the log
        * - Log all information, except for v and x options
    /log <LogFile>  :  Equivalent of /l* <LogFile>

 

Repair Options:

    /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>  :  Repairs a product
        p - only if file is missing
        o - if file is missing or an older version is installed (default)
        e - if file is missing or an equal or older version is installed
        d - if file is missing or a different version is installed
        c - if file is missing or checksum does not match the calculated value
        a - forces all files to be reinstalled
        u - all required user-specific registry entries (default)
        m - all required computer-specific registry entries (default)
        s - all existing shortcuts (default)
        v - runs from source and recaches local package

 

Setting Public Properties:
    [PROPERTY=PropertyValue]

 

Licensing Options:

After installation, products that are licensed with a "Serial Number" need to be run on the computer interactively so that the serial number can be entered. This cannot be done remotely.

For products that are licensed with a "Product Key", license data can be applied automatically.  See How To Apply License Settings Without User Interaction 

Was this article helpful?
2 out of 3 found this helpful

Comments

0 comments

Please sign in to leave a comment.