163 out of 279 rated this helpful Rate this topic

Windows Installer

Purpose

Microsoft Windows Installer is an installation and configuration service provided with Windows. The installer service enables customers to provide better corporate deployment and provides a standard format for component management. The installer also enables the advertisement of applications and features according to the operating system. For more information, see Platform Support of Advertisement.

This documentation describes Windows Installer 5.0 and earlier versions. Not all the capabilities available in later Windows Installer versions are available in earlier versions. This documentation does not describe versions earlier than Windows Installer 2.0. Installation packages and patches that are created for Windows Installer 2.0 can still be installed by using Windows Installer 3.0 and later.

Windows Installer 3.0 and later, can install multiple patches with a single transaction that integrates installation progress, rollback, and reboots. The installer can apply patches in a specified order regardless of the order that the patches are provided to the system. Patching using Windows Installer 3.0 only updates files affected by the patch and can be significantly faster than earlier installer versions. Patches installed with Windows Installer 3.0 or later can be uninstalled in any order to leave the state of the product the same as if the patch was never installed. Accounts with administrator privileges can use the API of Windows Installer 3.0 and later to query and inventory product, feature, component, and patch information. The installer can be used to read, edit, and replace source lists for network, URL, and media sources. Administrators can enumerate across user and install contexts, and manage source lists from an external process.

Windows Installer 4.5 and later can install multiple installation packages using transaction processing. If all the packages in the transaction cannot be installed successfully, or if the user cancels the installation, the Windows Installer can roll back changes and restore the computer to its original state. The installer ensures that all the packages belonging to a multiple-package transaction are installed or none of the packages are installed.

Beginning with Windows Installer 5.0, a package can be authored to secure new accounts, Windows Services, files, folders, and registry keys. The package can specify a security descriptor that denies permissions, specifies inheritance of permissions from a parent resource, or specifies the permissions of a new account. For information, see Securing Resources. The Windows Installer 5.0 service can enumerate all components installed on the computer and obtain the key path for the component. For more information, see Enumerating Components. By Using Services Configuration, Windows Installer 5.0 packages can customize the services on a computer. Setup developers can use Windows Installer 5.0 and Single Package Authoring to develop single installation packages capable of installing an application in either the per-machine or per-user installation context.

Where applicable

Windows Installer enables the efficient installation and configuration of your products and applications. The installer provides new capabilities to advertise features without installing them, to install products on demand, and to add user customizations.

Developer audience

This documentation is intended for software developers who want to make applications that use Windows Installer. It provides general background information about installation packages and the installer service. It contains complete descriptions of the application programming interface and elements of the installer database. This documentation also contains supplemental information for developers who want to use a table editor or a package creation tool to make or maintain an installation.

Run-time requirements

Windows Installer 5.0 will be released with, and require Windows Server 2008 R2 or Windows 7. Versions earlier than Windows Installer 5.0 were released with Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000.

Windows Installer 4.5 requires Windows Server 2008, Windows Vista, Windows XP with Service Pack 2 (SP2) and later, and Windows Server 2003 with Service Pack 1 (SP1) and later.

Windows Installer 4.0 requires Windows Vista or Windows Server 2008. There is no redistributable for installing Windows Installer 4.0 on other operating systems. An updated version of Windows Installer 4.0, which does not add any new features, is available in Windows Vista with Service Pack 1 (SP1) and Windows Server 2008.

Windows Installer 3.1 requires Windows Server 2003, Windows XP, or Windows 2000 with Service Pack 3 (SP3).

Windows Installer 3.0 requires Windows Server 2003, Windows XP, or Windows 2000 with SP3. Windows Installer 3.0 is included in Windows XP with Service Pack 2 (SP2). It is available as a redistributable for Windows 2000 Server with Service Pack 3 (SP3) and Windows 2000 Server with Service Pack 4 (SP4), Windows XP RTM and Windows XP with Service Pack 1 (SP1), and Windows Server 2003 RTM.

