You can try to find the Product Code of this installation in registry
(under SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall) and run the
uninstall like this:
    Msiexec /x {PRODUCT-CODE-GUID-HERE} IGNORE_PRE_CHECK=1

Hope this helps,

-- Yan

-----Original Message-----
From: Elfe Xu [mailto:elf...@microsoft.com] 
Sent: Thursday, 01 July, 2010 11:26
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to uninstall the program if I made such mistake

Hi,

I'm working on some setup project.
I built my project, run the msi, and get the product installed.
I made some change on the code, rebuilt it again, run the msi, and got
error "another version is already installed, please use ARP ..."
I went to the ARP in control panel, find my product, click Uninstall...
The, the terrible error message box comes out:
Windows Server 2008 is required. Blablabla...
This is the error message I defined and used in launchcondition, the bad
thing is I've forgot to add  "Installed OR" in the condition expression!
<Condition Message="!(loc.Error_Prereq_OSVersion)">
      <![CDATA[(IGNORE_PRE_CHECK > 0) OR (OS_SUPPORTE_UI AND VersionNT
>= 600 AND WindowsBuild >= 6001 AND MsiNTProductType =3)]]>
</Condition>
IGNORE_PRE_CHECK is a property I used temporally, to make the setup work
in my dev machine (it's win7).
So I can install/uninstall it by
Msiexec /i (/x) setup.msi IGNORE_PRE_CHECK=1

But now, I don't have the original msi anymore and can only remove it
from ARP. What should I do?

Thanks,
-Elfe


------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to