Maintaining a Microsoft Project 2000 Installation, страница 7

You can also use the /L<options> command-line switch with the previous command-line to create a log file of the results of the Detect and Repair and place the log file in the root of the C: drive in the file Repairlog.txt.

<drive>\setup.exe /focum data1.msi /L* c:\repairlog.txt

The following actions are performed as a result of this /f<options> command-line switch.

Switch

Description

E

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

O

Reinstall a file if it is missing, or an older version is present

C

Reinstall a file if it is missing, or corrupt (the stored checksum doesn't match the computed value).

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.

*The “s” option is added when you check Restore my shortcuts while repairing.

There is no command line switch equivalent to the Setup /y switch in Microsoft Project 98 which resets the registry to defaults. In Microsoft Project 2000, the Detect and Repair feature fixes registry issues without setting them to defaults. This is an improvement over Microsoft Project 98 in that a user does not lose their customized settings if only one key is invalid.


Reinstall Microsoft Project 2000

On some occasions you may choose to reinstall Microsoft Project 2000. As mentioned above, you can also choose to reinstall from within Maintenance mode. This option reinstalls all files and thus replacing missing, earlier version and existing files. Reinstall is more intense than Repair in that Microsoft Project is essentially installed again, whereas Repair looks at the files first to determine if they need to be replaced.

Technically, Reinstall is different from the repair option in that Reinstall replaces not only files that are missing or of an earlier version, it also replaces current version files.

Reinstall from the Command Line

As with Detect and repair, you can run also run Reinstall from the command line using the following string:

<drive>:\setup.exe /fecums data1.msi

The /f<options> command-line switch repairs a Microsoft Project installation and is documented in the Setupref.xls file in the Microsoft Project Resource Kit. Notice that "e" replaces "o" of Detect and Repair. The "e" option reinstalls files if they are missing, or an equal or older version is present.

Compare the Methods to Fix Microsoft Project 2000

The table below compares the self-repairing resiliency feature of Microsoft Project 2000 with the Reinstall and the Detect and Repair features of Microsoft Project 2000 setup.


Name

Automatically Occurs

Replaces damaged non-versioned program files*

Fixes Microsoft  Project  2000 HKCU Registry Settings

Can occur while Microsoft  Project applications are open

Microsoft Project Self-repair when starting a feature (Resiliency)

Yes

No

Yes

Yes

Reinstall from Maintenance Mode

No. You must start it.

Yes

Yes

No

Detect and Repair from the Help menu.

No. You must start it.

No

Yes

Yes

Repair Errors from Maintenance Mode

No. You must start it.

No

Yes

No

* Microsoft Project setup replaces missing Microsoft Project files regardless if the file is versioned or not.


Maintenance Mode Setup