Re: [WiX-users] How to uninstall the program if I made such mistake

2010-07-01 Thread Elfe Xu

SUPER!
This works! Thanks!
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-uninstall-the-program-if-I-made-such-mistake-tp5242524p5244519.html
Sent from the wix-users mailing list archive at Nabble.com.

--
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


Re: [WiX-users] How to uninstall the program if I made such mistake

2010-07-01 Thread Yan Sklyarenko
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!

  

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


[WiX-users] How to uninstall the program if I made such mistake

2010-07-01 Thread Elfe Xu
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!

  

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