Executable Bootstrapper Command Line Switches

<< Click to Display Table of Contents >>

RayPack > 7.3 u6 > User Guide > Command Line Tools 

Executable Bootstrapper Command Line Switches

Usage

setup.exe [/S] [/Uninstall] [/log] [/MSIPARAM=<params>]

 

The parameters can be combined. The only requirement is that the /MSIPARAM parameter (if used) has to always be at the end of the command string.

 

Parameters

/S (optional)
Unattended installation
 
Example:

 setup.exe /s

 
/Uninstall (optional)
Uninstalls the package
 
Example:

 setup.exe /Uninstall

 

finger1

Be aware:

When the product is uninstalled, dependencies are left on the system. For example, a package that installs itself and Visual C++ Redistributable package as its dependency will not uninstall the VC++ package when the uninstallation is triggered from setup.exe.

 

/Log (optional)

Enables logging of setup activities. The logs are saved to %LOCALAPPDATA%\RayPack\Setup

 
Example:

 setup.exe /Log

 

finger1

Be aware:

This switch enabled internal bootstrapper logging. Use it to see which items are installed, in which order, with which conditions and command line parameters. To enable msiexec logging for the MSI package, use the following switch:
/MSIPARAM "/l*v "<path_to_log_file>""

 

/MSIPARAM "<params>"

Passes specified command line to the internal msiexec.exe call.

 

papercliper

Note:

When used, this parameter has to be always the last one.

 

Example:

 setup.exe /S /MSIPARAM "INSTALLDIR="C:\Program Files (x86)\MyApplication""

 setup.exe /Uninstall /MSIPARAM "/L*V "C:\logs\log.txt""

 

The syntax of <params> value must be a valid msiexec.exe command line parameter. See the following link to get more information about the syntax.

https://msdn.microsoft.com/en-us/library/aa367988(v=vs.85).aspx

 

finger1

Be aware:

The outer quotation marks are required. The inner quotation marks do not have to be escaped.