I use three techniques to test installs:

Brute Force Technique
---------------------
Install on a VM using VMware.  
Prior to the install take a snapshot.
Use the Snapshot Manager to revert to a prior state.
This is particularly effective when testing installs managed by
bootstrappers.  I brings the system back to the state prior to the
install

Less Brute Force Technique
--------------------------
Install the MSI Editor, ORCA, on your system
Turn on MSIEXEC logging, /LOG .\msiexec_install.log to get an idea of
what happened.
Locate the location of the cached msi copy that ARP will use to remove
the product
Edit that cached copy of the msi using ORCA to get around whatever error
is causing the problem.
Invoke the Remove option from ARP.
This usually fixes things.

The first technique can be considered a "best practice".  The second
technique can be done if you are desparate.

-----Original Message-----
From: Wilbert van Dolleweerd [mailto:wilb...@arentheym.com] 
Sent: Monday, March 14, 2011 1:41 AM
To: General discussion for Windows Installer XML toolset.
Cc: Rob Hamflett
Subject: Re: [WiX-users] Removing Broken Installs Safely

2011/3/14 Rob Hamflett <r...@snsys.com>:

> Depending on what exactly is broken you might be able to get things
into a working state again just
> by running a repair first.

I don't know about you guys, but I use a virtual machine to test the
installs/uninstalls. Yes, you can still run in situations like this,
but hopefully less so ;-)

-- 
Kind regards,

Wilbert van Dolleweerd
Blog: http://walkingthestack.wordpress.com/
Twitter: http://www.twitter.com/wvandolleweerd

------------------------------------------------------------------------
------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to