Windows Installer Redistributables are available for Windows Installer 4.5 and earlier versions. There is no redistributable available for Windows Installer 4.0.

Windows Installer 2.0 is contained in Windows Server 2003 and Windows XP.

Windows Installer 2.0 is available as a package for installing or upgrading to Windows Installer 2.0 on Windows 2000. This package should not be used to install or upgrade Windows Installer 2.0 on Windows Server 2003 and Windows XP.

You can find all the available Windows Installer redistributables at the Microsoft Download Center.

In this section

TopicDescription

Roadmap

A guide to Windows Installer documentation.

Overview

General information about the installer.

What's New in Windows Installer

Lists additions and changes to Windows Installer.

Reference

Documentation of Windows Installer functions.

Windows Installer Scripting Examples

Windows Installer examples using script.

 

 

 

Send comments about this topic to Microsoft

Build date: 9/7/2011

Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ
Windows Office 2010
I have an original official copy of Windows office 2010. Profesional. I have tried to load it to my computer and keep getting a message that the setup has failed. Not beijng computer literate I copid the disc contents to my harddrive and attempted to set it up . I get the message on any file /folder I try to ope that "Error applying transforms. Verify that the specified transform paths are valid" I have no idea what this meansor how to fix it - any suggstions.
Windows Installer fails to install updates and programs
$0Windows Installer in Vista keeps failing to install updates.  Fails for a variety of reasons:$0 $0- Auto updates - it goes through the process of installing them but after reboot most have failed to update and it wants to reinstall them$0 $0- Fails to install items like MSE or C++ runtime$0 $0- It does try to install items such as Vista Security updates eg KB263371.  Security says it updated but then it reappears again as not updated$0 $0$0 $0 $0Machine is an AcerAspire SA90 with Vista Home Basic SP2, Windows Firewall and Avast A/V$0 $0$0 $0 $0Things I've tried:$0 $01. ran the MS Installation fixit program microsoftfixit.wu.run.exe as administrator.  It says it found the problem and fixed it.  But running again gives the same result - ie it is not permanently fixing the problem$0 $02. several full virus scans using Avira and Kaspersky boot CD's and again with Avast loaded into Windows$0 $03. run malwarebytes and ccleaner$0 $04. installed fresh copies of msiexec.exe, msihnd.dll and msi.dll from a known good vista machine (file sizes were identical)$0 $05. carried out the three steps listed at http://support.microsoft.com/kb/2642495$0 $06. Observed during installs that the installer service gets started OK.  Started the installer service manually.  $0 $07. Tried installing updates singly.  Some seem to update OK but then reappear as not installed$0 $08. Created a new account with admin permission and tried again using that - no change$0 $09. Uninstalled C++ run time thinking it was the problem (Had to use Revo).  Now can't reinstall.  This seems to be impacting on Avast.$0 $010. Tried all again with Antivirus and Firewall disabled$0 $011. Uninstalled Avast and tried to firstly MSE and then AVG - both failed to install.  Reinstalled Avast but still can't bring up its interface (suspect due to C++ runtime)$0 $0$0 $0 $0Can anyone please offer any more suggestions$0
WINDOWS INSTALLER MESSAGE V5.07601.17514 - CAN'T INSTALL KAPERSKY ANTI VIRUS ON MY NEW COMPUTER.
HAVE NEW TOSHIBA LAPTOP. CAN'T INSTALL KAPERSKY ANTI-VIRUS. KEEP GETTING WINDOWS INSTALL V5.07601.17514. DOES ANYONE KNOW WHY? YOUR HELP WOULD BE GREATLY APPRECIATED.
NO solution and i think its a windows update ..AGAIN
Have spent two days on this .... Have Vista HP with SP2... Downloaded a MS udate a week ago and then all £"%^^ broke loose. Cant instal anyrthing...including Updates of the Installer....My insytaller MSI file seems corrupted, This is terrible..If Bill gates had a hand on his company he would get this solved, because it seems we are alll going around in circles looking at thre same blogs. So..Ive done all the resets, downloads, renamed installer....Basic thing is... that i cant install 4.5 redistrubutable, .....BECAUSE MY INSTALLER is corrupted....well therse a suprise.....!. NOT HAPPY...APPLE IS CALLING ME!!
Installer won't install Java.
"This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package"

