Examples of silent installation commands
To perform a silent installation, run the setup program with the appropriate command line options. This section provides some examples.
These examples use standard Microsoft command line parameters with the InstallShield setup command. Only the CMDVISUAL property is specific to the zSecure™ Visual client application.
Specify command-line options that require a parameter with no space between the option and its parameter. For example, this command is valid:
setup.exe /v"INSTALLDIR=c:\MyDirectory"
This command is not valid:
setup.exe /v "INSTALLDIR=c:\MyDirectory"
Put quotation marks around the parameters of an option only if the parameter contains spaces.
If a path in a parameter
contains spaces, you might need to use quotation marks in quotation
marks, as in this example:
setup.exe /v"INSTALLDIR=\"c:\My Directory\""
- Silent installation with default settings
-
setup.exe /s /v"/qn”
- Silent installation with a different target directory
-
setup.exe /s /v"/qn INSTALLDIR=<c:\target_directory>"
- Silent installation with a different target directory and a configuration file
- setup.exe /s /v"/qn CMDVISUAL=C:\temp\setup1.cfg INSTALLDIR=<c:\target_directory>"
- Silent installation with a different target directory and a log file
-
setup.exe /s /v"/l*v c:\test.log "INSTALLDIR=<c:\target_directory> /qb"
- Silent installation with default settings and no reboot
-
setup.exe /s /v"/qn /norestart ”