This surprised me too because I thought I had read that there was a default value however supplying the Schedule="afterInstallValidate" value did fix my installer, thanks very much for the fast help!
On Tue, Apr 19, 2011 at 10:04 AM, David Watson <dwat...@sdl.com> wrote: > Is your UpgradeCode the same as your previous MSIs? > > Also are you updating the ProductVersion correctly each time ? > > Schedule should have a default so you do not need to specify it. > > http://wix.sourceforge.net/manual-wix3/major_upgrade.htm > > Dave > > -----Original Message----- > From: Tyler Walters [mailto:tyler.walters...@gmail.com] > Sent: 19 April 2011 14:08 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Web installer using Major Upgrade resulting in > multiple listings in Add/Remove Programs > > I think the 'Schedule' attribute is needed on the 'MajorUpgrade' element in > order for it to remove the existing version. > > On Tue, Apr 19, 2011 at 7:59 AM, Nick Porter > <porter.nicho...@gmail.com>wrote: > >> I am attempting to use Major Upgrade with my Wix installer to IIS 6 on >> a Windows XP machine. In the past when using this same installer with >> a Minor Upgrade it would work fine and only show up once in the >> Add/Remove Programs dialog even after several upgrades. Now that I >> have changed the installer to a Major Upgrade it adds a new entry in >> the Add/Remove Programs dialog each time I install the upgrade. As >> part of the change from Minor Upgrade to Major Upgrade I also made the >> <Product ID="*" and maybe that is part of the problem, however I >> thought that with Major Upgrade I needed to set that ID to something >> new each time I built the installer. >> >> I am including the relevant part of the wxs file below. If anyone has >> had this problem or knows how to handle fixing it to only show up once >> in Add/Remove Programs your input and help will be greatly >> appreciated. >> >> <Product >> Name="$(var.WebName)" >> Id="*" >> UpgradeCode="MY-GUID" >> Manufacturer="My Company" >> Version="$(var.ProductVersion)" >> Language="1033"> >> <Package Id='*' >> InstallScope="perMachine" >> Manufacturer="My Company" >> InstallerVersion="200" >> Languages="1033" >> Compressed="yes"/> >> >> <MajorUpgrade >> DowngradeErrorMessage='A later version of this application is >> already installed. Setup will now exit'></MajorUpgrade> >> >> <Media Id="1" Cabinet="MyCab.cab" EmbedCab="yes" /> >> >> <Property Id="IISROOT" Value="C:\Inetpub\wwwroot" /> >> >> <Directory Id="TARGETDIR" Name="SourceDir"> >> <Directory Id="IISROOT" Name="."> >> <Directory Id="FILEINSTALLDIR" Name="DirName"> >> <Component Id="MyCompany_Component" Guid="My-Guid-New"> >> ... >> >> >> > ----------------------------------------------------------------------------- > - >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > > > -- > Tyler Walters > ----------------------------------------------------------------------------- > - > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > SDL PLC confidential, all rights reserved. > If you are not the intended recipient of this mail SDL requests and requires > that you delete it without acting upon or copying any of its contents, and we > further request that you advise us. > SDL PLC is a public limited company registered in England and Wales. > Registered number: 02675207. > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 > 7DY, UK. > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users