English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need to use MSIEXEC command to deploy a program.
What is the usage of msiexec /a ?
Plz help me

2007-08-19 02:15:10 · 1 answers · asked by love_seeker_amiiiiir 1 in Computers & Internet Computer Networking

1 answers

Here is a link to MSIEXEC commands and syntax.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/msiexec.mspx?mfr=true

msiexec /a

This is a Microsoft installer command that


Syntax
msiexec /a package


Parameters
/a : Applies the administrative installation option.

package : The name of the Windows Installer package file.



Msiexec

Provides the means to install, modify, and perform operations on Windows Installer from the command line.

To install or configure a product

Syntax
msiexec /i {package|ProductCode}

Top of page
Parameters
/i : Installs or configures a product.

package : Specifies the name of the Windows Installer package file.

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

Top of page
Remarks
• Windows Installer command-line options are not case-sensitive.

• For more information about the Windows Installer command-line options, see Related Topics.


Top of page
Examples
To install a product from A:\Example.msi, type:

msiexec /i A:\Example.msi

To use the administrative installation option


Remarks
• Windows Installer command-line options are not case-sensitive.


To repair a product


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

Parameters

/f : Enables one or more of the command-line options listed in the following table.

Command Description

p
Reinstalls only if file is missing.

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

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

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

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

a
Forces all files to be reinstalled.

u
Rewrite all required user-specific registry entries.

m
Rewrites all required computer-specific registry entries.

s
Overwrites all existing shortcuts.

v
Runs from source and re-caches the local package.

2007-08-26 08:59:09 · answer #1 · answered by Comp-Elect 7 · 0 0

fedest.com, questions and answers