Project 2000. Windows Installer, страница 3

Command-line Switch

Description

Example

/i <file>

Specifies the name of the MSI file. This option cannot be used along with the /a option.

/i Mso9.msi

/p <package file>

Applies a patch.

To apply a patch to an installed Admin image you must combine options as follows /p <PatchPackage> /a <Package>/p <PatchPackage> /a <Package>

PROPERTY=value

Specifies a property value. If the property value contains spaces, enclose the string in double quotation marks ("). You can specify more than one property and value pair on the command line, separated by spaces. See section on Properties below.

TRANSFORMS= "C:\Acct Dept.mst" INSTALLLANGUAGE=German"

/q<option>

Selects the user interface level. Valid options are:

n: None — No user interface is displayed

b: Basic — Only simple progress indicators and errors are displayed.

r: Reduced — No user information is collected, and full progress indicators and errors are displayed.

f: Full – With a modal dialog box displayed at the end

qn+ - No UI except for a modal dialog box displayed at the end.

qb+ - Basic UI with a modal dialog box displayed at the end. The modal dialog box is not displayed if the user cancels the installation

qb- - Basic UI with no modal dialog boxes. Note that /qb+- is not a support UI level. This can be used to automatically reboot the machine at the end of setup, but if you use /qb- the machine will simply restart automatically.

/qn


Command-line Switch

Description

Example

/settings <INI file>

Specifies a settings file and path that customizes Setup actions.

/settings

C:\office9.ini

/?

Displays a list of valid Setup command-line options.

/?

/wait

Wait for installation to complete before exiting.

/wait

/j <option> <package path>

Advertise Locally

u – User

m – All users

Note When using the /j<option> switch the /t switch should be used to point to a particular transform list. Otherwise with other switches the TRANSFORM property should be used.

[u|m]Package

or

[u|m]Package /t Transform List

or

[u|m]Package /g LanguageID

/f<options> <package path>

Setup repairs the Microsoft Project installation. The .MSI file specified must be the .MSI file used to install Microsoft Project originally. The .MSI file must be in the same folder as SETUP.EXE.

p – Reinstall a file only if it is missing.

o – Reinstall a file if its is missing, or an older version is present.

e – Reinstall a file if it is missing, or an equal or older version is present.

d – Reinstall a file if it is missing, or a different version is present.

c – Reinstall a file if it is missing or corrupt (the stored checksum doesn’t match the computed value)

a – Force all files to be reinstalled regardless of checksum or version.

u – Re-Write all required user registry entries

m – Re-Write all required local machine registry entries

s – Reinstall all shortcuts, overwriting any existing shortcut

v– Run from the source package and re-cache the local package.

The Detect and Repair command (Help menu) in Microsoft Project performs the same function as using the options /focums.

If you run Setup and select Reinstall, Setup performs the same function as using the options /fecums.