Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Having problems getting the betas of Whidbey uninstalled? Use msiinv.exe. - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

Having problems getting the betas of Whidbey uninstalled? Use msiinv.exe.

I have installed and uninstalled several sets of bits with .NET.  One thing that I have found INFINITELY valuable is the utility called msiinv.exe.  This utility queries the registry for information about installed packages.  It seems to be a little more accurate than the the windows control panel.  Great, where do you find this utility?  Googling doesn't help much.  I posted it up in the newsgroup microsoft.private.sqlserver2005.setup (don't worry, its actually a publically available newsgroup).  I put it under the post about "Error re-installing SqlServer Express" to assist in problems that this person was having.

You can run it and pipe the outputs to a file.  From this, you can take the product code (it looks like a guid) and run msiexec /x guid.  This will uninstall the offending package.

Wally

Comments

AB said:

I get things like this:

Product code: {29D45189-1851-11D3-8FED-27C34F1DD778}
Product state: (1) The product is advertised, but not installed.

0 features.
0 features are not used.
0 features are advertised.
0 features are absent.
0 features installed to run local.
0 features installed to run from source.
0 features installed for default.
0 features in some other state.
0 components.
0 qualified.
0 permanent.
0 shared.
0 patch packages.
# November 17, 2004 4:58 PM

TrackBack said:

# December 14, 2004 9:17 PM

TrackBack said:

# December 14, 2004 11:03 PM

Weblog said:

If you are having problems trying to uninstall previous betas of Whidbey with little bits and pieces...

# October 3, 2006 5:15 PM

Matthew W. (MSFT) said:

Glad you found msiinv useful.  It uses the MSI APIs directly, rather than going straight to the registry.

-- matthew

(Developer of msiinv.exe)

# October 17, 2008 5:00 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)