Do you have RemoveExistingProducts scheduled? Rob
Libor wrote: > Hi guys, > > > > I am quite new into the msi business, and I can't figure this out: > > > > I have two versions of my project, and of course I want to remove the > previous version when a new version is installed. I used wix for my old > version: > > > > <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> > > <Product Name="MyProduct" Id="40DC057B-BAA7-481A-A5CD-8E1D87A44271" > Language="1033" Codepage="1252" Version="1.0.31" Manufacturer="MyCompany > Inc." UpgradeCode="949DD706-5899-4552-81B8-243747DB6AB8"> > > <Package Id="????????-????-????-????-????????????" > Keywords="A,B,C,Installer" Description="MyProduct 1.0 Installer" > Comments="Bla blah" Manufacturer=" MyCompany Inc." InstallerVersion="200" > Languages="1033" Compressed="yes" SummaryCodepage="1252" /> > > <Media Id="1" Cabinet="Main.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1" > /> > > . > > <Upgrade Id="949DD706-5899-4552-81B8-243747DB6AB8"> > > <UpgradeVersion Maximum="1.0.31" Minimum="1.0.0.0" > Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" OnlyDetect="no" > IncludeMaximum="no" /> > > <UpgradeVersion IncludeMinimum="yes" Minimum="1.0.31" OnlyDetect="yes" > Property="NEWPRODUCTFOUND" /> > > </Upgrade> > > </Product> > > </Wix> > > > > For the new version, I modified the wxs file just by increasing the version > numbers in Product and both UpgradeVersion tags. But the new installer says > "Another version of this product is already installed. Installation of this > version cannot continue." > > > > I also tried to change the Product ID; in that case the new installer did > install, but did not remove the previous version, so my Control Panel showed > two instances of the program, and to remove it I needed to uninstall twice. > > > > What am I missing? There must be some easy way to do the obvious - install a > new version over the old one. > > > > Thanks for any hint, > > Libor > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users