|
Manage
applications by using Windows Installer
packages.
Windows Installer manages the installation
and removal of applications by applying a
set of centrally defined setup rules during
the installation process. These setup rules
define the installation and configuration of
the installed application. In addition, you
use this service to modify, repair, or
remove an existing application. The Windows
Installer technology consists of the Windows
Installer service for the Windows operating
systems and the package (.msi) file format
used to hold information regarding the
application setup and installations.
Windows Installer manages the installation,
addition, and deletion of software
components, monitors file resiliency, and
maintains basic disaster recovery by way of
rollbacks. Additionally, Windows Installer
supports installing and running software
from multiple sources, and can be customized
by developers that want to install custom
applications.
To use Windows Installer packages with
Windows Explorer:
-
Open Windows Explorer.
-
Right-click the Windows Installer
package (.msi file), and then click
Install, Repair, or Uninstall.
To install/remove/repair a package using
the command line
-
Open Command Prompt.
-
To install, type msiexec /i
[package|product_code] and then press
ENTER.
-
To remove, type msiexec /x
[[package|ProductCode] and then press
ENTER.
-
To repair, type msiexec
/f[p][o][e][d][c][a][u][m][s][v]
{package|ProductCode} and then press
ENTER.
-
/f enables one or more of the
following command-line options:
-
p - Reinstall only if the
file is missing.
-
o - Reinstall if the file is
missing or if an older version is
installed.
-
e - Reinstall if the file is
missing or an equal or older version
is installed.
-
d - Reinstall if the file is
missing or a different version is
installed.
-
c - Reinstall if the file is
missing or the stored checksum does
not match the calculated value.
-
a - Force all the files to be
reinstalled.
-
u - Rewrite all the required
user-specific registry entries.
-
m - Rewrite all the required
computer-specific registry entries.
-
s - Overwrite all the
existing shortcuts.
-
v - Run from source and
recache the local package.
Where: package is the name of the Windows
Installer package file. product_code is the
globally unique identifier (GUID) of the
Windows Installer package. |