The error code is 1620.

Any help?
This is the MSI SDK.
$0I wish search engines would rank it higher. Here's my attempt to help: $0 $0$0 $0[tfl] I've done my bit too: http://tfl09.blogspot.com/2008/11/rob-menching-and-msi-sdk.html.$0 $0 $0 $0The reason search engines don't list this page is because of its "NOINDEX, NOFOLLOW" ROBOTS META tag.$0
Installer DLL causing Java problem
Hello,$0 I am trying to uninstall a Java update from the Control Panel, but when doing that, the process stops and displays a message: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run."$0 Then I read in the internet a suggestion that said to run the Windows Installer for it to get updated, but I have Windows 7, and the compatible with that would be version 5.0 which I can't find in the microsoft website, how could I get that version to fix the problem? or, is there other way to fix this?$0 $0 Thanks in advance!!!$0 $0 BrendaI
help...plzzzzz
My windows installer is not working, I have a windows vista home premium with service pack 2 and a 32-bit operating system. Whenever i try to install an upgrade for skype,  it gives an error that "windows installer could not be accessed. This could occur if windows installer is not properly installed. Contact your support personnel for assistance " . The same error comes when i try to uninstall any program using the option in control panel. I have tried installing windows installer 4.5 online, but the 3 files that it says are applicable to my operating system, when i install them they say that, the particular file is not needed. $0Any help would be highly appreciated..!!!$0
Office 2010 SP1 Code 78F
Office 2010 SP1 install fails Code 78F. Running Windows 7, have Office 2010 Professional installed from disk. Most common solution given, have install disk in CD drive during installation, does not work. After researching the internet for this problem, it seems to be fairly common, so I am perplexed that the error message states, Code 78F Windows Update encounterd an unknown error. If any MS employee searched error Code 78F, they would know this is not an "unknown error". Oh, and by the way, 'Get help with this error' was useless.
Microsoft Office 2010 SP1 Installation Error Code 78F
I'm not able to install Office 2010 SP1 package on my computer, running Windows 7 x64, despite trying all the troubleshooting steps available on microsoft support websites. Kindly help me to resolve this menacing installation problem (Error Code 78F) of my computer. Thanks and regards
Please help!
My systems (10 of them now) have been hacked, and I am unable to retake control of any of my systems. I can zero-fill for 40 hours using Seagate and WD's own utilities, but when I install Windows or a Linux distribution, the same corrupted HACKED image (or a corrupted version of Linux) is installed instead. EVERY. SINGLE. TIME. For 130 attempts in 5 months. 

Microsoft claim, over and over again, that what I've sent them countless evidence of...is not possible. Then today, I find this page. 

Windows Installer 4.5 and later can install multiple installation packages using transaction processing. If all the packages in the transaction cannot be installed successfully, or if the user cancels the installation, the Windows Installer can roll back changes and restore the computer to its original state. The installer ensures that all the packages belonging to a multiple-package transaction are installed or none of the packages are installed.

Beginning with Windows Installer 5.0, a package can be authored to secure new accounts, Windows Services, files, folders, and registry keys. The package can specify a security descriptor that denies permissions, specifies inheritance of permissions from a parent resource, or specifies the permissions of a new account.
For information, see Securing Resources. The Windows Installer 5.0 service can enumerate all components installed on the computer and obtain the key path for the component. For more information, see Enumerating Components. By Using Services Configuration, Windows Installer 5.0 packages can customize the services on a computer.
Setup developers can use Windows Installer 5.0 and Single Package Authoring to develop single installation packages capable of installing an application in either the per-machine or per-user installation context.

