If the product was installed with an MSI-based InstallShield solution then your 
first approach was the correct one, and if so you should be trying to figure 
out why the upgrade failed. Your custom action solution will not work in the 
execute sequence, and is not the right thing to do if the original install is 
MSI based.  A major upgrade should work fine.

If the InstallShield setup is non-MSI, the kind of thing you can do is a custom 
action in the UI sequence to uninstall the older product using the 
uninstallstring, and a LaunchCondition in the execute sequence based on the 
presence of the UninstallString so you can prevent a silent install from 
installing on top of the old product.

Phil Wilson

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of V K Gangwar
Sent: Wednesday, March 05, 2008 9:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Old Installshield upgrade / Remove using MSI Installer

Guys,

I developed a MSI installer (WiX) for a product was installed through 
InstallShield installer. I want when I install through MSI installer it should 
upgrade/ remove the old InstallShield. I tried to upgrade but no success. Then 
I wrote a custom action in which I am calling a script which removes old 
installshield. I want to run this script before copying new installer files. My 
problem is I can't call "deferred (in-script)" custom action before 
"InstallInitialize" custom action. If I change my cutom action to non deferred 
(immediate or other..). custom action doesn't execute.
How I can fix this issue...

Regards,
Vk



________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it 
now.<http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to