Is this on a dev box or deployed?  If dev box, the easiest way out of this 
problem is to fix the msi and recache it with msiexec /i foo.msi REINSTALL=ALL 
REINSTALLMOVE=vomus.  Then you should be able to do your uninstall.
 
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: Ryan Taylor <rtay...@penbaysolutions.com>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Thu, November 11, 2010 8:44:33 PM
Subject: [WiX-users] How do I force an uninstall that does not meet the 
conditions?

I believe that I have created an installation that I cannot uninstall due to a 
thoughtless condition.  Behold!!

<!-- Check Conditions -->
<Condition Message="PowerShell 2.0 or greater is required">
        <![CDATA[NOT Installed OR POWERSHELLVERSION >= "2.0"]]>
</Condition>

I want the installer to fail if PowerShell is less than version 2.0.  However, 
I 
do not want to perform this check on uninstall.  I should be able to uninstall 
my application if PowerShell is not available.  I think I want:

<!-- Check Conditions -->
<Condition Message="PowerShell 2.0 or greater is required">
        <![CDATA[Installed OR (POWERSHELLVERSION >= "2.0")]]>
</Condition>

In any case, I know have an installed application that I cannot uninstall via 
Add/Remove Programs. How can I properly clean up the installation and remove it 
from Add/Remove programs?

Ryan Taylor
Office (207)-504-5294
rtay...@penbaysolutions.com
www.penbaysolutions.com



CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
Any unauthorized review, use, disclosure or distribution is prohibited. If you 
are not the intended recipient, please do not read, disclose, reproduce, 
distribute, disseminate or otherwise use this transmission, but contact the 
sender by reply e-mail and destroy all copies of the message and its 
attachments.

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to