Run-Time Requirements
Windows Installer 5.0 will be released with, and require Windows Server 2008 R2 or Windows 7.

There is no Windows Installer of any kind on my Genuine Advantage Windows 7 Ultimate (64x, 86x), Home Professional (86x), Starter (86x), XP (86x) installed operating systems. I have paid thousands of dollars for these discs and the computers they have corrupted.

I paid $600 to Microsoft Emergency Tech Support to remote access my PC and for two hours, I showed three of them all the symptoms of the horrifically corrupted Windows image installed on my drive. In three hours, they provided zero solutions. Claimed to be clueless about what was happening.

How do I get out of this insanity? New computers are corrupted with this identical image minutes after I purchase them. Computers that have never had Windows of any kind touch their drives. They'll show ActiveX symbols and desktop.ini files magically communicated into the 'Recovery' partition of a computer which has never had its networking adapters switched on (deactivated hard and soft in BIOS and external switch), instantly corrupting the drive. PERMANENTLY.

Help me, please!
Windows Installer 3.1 Vista SP2 Storage Space problem
When I run WindowsInstaller-KB893803-v2-x86 on my Vista SP2 laptop I get th following results

User Account Control displays press continue the application displays a progress bar then stops and displays a dialog box

Saying "Not enough storage space is available to process this command" press ok and a further dialog box displays

Saying "Installation not complete" press ok and it all stops

My C: drive has 38GB of 137GB available free

Can anyone help

John
Error 1321 cannot install anything
hi, I just have changed to WIN7, but I cannot install any thing, that includes Intel Visual Fortran Compiler. At first I can install some thing, such as Office or Chrome. $0The whole information is: Error 1321. Windows Installer has insufficient privileges to modify this file: C:\ Windows\Installer\. Actually, I cannot find this file.$0 $0$0 $0 $0I really have run them under administer and get this privileges. Thank you so much.$0 $0$0 $0 $0Please email me. lihong2291@gmail.com or honglichina@msn.cn.$0
cant install anything i just get an error message about windows installer
i cant install anything i get an error message
error 1720
I'm trying to install a Verizon Mifi.  I keep getting error message #1720.  I have tried dcomcnfg but still not working.  Need easy instructions - help!
Cannot Install a Garmin Map Quest update
problem solved
Windows Installer was aborted abruptly at start of Downloading.
When I launch all most any thing on my computer, a quick message says “Windows installer”,
Then a window opens up called “Client Security-Password Manager and another “Client Security Password Manager-Internal error 25002”. I can remove these temporarily by clicking
Cancel 4 or 5 times.  This all started 10-28-10 when I cancelled abruptly a software download.
 
Can you help me remove these two windows permanently?
need help
i get error message "windows installer could not update one or more protected windows files" while trying to install office 2010 help
modemendez
necesito instalar window instalar porque lo necesita mi sistema, pero cuando trato de instALARLO, NO SE LLEGA A EJECUTAR, CUAL SERa LA RAZON DE ESTE INCONVENIENTE.
ayudarme con la instalacion
pofa ayudarme no puedo instalar windows live me sale un error:
                                                                                                    hr: 0X80040001     gracias
Windows Installer 4.5 in XP SP2 and Windows 2008 SP1
Per TechNet article http://technet.microsoft.com/en-us/library/dd335033.aspx, Windows Installer 4.5 will be in Vista SP2 and Windows 2008 SP1.
Windows Installer Service with Windows XP
Obdržená zpráva , že Instalační služba systému Windows nemůže být přístupná jako Windows Installer není správně nainstalován . tried dosadit dosadit který je k dispozici on-line , žádná pomoc nebo podporu . problém, který lze přeinstalovat operační systém opravit jeden.

A: Zrušení registrace a zaregistrovat Windows Installer

Z tohoto

1. On "Start "menu klikněte na "Běh :.

2. V "Open "zadejte "msiexec / Unreg" a stiskněte klávesu ENTER.

3. On "Start "menu klikněte na "Run ".

4. V "Open "zadejte "msiexec / regserver" a stiskněte klávesu ENTER.


Já taky tried tato a ono did ne nález ono dosadit , Nainstaloval jsem z této stránky , a říká, že nenainstaloval správně a ještě neprokazuje , že instalované v rámci programů na ovládacím panelu je uveden s 0 kousnutí ....... ....
může někdo pomoci ?

Já taky nelze přeinstalovat operační systém , aby správně

need help, error code 1603
installer wont work at all, I have vista 64 bit, installer v4.5, and it fails everytime with error code 1603. cant find any help or support

The following solutions have resolved this error in the majority of cases:

  1. Make sure short file name creation is enabled on the target machine. You can check to ensure that the target machine does not have short file name creation disabled by navigating to the following registry entry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
    
    

    Make sure the value "NtfsDisable8dot3NameCreation" is equal to 0. This indicates that short file name creation is enabled. A value of 1 indicates that this functionality is disabled. You should change the value to 0.

    After modifying this value, the target machine should be rebooted before attempting to launch the setup again.

    Note: If the target machine should normally have short file name creation disabled, it can be disabled after the install completes by resetting "NtfsDisable8dot3NameCreation" to 1 and rebooting.
  2. To ensure that the Windows Installer Service is properly installed and configured, it is recommended that users install the file InstmsiA.exe on Windows 95/98/Me or InstmsiW.exe on Win NT systems. These files are shipped with your InstallShield product and are located in the following location:
    <Product Path>\Redist\Language Independent\i386
    
    
  3. Empty all temporary folders. The specific temporary folders for a machine can be determined by accessing the DOS prompt and typing set. Note the values listed for TEMP and TMP, and delete all files in those locations. 
  4. Make sure no other applications, including utilities such as virus scanners, are running in the background. Close all running applications and utilities, and launch the installation again. ( it would be better you install the software in CLEAN BOOT MODE) 
  5. If this error occurs during un-installation, use the Microsoft Windows Installer CleanUp utility to uninstall the installation. 
  6. Once the installation has been successfully un-installed, you can then debug the project to determine what caused the original error. 
Win XP HP media Centre PC
I'm trying to install ITunes onto a media centre PC on which I recently did a restore.  I keep getting the following error message: "windows installer service could not be accessed.  this can occur if it is not installed correctly. contact support personnel for assistance".  I've trawled the forums and the microsoft site for advice and unregistered the msiexec.exe file.  I've downloaded and successfully installed the hot fix for Windows Installer- 4.5 I think it was and I still can't install Itunes.  Advice urgently sought about this.  I am able to install other programs, just not ITunes.  Thanks all.  Anne
windows installer not working running vista 32bit service pack 1
hi, please help. having trouble downloading itunes 9.2. error message comes up saying that windows installer service could not be accessed.  this can occur if it is not installed correctly. contact support personnel for assistance.... have been looking through the thousands of sites and forums with no luck
try installer 4.5
windows installer
Hi i am running a 32 bit version of windows vista service pack 2 and i am having problems with updating windows installer which in turn is affecting my attempt to install other programs. I have tried Obtaining the Windows Installer Redistributable but end up with a message that the update is not for my system. please help.
How can I develop the my custom deployment tools like expression blend?
I found the setup UI is very beautiful when I setup expression blend on my computer , But how can I develop the one like it?

Thanks
Gary
Error 2727
I need help finding a solution to this error.  Can not install Dynamics GP service pack because of it.
How to know if Windows Installer is installed on your computer or not?
I have installed windows installer 4.5 on my computer. But I want to be sure that what I installed is windows installer 4.5. How to know?

Start
Run
type
msiexec.exe /?
click OK
[tfl - 19 07 10] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&

Error Code 1719 Need Help
Windows Installer Error Code 1719 can not be access. I have tried loading Nokia PC Suite but the aerror is showing, ERROR Code 1719. Try loading the software and can not get it to work. Any suggestions?