Export (0) Print
Expand All

Repair a package using the command line

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To repair a package using the command line

  1. Open Command Prompt.

  2. Type:

    msiexec/f[p][o][e][d][c][a][u][m][s][v] {package | ProductCode}

     

    Value Description

    /fp

    Reinstalls only if the file is missing.

    /fo

    Reinstalls if the file is missing or if an older version is installed.

    /fe

    Reinstalls if the file is missing or an equal or older version is installed.

    /fd

    Reinstalls if the file is missing or a different version is installed.

    /fc

    Reinstalls if the file is missing or the stored checksum does not match the calculated value.

    /fa

    Forces all of the files to be reinstalled.

    /fu

    Rewrites all of the required user-specific registry entries.

    /fm

    Rewrites all of the required computer-specific registry entries.

    /fs

    Overwrites all of the existing shortcuts.

    /fv

    Runs from source and recaches the local package.

    package

    Specifies the name of the Windows Installer package file.

    ProductCode

    Specifies the globally unique identifier (GUID) of the Windows Installer package.

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • The default parameter for this command-line option is /fpecms.

  • Windows Installer command-line options are not case-sensitive. For more information about msiexec command-line options, see Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft