Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Using MsiInv to gather information about what is installed on a computer

Using MsiInv to gather information about what is installed on a computer

Rate This
  • Comments 71

As I was reading one of the posts on Quan To's new blog, I noticed that someone posted a link to a tool named msiinv.exe on their tools page.  This tool (which stands for MSI Inventory) wraps some of the publicly documented MSI APIs to provide information about the state of all Windows Installer products, features and components that Windows Installer thinks are installed on your computer.  I say "thinks are installed" because there are some rare cases where the actual installation state of a given product can get out of sync with the information Windows Installer has stored in its internal data structures, which can cause confusion for setup packages.

I use this tool nearly every day as one of the first troubleshooting tools for setup problems because it allows me to get a baseline snapshot of what the current state is for a machine before I start trying to make changes to fix any problems a customer might be having.

Example usage of msiinv.exe

One of the common uses of msiinv.exe is if someone is trying to install one of the recent beta builds of VS 2005 or .NET Framework 2.0 and the setup UI states that you are not allowed to install because a previous beta version of <insert product name here> is on the machine and you must uninstall that first.  Sometimes after receiving this error message, a user will look in Add/Remove Programs and the product that setup is complaining about is nowhere to be found, or there is an Add/Remove Programs entry for that product but trying to remove it claims that the product is not on the computer and asks if you would like to remove the entry from the Add/Remove Programs list.

In these cases, you can use the following steps:

  1. Download msiinv.zip from the following location:



  2. Extract the contents of msiinv.zip to the folder c:\msiinv on your system
  3. Click on the Start menu, choose Run, type cmd and click OK
  4. Type this command:  c:\msiinv\msiinv.exe -p > c:\msiinv\msiinv_output.txt

    Note: This command must be run from a cmd prompt or it will not create a log file as expected.

These steps will create a text file named c:\msiinv\msiinv_output.txt with a list of each product that Windows Installer thinks is installed on the system.  Then you can open the text file in any text editor and search the list of products for the name of the product that setup told you to uninstall.  The output will look something like this (I am using an example from a machine that has .NET Framework 2.0 beta 2 installed):

Microsoft .NET Framework 2.0 Beta 2
 Product code: {7A1ADD0C-17F3-47B8-B033-A06E189C835D}
 Product state: (5) Installed.
 Package code: {856D48D2-6F94-466D-9732-534DB5854FB3}
 Version: 2.0.50215
<note: there is more info after this but I am omitting it because it isn't useful to the rest of my example>

Now we have the Windows Installer product code and we can use that to uninstall the product by running msiexec /x <product code> (make sure that you include the curly braces in this command line).  If the product is actually installed on your system you will see a progress screen and uninstall will complete, and from there you should be able to re-run VS or .NET Framework setup and successfully install.

If Windows Installer thinks that the product is installed but it really isn't, then running msiexec /x <product code> will give you an error stating that this command is only valid for installed products.  If this happens, you will need to perform an extra step to remove the data that causes Windows Installer to think this product is installed.  You can download the Windows Installer Cleanup Utility and install and run it on your machine to fix this.  In the list of applications that this tool displays, choose the one that matches the product name displayed when you first ran VS or .NET Framework setup and choose to remove it.  After this removal completes, you should be able to re-run VS or .NET Framework setup and successfully install.

Advanced usage of msiinv.exe

The msiinv.exe tool has several command line parameters that you can see by running it with the /? switch.  A couple of the more interesting options are the following:

  • msiinv.exe -v - This option will list all feature GUIDs and component GUIDs for each Windows Installer product that is installed on the machine.  This can be useful to see which products share components (which can help track down why running uninstall for one product leaves behind some files and/or registry).  If you have a lot of products installed on the machine, running with the verbose switch will take a long time.
  • msiinv.exe -x - This option will list Windows Installer components that are installed on the machine that do not have any products that hold reference counts on them anymore.  In most cases, this is caused by one or more setup being installed on the machine at some point in the past that violated the MSI component rules. (more info about component rules can be found here and here if you are interested)

<update date="12/1/2008"> Updated the link to msiinv.zip because the old location was no longer available. </update>

<update date="2/12/2009"> Updated command line for running msiinv.exe so it will work on Windows Vista and Windows Server 2008. </update>

<update date="4/1/2009"> Removed broken link to msiinv.exe tool </update>

<update date="10/11/2012"> Embedded new SkyDrive link to msiinv.exe tool </update>

 

  • for some reason I cannot get it to produce a text file, i have tried c:\msiinv\msiinv.exe -p> c:\msiinv_output.txt; this pops up the cmd window for just a sec but no text file. also tried c:\msiinv\msiinv.exe > c:\msiinv_output.txt; which brings the cmd window and i can see all the output but it still doesnt produce a text file.

    thanks for your help.

  • Hi Imranmp - You need to make sure to follow the steps exactly as they are listed above in this blog post.  Specifically, you need to open a cmd prompt by clicking on the Start menu, choosing Run, typing cmd and clicking OK.  After the cmd prompt opens, you can run the c:\msiinv\msiinv.exe -p > c:\msiinv_output.txt command line and it should correctly create the output file.

    This command line will not work if you try to launch it directly from the Windows Start menu Run prompt.

  • Si certains d'entre vous ont installé la beta du SP1 sur leur Team Foundation Server, vous aurez certainement

  • Hi all

    I'm trying to install the above program bit the installer says I have the following programs installed that I need to remove :-

    Microsoft SQL Server 2005 Express Edition

    Microsoft SQL Server 2005 Tools Express Edition

    Microsoft SQL Server Native Client

    I've run the Microsoft uninstaller to no effect and the msiinv pack above gives me the following :

    c:\msiinv\msiinv.exe  2007\04\19  17:46:36

    Windows Installer Clean Up

    Product code: {121634B0-2F4B-11D3-ADA3-00C04F52DD52}

    Product state: (5) Installed.

    Package code: {999BF813-45E5-11D3-ADB1-00C04F52DD52}

    Version: 3.00.00.0000

    AssignmentType: 0

    Publisher: Microsoft Corporation

    Language: 1033

    Installed from: C:\Program Files\MSECACHE\WICU3\

       Package: msicuu.msi

    Local package: C:\WINDOWS\Installer\14de9a.msi

    Install date: 2007\04\19

    0 patch packages.

    Windows XP Creativity Fun Packs - Windows Movie Maker 2

    Product code: {DA2D4D11-1811-4A24-B719-BF9F048C6106}

    Product state: (5) Installed.

    Package code: {67444CB4-541C-4088-B3DB-288E429073AF}

    Version: 1.00.0000

    AssignmentType: 0

    Publisher: Microsoft Corporation

    Language: 1033

       Package: Windows XP Creativity Fun Packs - Windows Movie Maker 2.msi

    About link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Help link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Help telephone: None

    Update link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Local package: C:\WINDOWS\Installer\2c8551.msi

    Install date: 2006\06\22

    0 patch packages.

    Microsoft XML Parser

    Product code: {C7340571-7773-4A8C-9EBC-4E4243B38C76}

    Product state: (5) Installed.

    Package code: {5F0CFBF2-C96E-48D7-AFFE-ED254E7B455E}

    Version: 8.0.7820.0

    AssignmentType: 0

    Publisher: Microsoft Corporation

    Language: 0

       Package: msxml3.msi

    Local package: C:\WINDOWS\Installer\cafb07.msi

    Install date: 2007\03\03

    0 patch packages.

    Macromedia Flash Player 8 Plugin

    Product code: {91057632-CA70-413C-B628-2D3CDBBB906B}

    Product state: (5) Installed.

    Package code: {1EEA9E65-83F2-4D21-8756-78D2F00C80C3}

    Version: 8.0.22.0

    AssignmentType: 0

    Publisher: Macromedia

    Language: 1033

    Suggested installation location: C:\WINDOWS\system32\Macromed\Flash\

       Package: Install Flash Player 8 Plugin.msi

    Product Icon: %APPDATA%\Microsoft\Installer\{91057632-CA70-413C-B628-2D3CDBBB906B}\ARPPRODUCTICON.exe

    About link: http://www.macromedia.com

    Help link: http://www.macromedia.com/go/flashplayer_support/

    Local package: C:\WINDOWS\Installer\6a1e36.msi

    Install date: 2007\01\23

    0 patch packages.

    Text-To-Speech-Runtime

    Product code: {7B3F0113-E63C-4D6D-AF19-111A3165CCA2}

    Product state: (5) Installed.

    Package code: {7B3F0113-E63C-4D6D-AF19-111A3165CCA2}

    Version: 1.0.0.0

    AssignmentType: 0

    Publisher: Magix Development GmbH

    Language: 0

       Package: ttsruntime.msi

    Local package: C:\WINDOWS\Installer\cafb0d.msi

    Install date: 2007\03\03

    0 patch packages.

    Windows XP Creativity Fun Packs - Windows Movie Maker 2 - Audio

    Product code: {A6264FF6-C49D-4533-AF42-4875C38BB24C}

    Product state: (5) Installed.

    Package code: {85510E9B-3063-44CE-B24C-57485D437961}

    Version: 1.00.0000

    AssignmentType: 0

    Publisher: Microsoft Corporation

    Language: 1033

       Package: Windows XP Creativity Fun Packs - Windows Movie Maker 2 - Audio.msi

    About link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Help link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Help telephone: None

    Update link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Local package: C:\WINDOWS\Installer\2c84f7.msi

    Install date: 2006\06\22

    0 patch packages.

    Windows XP Creativity Fun Packs - Windows Movie Maker 2 - Titles

    Product code: {3C26E039-BE18-4B5E-A723-45390C451819}

    Product state: (5) Installed.

    Package code: {F70ADEF8-8766-4008-85B1-8A2DC45108CD}

    Version: 1.00.0000

    AssignmentType: 0

    Publisher: Microsoft Corporation

    Language: 1033

       Package: Windows XP Creativity Fun Packs - Windows Movie Maker 2 - Titles.msi

    About link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Help link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Help telephone: None

    Update link: http://www.microsoft.com/windowsxp/experiences">http://www.microsoft.com/windowsxp/experiences

    Local package: C:\WINDOWS\Installer\2c84f1.msi

    Install date: 2006\06\22

    0 patch packages.

    Macromedia Flash Player 8

    Product code: {885A63EA-382B-4DD4-A755-14809B8557D6}

    Product state: (5) Installed.

    Package code: {F370C477-B10C-4D4E-A02F-2AB6024E0276}

    Version: 8.0.22.0

    AssignmentType: 0

    Publisher: Macromedia

    Language: 1033

    Suggested installation location: C:\WINDOWS\system32\Macromed\Flash\

       Package: Install Flash Player 8 ActiveX.msi

    Product Icon: %APPDATA%\Microsoft\Installer\{885A63EA-382B-4DD4-A755-14809B8557D6}\ARPPRODUCTICON.exe

    About link: http://www.macromedia.com

    Help link: http://www.macromedia.com/go/flashplayer_support/

    Local package: C:\WINDOWS\Installer\6a1e31.msi

    Install date: 2007\01\23

    0 patch packages.

    Adobe Common File Installer

    Product code: {8EDBA74D-0686-4C99-BFDD-F894678E5B39}

    Product state: (5) Installed.

    Package code: {8D808886-2E0E-433B-B750-D6F4153E668C}

    Version: 1.00.0000

    AssignmentType: 0

    Publisher: Adobe System Incorporated

    Language: 1033

    Suggested installation location: C:\Program Files\Common Files\Adobe\

    Installed from: D:\Adobe(R) Photoshop(R) CS2\commonfilesinstaller\

       Package: Adobe Common File Installer.msi

    About link: http://www.adobe.com

    Help link: http://www.adobe.com/help

    Help telephone: 1-555-555-4505

    Update link: http://www.adobe.com/updateinfo

    Local package: C:\WINDOWS\Installer\1017181.msi

    Install date: 2006\10\22

    0 patch packages.

    neroxml

    Product code: {56C049BE-79E9-4502-BEA7-9754A3E60F9B}

    Product state: (5) Installed.

    Package code: {F15D643C-F940-4705-8493-D38D853F6D60}

    Version: 1.0.0

    AssignmentType: 0

    Publisher: Nero AG

    Language: 1033

    Installed from: C:\DOCUME~1\Richard\LOCALS~1\Temp\NeroDemo12550\Redist\

       Package: neroxml.msi

    Local package: C:\WINDOWS\Installer\45f34.msi

    Install date: 2007\04\15

    0 patch packages.

    Adobe Bridge 1.0

    Product code: {B74D4E10-6884-0000-0000-000000000103}

    Product state: (5) Installed.

    Package code: {7DB98FBC-5EF5-4C4F-86D7-A03016CD44EA}

    Version: 001.000.003

    AssignmentType: 1

    Publisher: Adobe Systems

    Language: 1033

    Suggested installation location: C:\Program Files\Adobe\Adobe Bridge\

    Installed from: C:\DOCUME~1\Richard\LOCALS~1\Temp\

       Package: adb37B.tmp

    About link: http://www.adobe.com

    Help link: http://www.adobe.com/support/main.html

    Update link: http://www.adobe.com/support/downloads/main.html

    Local package: C:\WINDOWS\Installer\123f72e.msi

    Install date: 2006\10\22

    0 patch packages.

    ABBYY FineReader 5.0 Sprint

    Product code: {D1696920-9794-4BBC-8A30-7A88763DE5A2}

    Product state: (5) Installed.

    Package code: {E1FC6DEF-A60D-44E1-863D-34332DC9B2C8}

    Version: 5.0.482.3421

    AssignmentType: 1

    Publisher: ABBYY Software House

    Language: 0

    Installed from: D:\OCR\

       Package: ABBYY FineReader 5.0 Sprint.msi

    About link: http://www.abbyy.com

    Help link: http://www.abbyy.com/support

    Help telephone: +7 (095) 234 44 00

    Update link: http://www.abbyy.com/support

    Transforms: C:\WINDOWS\Installer\{D1696920-9794-4BBC-8A30-7A88763DE5A2}\1033.mst

    Local package: C:\WINDOWS\Installer\cc81.msi

    Install date: 2005\05\12

    0 patch packages.

    WebFldrs XP

    Product code: {350C97B0-3D7C-4EE8-BAA9-00BCB3D54227}

    Product state: (5) Installed.

    Package code: {350C97B0-3D7C-4EE8-BAA9-00BCB3D54227}

    Version: 9.50.7523

    AssignmentType: 1

    Publisher: Microsoft Corporation

    Language: 1033

    Installed from: C:\WINDOWS\system32\

       Package: webfldrs.msi

    Help link: http://www.microsoft.com/windows

    Local package: C:\WINDOWS\Installer\e6e9.msi

    Install date: 2005\02\10

    0 patch packages.

    Macromedia Flash 8 Video Encoder

    Product code: {8BF2C401-02CE-424D-BC26-6C4F9FB446B6}

    Product state: (5) Installed.

    Package code: {687E7C9A-C6F9-4DC6-9332-702D7663041A}

    Version: 1.00.0000

    AssignmentType: 1

    Publisher: Macromedia

    Language: 1033

    Suggested installation location: C:\Program Files\Macromedia\Flash 8 Video Encoder\

       Package: Macromedia Flash 8 Video Encoder.msi

    Product Icon: C:\WINDOWS\Installer\{8BF2C401-02CE-424D-BC26-6C4F9FB446B6}\ARPPRODUCTICONFLV1.exe

    About link: http://www.Macromedia.com

    Help link: http://www.macromedia.com/go/flash/support

    Update link: http://www.macromedia.com/go/updates

    Local package: C:\WINDOWS\Installer\6a1e2c.msi

    Install date: 2007\01\23

    0 patch packages.

    MSXML 4.0 SP2 (KB925672)

    Product code: {A9CF9052-F4A0-475D-A00F-A8388C62DD63}

    Product state: (5) Installed.

    Package code: {36918A3F-FDBD-4385-9AA4-EC9DDCB78615}

    Version: 4.20.9839.0

    AssignmentType: 1

    Publisher: Microsoft Corporation

    Language: 1033

       Package: msxml.msi

    Help link: http://support.microsoft.com/kb/925672

    Local package: c:\WINDOWS\Installer\2b2c1.msi

    Install date: 2007\03\04

    0 patch packages.

    Adobe Photoshop CS2

    Product code: {236BB7C4-4419-42FD-0409-1E257A25E34D}

    Product state: (5) Installed.

    Package code: {8976594A-2348-4F03-AB8C-89240D232E8F}

    Version: 9.0

    AssignmentType: 1

    Publisher: Adobe Systems, Inc.

    Language: 1033

    Suggested installation location: C:\Program Files\Adobe\Adobe Photoshop CS2\

    Installed from: D:\Adobe(R) Photoshop(R) CS2\

       Package: Adobe Photoshop CS2.msi

    About link: http://www.adobe.com/photoshop

    Help link: http://www.adobe.com/support/main.html

    Help telephone: 1-555-555-4505

    Update link: http://www.adobe.com/photoshop

    Local package: C:\WINDOWS\Installer\1017177.msi

    Install date: 2006\10\22

    0 patch packages.

    Macromedia Flash 8

    Product code: {2BD5C305-1B27-4D41-B690-7A61172D2FEB}

    Product state: (5) Installed.

    Package code: {C9A42B64-045E-4588-B898-587A4607FF55}

    Version: 8.00.0000

    AssignmentType: 1

    Publisher: Macromedia

    Language: 1033

    Suggested installation location: C:\Program Files\Macromedia\Flash 8\

    Installed from: C:\WINDOWS\Downloaded Installations\Macromedia Flash 8\

       Package: Macromedia Flash 8.msi

    Product Icon: C:\WINDOWS\Installer\{2BD5C305-1B27-4D41-B690-7A61172D2FEB}\ARPPRODUCTICONFL8.exe

    About link: http://www.macromedia.com

    Help link: http://www.macromedia.com/go/flash_support

    Update link: http://www.macromedia.com/go/updates

    Local package: C:\WINDOWS\Installer\6a1e3a.msi

    Install date: 2007\01\23

    0 patch packages.

    MSXML 4.0 SP2 (KB927978)

    Product code: {37477865-A3F1-4772-AD43-AAFC6BCFF99F}

    Product state: (5) Installed.

    Package code: {2B27DCD9-53FA-4885-B6CD-698623819F4C}

    Version: 4.20.9841.0

    AssignmentType: 1

    Publisher: Microsoft Corporation

    Language: 1033

    Installed from: c:\757d1eab3b2fd214e3454ea0328a\

       Package: msxml.msi

    Help link: http://support.microsoft.com/kb/927978

    Local package: c:\WINDOWS\Installer\2b2c8.msi

    Install date: 2007\03\04

    0 patch packages.

    Macromedia Extension Manager

    Product code: {5546CDB5-2CE2-498B-B059-5B3BF81FC41F}

    Product state: (5) Installed.

    Package code: {7DC6AC23-4173-4456-881D-0C3178F87B77}

    Version: 1.7.240

    AssignmentType: 1

    Publisher: Macromedia, Inc.

    Language: 1033

    Suggested installation location: C:\Program Files\Macromedia\Extension Manager\

       Package: Macromedia_Extension_Manager.msi

    About link: http://www.macromedia.com

    Help link: http://www.macromedia.com/go/dreamweaver/support

    Update link: http://www.macromedia.com/go/dreamweaver

    Local package: C:\WINDOWS\Installer\6a1e27.msi

    Install date: 2007\01\23

    0 patch packages.

    Product code: {B10D2D36-B94C-4A28-9FAD-0606CA8E39C4}

    Product state: (5) Installed.

    Package code: {1C8F90EF-B7F0-48EF-B00B-49E98754CCA5}

    Version: 8.0.40607.16

    AssignmentType: 1

    Publisher: Microsoft

    Language: 1033

       Package: vjssetup.msi

    Local package: C:\WINDOWS\Installer\436451.msi

    Install date: 2006\02\23

    0 patch packages.

    Adobe Acrobat 8 Professional - English, Français, Deutsch

    Product code: {AC76BA86-1033-F400-7760-000000000003}

    Product state: (5) Installed.

    Package code: {B6B3C39B-637C-465F-BC2B-087FC2EA901A}

    Version: 8.0.0

    AssignmentType: 1

    Publisher: Adobe Systems

    Language: 0

    Suggested installation location: C:\Program Files\Adobe\Acrobat 8.0\

    Installed from: D:\Adobe Acrobat 8 Professional\

       Package: AcroPro.msi

    Product Icon: C:\WINDOWS\Installer\{AC76BA86-1033-F400-7760-000000000003}\_SC_Acrobat.exe

    About link: http://www.adobe.com

    Help link: http://www.adobe.com/support/main.html

    Help telephone:  

    Update link: http://www.adobe.com/acrofamily/main.html

    Transforms: C:\WINDOWS\Installer\{AC76BA86-1033-F400-7760-000000000003}\1033.mst

    Local package: C:\WINDOWS\Installer\2eb5d3c.msi

    Install date: 2006\12\06

    0 patch packages.

    TuneUp Utilities 2006

    Product code: {868D7896-99D4-4513-BC62-2B3AD3E24926}

    Product state: (5) Installed.

    Package code: {8E227DFD-07AE-4C6C-BA54-25AA47D0D1F0}

    Version: 5.0.2331

    AssignmentType: 1

    Publisher: TuneUp Software

    Language: 0

    Installed from: C:\Program Files\Common Files\Wise Installation Wizard\

       Package: WIS868D789699D44513BC622B3AD3E24926_5_0_2331.MSI

    About link: www.tune-up.com

    Help link: www.tune-up.com

    Local package: C:\WINDOWS\Installer\71ff5b.msi

    Install date: 2006\11\19

    0 patch packages.

    Alt-Tab Task Switcher Powertoy for Windows XP

    Product code: {A7050037-F0EA-4BAB-BCD5-FC05507D6147}

    Product state: (5) Installed.

    Package code: {CAF4680A-D280-4496-BA56-5A3B4C6C27C0}

    Version: 1.00.0001

    AssignmentType: 1

    Publisher: Microsoft Corporation

    Language: 1033

    Installed from: C:\WINDOWS\Downloaded Installations\

       Package: Alt-Tab Task Switcher Powertoy for Windows XP.msi

    Product Icon: C:\WINDOWS\Installer\{A7050037-F0EA-4BAB-BCD5-FC05507D6147}\ARPPRODUCTICON.exe

    About link: http://www.microsoft.com/windowsxp

    Help link: http://www.microsoft.com/directory

    Help telephone: (800) 426-9400

    Update link: http://www.microsoft.com/windowsxp

    Local package: C:\WINDOWS\Installer\37d33.msi

    Install date: 2006\06\08

    0 patch packages.

    Adobe Help Center 1.0

    Product code: {E9787678-1033-0000-8E67-000000000001}

    Product state: (5) Installed.

    Package code: {88757974-EAEE-4981-BF13-AF8DB3A90BC0}

    Version: 001.000.000

    AssignmentType: 1

    Publisher: Adobe Systems

    Language: 1033

    Suggested installation location: C:\Program Files\Adobe\Adobe Help Center\

    Installed from: D:\Adobe(R) Photoshop(R) CS2\Help Center\

       Package: Adobe Help Center 1.0.msi

    About link: http://www.adobe.com

    Help link: http://www.adobe.com

    Help telephone: 1-555-555-4505

    Update link: http://www.Adobe.com/updateinfo

    Local package: C:\WINDOWS\Installer\1017186.msi

    Install date: 2006\10\22

    0 patch packages.

    J2SE Runtime Environment 5.0 Update 11

    Product code: {3248F0A8-6813-11D6-A77B-00B0D0150110}

    Product state: (5) Installed.

    Package code: {3248F0A6-6813-11D6-A77B-00B0D0150110}

    Version: 1.5.0.110

    AssignmentType: 1

    Publisher: Sun Microsystems, Inc.

    Language: 0

    Installed from: http://javadl.sun.com/webapps/download/GetFile/1.5.0_11-b03/windows-i586//

       Package: jre1.5.0_11-iftw.msi

    About link: http://java.com

    Help link: http://java.com

    Update link: http://java.sun.com

    Transforms: C:\WINDOWS\Installer\{3248F0A8-6813-11D6-A77B-00B0D0150110}\sp1033.MST

    Local package: C:\WINDOWS\Installer\17692f.msi

    Install date: 2007\02\19

    0 patch packages.

    Java(TM) SE Runtime Environment 6 Update 1

    Product code: {3248F0A8-6813-11D6-A77B-00B0D0160010}

    Product state: (5) Installed.

    Package code: {3248F0A6-6813-11D6-A77B-00B0D0160010}

    Version: 1.6.0.10

    AssignmentType: 1

    Publisher: Sun Microsystems, Inc.

    Language: 0

    Installed from: http://javadl.sun.com/webapps/download/GetFile/1.6.0_01-b06/windows-i586/

       Package: jre1.6.0_01-iftw.msi

    About link: http://java.com

    Help link: http://java.com

    Update link: http://java.sun.com

    Transforms: C:\WINDOWS\Installer\{3248F0A8-6813-11D6-A77B-00B0D0160010}\sp1033.MST

    Local package: C:\WINDOWS\Installer\10c9f6d.msi

    Install date: 2007\04\09

    0 patch packages.

    Microsoft Office 2000 Premium

    Product code: {00000409-78E1-11D2-B60F-006097C998E7}

    Product state: (5) Installed.

    Package code: {95FB8B80-DF59-11D2-AFA2-00C04F5B3AEF}

    Version: 9.00.2720

    AssignmentType: 1

    Publisher: Microsoft Corporation

    Language: 1033

    Installed from: D:\

       Package: DATA1.MSI

    Help link: http://www.microsoft.com/support

    Local package: C:\WINDOWS\Installer\2598fe.msi

    Install date: 2005\05\12

    0 patch packages.

    Microsoft Office 2000 Disc 2

    Product code: {00040409-78E1-11D2-B60F-006097C998E7}

    Product state: (5) Installed.

    Package code: {6136B430-DF5B-11D2-BE45-00C04F6C8AD6}

    Version: 9.00.2720

    AssignmentType: 1

    Publisher: Microsoft Corporation

    Language: 1033

    Installed from: D:\

       Package: DATA2.MSI

    Help link: http://www.microsoft.com/support

    Local package: C:\WINDOWS\Installer\2599c9.msi

    Install date: 2005\05\12

    0 patch packages.

    Nero 7 Premium

    Product code: {43FFE159-3199-4188-A1CD-629166AD1033}

    Product state: (5) Installed.

    Package code: {2CB1BD8C-C76D-4FB6-BECB-12E45EA3B32A}

    Version: 7.02.6445

    AssignmentType: 1

    Publisher: Nero AG

    Language: 1033

    Suggested installation location: C:\Program Files\Nero\Nero 7\

    Installed from: C:\DOCUME~1\Richard\LOCALS~1\Temp\NeroDemo12550\

       Package: Nero.msi

    Product Icon: C:\WINDOWS\Installer\{43FFE159-3199-4188-A1CD-629166AD1033}\ARPPRODUCTICON.exe

    About link: http://www.nero.com/

    Help link: techsupport@nero.com retail-support@nero.com chinese-techsupport@nero.com

    Help telephone: xxxxxxxxxxxxxx

    Update link: techsupport@nero.com retail-support@nero.com chinese-techsupport@nero.com

    Transforms: C:\WINDOWS\Installer\{43FFE159-3199-4188-A1CD-629166AD1033}\1033.mst

    Local package: C:\WINDOWS\Installer\45f40.msi

    Install date: 2007\04\15

    0 patch packages.

    Windows Genuine Advantage v1.3.0254.0

    Product code: {63569CE9-FA00-469C-AF5C-E5D4D93ACF91}

    Product state: (5) Installed.

    Package code: {9606A54A-74F2-4CEE-BEF1-147C479507E6}

    Version: 1.3.0254.0

    AssignmentType: 1

    Publisher: Microsoft

    Language: 1033

       Package: LegitCheckControl.msi

    About link: http://www.microsoft.com/genuine/downloads/whyValidate.aspx/about

    Help link: http://www.microsoft.com/genuine/downloads/whyValidate.aspx/help

    Help telephone: 1-425.882.8080

    Update link: http://www.microsoft.com/genuine/downloads/whyValidate.aspx/update

    Local package: C:\WINDOWS\Installer\25c004.msi

    Install date: 2005\09\27

    0 patch packages.

    Calculator Powertoy for Windows XP

    Product code: {B37C842A-B624-46B8-A727-654E72F1C91A}

    Product state: (5) Installed.

    Package code: {F678C174-C540-4EEC-8219-F802A8ECDB07}

    Version: 1.00.0001

    AssignmentType: 1

    Publisher: Microsoft Corporation

    Language: 1033

    Installed from: C:\WINDOWS\Downloaded Installations\

       Package: Calculator Powertoy for Windows XP.msi

    Product Icon: C:\WINDOWS\Installer\{B37C842A-B624-46B8-A727-654E72F1C91A}\ARPPRODUCTICON.exe

    About link: http://www.microsoft.com/windowsxp

    Help link: http://www.microsoft.com/directory

    Help telephone: (800) 426-9400

    Update link: http://www.microsoft.com/windowsxp

    Local package: C:\WINDOWS\Installer\2f334.msi

    Install date: 2006\06\19

    0 patch packages.

    QuickTime

    Product code: {F07B861C-72B9-40A4-8B1A-AAED4C06A7E8}

    Product state: (5) Installed.

    Package code: {FDAD1103-F274-4D52-A4B4-047675BE8699}

    Version: 7.1.3.100

    AssignmentType: 1

    Publisher: Apple Computer, Inc.

    Language: 1033

    Suggested installation location: C:\Program Files\QuickTime\

       Package: QuickTime.msi

    Product Icon: C:\WINDOWS\Installer\{F07B861C-72B9-40A4-8B1A-AAED4C06A7E8}\Installer.ico

    About link: http://www.apple.com

    Help link: http://www.apple.com/support/

    Help telephone: 1-800-275-2273

    Update link: http://www.apple.com/quicktime/

    Local package: C:\WINDOWS\Installer\c8c08.msi

    Install date: 2006\11\12

    0 patch packages.

    Adobe Stock Photos 1.0

    Product code: {EE0D5DCD-2B97-4473-98DF-E93C0BD92F7A}

    Product state: (5) Installed.

    Package code: {A6DE94EB-270F-445A-8229-708FFB58444D}

    Version: 1.0.8

    AssignmentType: 1

    Publisher: Adobe Systems

    Language: 0

    Suggested installation location: C:\Program Files\Adobe\Adobe Stock Photos\

    Installed from: C:\DOCUME~1\Richard\LOCALS~1\Temp\

       Package: adb9.tmp

    About link: http://www.adobe.com

    Help link: http://www.adobe.com

    Help telephone: 1-555-555-4505

    Update link: http://www.adobe.com

    Local package: C:\WINDOWS\Installer\5326fe.msi

    Install date: 2006\12\06

    0 patch packages.

    Product code: {B2A2C64F-AFA1-4BF0-9879-1071EF0C950C}

    Product state: (5) Installed.

    Package code: {A17B32A2-0013-44B4-A221-689725B9C84A}

    Version: 1.16.40607.16

    AssignmentType: 1

    Publisher: Microsoft

    Language: 1033

       Package: msdnexp.msi

    Local package: C:\WINDOWS\Installer\436456.msi

    Install date: 2006\02\23

    0 patch packages.

    34 products installed.

    I can't see anything that would stop me installing.

    Sorry this is such a long post - but any help would be appreciated.

  • Hi Rmg1 - I see 2 items in the msiinv list posted there that are beta products that will need to be removed:

    {B10D2D36-B94C-4A28-9FAD-0606CA8E39C4}

    {B2A2C64F-AFA1-4BF0-9879-1071EF0C950C}

    These are both from the VS 2005 beta 1.  The first is the J# Express Edition and the second is the MSDN Express Edition.

    Can you please try to remove these 2 products using steps 3-7 listed at http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx and see if that resolves this issue?

  • Thanks Aaron

    I'm no longer going bald!!

    ;-)

  • My uninstallation of Visual Studio Express C# has been suspended.  I began to uninstall but after after about 5 hours, it appeared that the uninstall wasn't really working so I "ended" it.  Now, i can't find any way to "resume" it.  I've tried just about everything I can think of.  When I try to use Add/Remove hardware, I get a message saying that the vs_setup.msi file can't be opened.

    Also, according to the output produced by msiiv, C# and J# "aren't installed"  However, they show up everywhere else (add/remove, program files, etc).

    Any ideas? I'm at a loss with this one...

    Thanks

  • Hi Coker - It sounds like the uninstall was mostly completed (since you do not see these products in the msiinv output), but it is not completely done because you still see them in Add/Remove Programs.  I think the cleanest solution would be to re-install these programs and then uninstall them again.  If that doesn't help or you don't want to go through that hassle, you can manually remove the files from Program Files and registry keys that are used to display the entries in Add/Remove Programs (they are located in a sub-key under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall and you can search for them by the names of the products).

  • Si certains d'entre vous ont installé la beta du SP1 sur leur Team Foundation Server, vous aurez certainement

  • Si certains d&#39;entre vous ont installé la beta du SP1 sur leur Team Foundation Server, vous aurez

  • Thanks for the great post. I successfully removed my application. I cannot believe how easy if was to create a msi pack. Why am i finding it so hard to figure out how to create an uninstall so i dont how to go about this round about way. Any links or suggestions?

  • Hi Rouxbox - I'm not sure I understand your question.  An MSI supports installing, repairing and uninstalling.  You don't have to create a separate package for uninstall - you should be able to use the same package that you use for install.  Can you please clarify the exact problem you're running into related to uninstall so I can try to help better?

  • Neat tool, thanks!  I recently tried to use the installer cleanup utility but it listed not one single program in the "installed products" list although I have tons of them, so I knew I had a problem somewhere.  I don't seem to have any probs installing apps, tho, so I don't know how hard I should pursue this - might break something - still, I sure prefer to have everything working as it should be.  So if you have any ideas about the following, I'd sure be grateful for any input.

    Running msiinv w/the -x arguement gives me:

    3064 components without an installed product.

    62 permanent components with a product currently installed.

    203 permanent components.

    273 shared components between currently installed applications.

    A lot of these were pre-installed programs, OEM, and I've found probs with uninstalling those in the past, but some of them are progs I installed, too, and I can't figure why they're 'orphaned'...Running with -p won't finish, gives me:

    Unexpected error: 1605 <>

    Assertion failed: ERROR_NO_MORE_ITEMS == uiEnumerateReturn, file msiinv.cpp, lin

    e 897

    This application has requested the Runtime to terminate it in an unusual way.

    Please contact the application's support team for more information.

    Unfortunately, it seems that with xp sp2 there's no easy way to reinstall Windows Installer, not that I've found so far, anyway.  I did try re-applying 3.1v2 but that didn't do a thing.  What I'd really like is to have the Installer properly recognize all the progs it HAS installed - any ideas?  thanks :)

  • Hi Searcher54 - The -x argument is not the best one to use if you are trying to just get a list of installed programs.  It is only useful to get a list of orphaned Windows Installer components, which is an advanced technique usually only needed by the Microsoft product support teams.

    I'd suggest running with the -p flag to get a list of installed products.

    Also, I'm not sure exactly why you are trying to use the MsiInv tool to uninstall a product on your system.  I strongly suggest first trying to uninstall whatever product you are having trouble with using the entry in Add/Remove Programs before resorting to manually installing by using MsiInv.

    It doesn't sound like you need to repair Windows Installer on your system.  Running Msiinv with the -p switch instead of -x should take care of the issue you're referring to.  If you still think you need to repair Windows Installer, I'd suggest trying these steps:

    1.  Click on the Start menu, choose Run, type cmd and click OK

    2.  Run this command:  sfc /scannow

    3.  After it finishes (it can take a while), run this command:  msiexec /unregister

    4.  Run this command:  msiexec /regserver

    5.  Reboot

    That should allow you to repair Windows Installer if needed.

    Hopefully this helps.

  • Thanks muchly for your reply,  astebner.  Guess I didn't explain my purpose real well - I was trying to figure out why Windows Installer Cleanup Utility saw zip, nada, absolutely NO programs it had installed, when there should be lots of them.  That's why I used the -x, as it seemed by your explanation of that switch that it might tell me something.  It did, but I'm not sure what! lol  I just know that something's amiss or the Utility would give me selections in the box for "installed products".  It all started with Macrovision giving me IE errors then refusing to uninstall. (preparatory to a clean install)

    I did try running msiinv with the -p switch, but it would not finish, giving me the following error after listing only a few of my installed programs:

    "Unexpected error: 1605 <>

    Assertion failed: ERROR_NO_MORE_ITEMS == uiEnumerateReturn, file msiinv.cpp, line 897

    This application has requested the Runtime to terminate it in an unusual way.

    Please contact the application's support team for more information."

    I'll try the steps you suggested for the Windows Installer, and thanks again. Please let me know if you have any ideas about why the -p switch quits with an error, and/or why Cleanup Utility doesn't show any programs at all.  

Page 3 of 5 (71 items) 12345
Leave a Comment
  • Please add 6 and 5 and type the answer here:
  • Post