fortypoundhead.com

MSIEXEC

Primary Category = Windows Commandline

Posted On 2005-11-1 by FortyPoundHead
Keywords: Command Reference
Tags: Windows Commandline Windows
Views: 1752
Rating: / 5.00

  • 1
  • 2
  • 3
  • 4
  • 5

 

MSIEXEC





Microsoft Windows Installer.





syntax

Install

MSIEXEC /i package options



Uninstall

MSIEXEC /x package options



Advertise to current user

MSIEXEC /ju package options [/t Transform_List | /g LanguageID]



Advertise to all users

MSIEXEC /jm package options [/t Transform_List | /g LanguageID]



Administrative install - install on the network.

MSIEXEC /a package



Apply a patch to an installed Admin image

MSIEXEC /p patchPKG /a package



options:

/fp fix - replace missing files

/fo fix - replace Older files

/fe fix - replace older or Equal date files

/fd fix - replace Different version files

/fc fix - replace files based on Checksum differences

/fa fix - replace All files

/fu fix - rewrite HKCU registry

/fm fix - rewrite HKLM registry

/fs fix - recreate shortcuts

/fv fix - rewrite local cache from source

/l* Logfile Log Everything (not Verbose)

/l*v Logfile Log Everything Verbose

/lv Logfile Log Verbose

/le Logfile Log All error messages

/lw Logfile Log Non-fatal warnings

/li Logfile Log Status messages

/la Logfile Log Startup actions

/lr Logfile Log Actions

/lu Logfile Log User requests

/lc Logfile Log User Interface (UI) parameters

/lm Logfile Log memory use

/lp Logfile Log Terminal properties

/l+ Logfile Append to an existing log file.

/l! Logfile Clear an existing log file.

/q , /qn No UI.

/qb Basic UI.

/qr Reduced UI. A modal dialog box is displayed at the end of the install.

/qf Full UI. A modal dialog box is displayed at the end of the install.

/qn+ No UI. However, a modal dialog box is displayed at the end of the installation.

/qb+ Basic UI. A modal dialog box is displayed at the end of the installation. If you cancel the installation, a modal dialog box is not displayed.

/qb- Basic UI with no modal dialog boxes.

/y module Register a DLL - only use for registry information that cannot be added using the registry tables of the .msi file.

/z module UnRegister a DLL - only use for registry information that cannot be removed using the registry tables of the .msi file.



Windows installer versions



Windows NT can support version 1.1 or version 1.2

Windows 2K includes version 1.1 of the Windows Installer.

Windows XP/Server 2003 includes version 2.0 of the Windows Installer.



Updates to msiexec can be downloaded from MSDN.





About the Author

FortyPoundHead has posted a total of 1975 articles.

You can find more information from FortyPoundHead by visiting .

Comments On This Post

No comments on this post yet!

 

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.163.159.27

Before you can post, you need to prove you are human. If you log in, this test goes away.