Using switches

By using switches in your command line, you can control the setup process. Listed in this section are the switches most commonly used when installing the software.

For a list of all command-line switches for Microsoft Windows Installer, please see the Microsoft website.

/L - Event logging

Back to Top

Use /L to log installation events.

 

Parameter What it logs
i
Status messages
w
Nonfatal warnings
e
All error messages
a
Initiated actions
r
Action-specific records
u
User requests
m
Error messages for out-of-memory warnings or fatal exits
o
Error messages for insufficient hard-disk space during server installation
p
Terminal properties
*
All of the above, in a single log file
NOTE: Alternatively to /L*, you can use /log.
v
Very detailed information

The default parameters for /L are iwearmo.

If you want to specify a path for the log file, use the following syntax:

/L "C:\Logs\My_Log.txt"

*

If you do not specify a path and filename, the log file is created in the current user’s temporary (Temp) folder.

In the following example, the /L switch (with default parameters) is used to log installation events in the specified file:

\\server\path\Setup.exe /L "C:\Logs\My_Log.txt"

/q - Push the server image to the workstations

Back to Top

You can use /q to push the software to the workstations.

You can use /q to prevent users from entering their own registration information, to help enforce specific installation options, or even to perform silent installations (in which no setup UI is visible whatsoever).

 

Parameter
What the user sees during installation
n
No UI whatsoever. Errors are logged in a file that you can control by using /L (see /L - Event logging). This is the default parameter.
NOTE: Alternatively to /qn, you can use /quiet.
b
Basic UI: a progress bar and a Cancel button. If the user pushes the Cancel button, the installation is rolled back upon confirmation.
NOTE: Alternatively to /qb, you can use /passive.
b!
Basic UI: only a progress bar. The user cannot cancel the installation.
b+
Basic UI: a progress bar and a Cancel button. If the user pushes the Cancel button, the installation is rolled back (without first prompting for confirmation).
r
Reduced UI: A progress bar, along with a page containing information about the installation. The user can cancel the installation.
Note: When run on a workstation, a command line with this parameter automatically installs any needed components.
f
Full UI

The default parameter for /q is n.

In the following example, all setup UI is suppressed, and any errors are recorded in the specified log file:

\\server\path\Setup.exe /q /L "C:\Logs\My_Log.txt"

/? - Help

Back to Top

The /? switch (or /help) displays Help for the setup.

Was this page helpful? Send feedback.


Some features documented in the Help are available exclusively to subscribers. For more information about CorelDRAW subscription, visit coreldraw.com.