Command-line options

If you've created an installation package for your screensaver, many command-line options are available to configure the install procedure. Options are specified after the EXE filename in the execution command-line.

All the command-line options

The Screensaver Installer command-line syntax includes the following options:

Option

Parameters

Definition

/? or /h

 

Help - Displays a help screen.

/q

 

Quiet Mode - Installs the screensaver quietly without user interface. If the installation failed the error code (ERRORLEVEL) returned by the install is 1. If it is successful, the returned value is 0.

/f

 

Display the Progress and Final Screens - In quiet mode, displays the progress and the final notice screens to inform the user during the screensaver installation result. This option is ignored if the installation is not in quiet mode.

/d

[-]

Set as Default Screensaver - Set the installed screensaver as Windows® default screensaver. Specify "/d-" to clear the option.

/s

[-]

Create a Desktop Shortcut - Create a shortcut icon on the Windows® Desktop (to easily launch and test the screensaver). Specify "/s-" to clear the option.

/m

[-]

Create a Start Menu Entry - Creates an entry in the Windows® Start Menu (to easily launch the screensaver). Specify "/m-" to clear the option.

/p

[-]

Open Display Properties - Automatically open the Windows® display properties dialog box (to select and adjust the screensaver configuration). Specify "/p-" to clear the option.

/u

 

Uninstall the Screensaver - Automatically uninstall the screensaver.

 

Samples

1.  Automatically uninstall the screensaver:

Install /u

2.  Install the screensaver in quiet mode, set the screensaver as default Windows® screensaver and do NOT create a desktop shortcut icon:

Install /q /d /s-

3.  Install the screensaver in quiet mode, display a progress dialog box:

Install /q /f