I have added the MajorUpgrade ad shown in the wix help
<MajorUpgrade
  DowngradeErrorMessage="A later version of [ProductName] is already installed. 
Setup will now exit.">I haven't assigned the Schedule value as it is for 
default "afterInstallValidate" as reported in the WiX help
Schedule => Determines the scheduling of the RemoveExistingProducts standard 
action, which is when the installed product is removed. The default is 
"afterInstallValidate" which removes the installed product entirely before 
installing the upgrade product. It's slowest but gives the most flexibility in 
changing components and features in the upgrade product.-
But what I can see from the logs is that when I run the Burn setup it start and 
perform the installation of all the msi packages and then start the unistall of 
the old Burn setup that perform the uninstall of the msi package.
As I can see the msi is not involved in the perform of the upgrade but it's 
Burn that call the install and the uninstall of the package.
As another proof I have tried to install and the upgrade the only msi package 
running it directly.In the case of a minor upgrade (changing only the revision 
number) it doesn't perform the uninstall of the old package but only the minor 
upgrade.In the case of a major upgrade (changing the first version number) it 
does all correctly, uninstall the old package and the install the new one.
So where is the problem is Bur bugged in the version 3.8? I have missed 
something?As I have seen the element MajoutUpgrade on the msi package not block 
the minor upgrade but is used only if it's added using Burn.But using Burn is 
the bootstrapper that command the process and install first and then uninstall.
So where is the problem?I'm really disappointed, I'm near to give up with using 
WiX and Burn.
As soon as possible I'll try to add a simplified sample to reproduce the 
problem,Thanks


> Date: Tue, 14 Oct 2014 11:17:27 -0700
> From: phildgwil...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] R: WiX Burn Major Upgrade Uninstall the old msi 
> packages but not install the new msi packages
> 
> If your MSI package has the MajorUpgrade element to perform the
> upgrade, then that's what's doing the upgrade, so you perhaps have it
> scheduled afterInstallExecute, which means the uninstall happens after
> the new product is installed. If you schedule it afterInstallInitlize
> it will remove the old product first.
> ---------------
> Phil Wilson
> 
> 
> On Tue, Oct 14, 2014 at 1:48 AM, Marco Tognacci <mark...@live.it> wrote:
> > The burn log says that first is installed the new Version of My package 
> > then is uninstalled the old Version of My package. As myPackage remove some 
> > folders on uninstall, it remove even the new files intalled by the new 
> > Version of myPackage. IS there a way to force burn setup to perform first 
> > uninstall of the old Version of myPackage and then perfom the intall of the 
> > new Version of myPavkage? myPackage have the MajorUpgrade element, and 
> > I'using wix 3.8.
> >
> > Inviata dal mio Windows Phone
> > ________________________________
> > Da: Hoover, Jacob<mailto:jacob.hoo...@greenheck.com>
> > Inviato: ‎06/‎10/‎2014 20:41
> > A: General discussion about the WiX 
> > toolset.<mailto:wix-users@lists.sourceforge.net>
> > Oggetto: Re: [WiX-users] WiX Burn Major Upgrade Uninstall the old msi 
> > packages but not install the new msi packages
> >
> > The bundle log will tell you what it did and why it did it. Are you using 
> > WixStdBA or your own BA?
> >
> > -----Original Message-----
> > From: Marco Tognacci [mailto:mark...@live.it]
> > Sent: Monday, October 06, 2014 1:24 PM
> > To: WiX - users
> > Subject: [WiX-users] WiX Burn Major Upgrade Uninstall the old msi packages 
> > but not install the new msi packages
> >
> > I have made a Burn setup package with the last official WiX release 3.8.I 
> > have some msi package inside the Burn chain, for example packA.msi version 
> > number 1.0.0.0packB.msi version number 1.0.0.0 the burn package genrated 
> > isburn.exe version number 1.0.0.0 then I need to update one of the packages 
> > and regenerate the burn setup again packA.msi version number 
> > 1.1.0.0packB.msi version number 1.0.0.0burn.exe version number 1.1.0.0
> >
> > when I install the new package burn call the uninstall of all package but 
> > not install the new packages.Is there any bug in WiX 3.8 about upgrading 
> > Burn? or There is some problems in how I make the burn package for 
> > upgrading?
> > ------------------------------------------------------------------------------
> > Slashdot TV.  Videos for Nerds.  Stuff that Matters.
> > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> > ------------------------------------------------------------------------------
> > Slashdot TV.  Videos for Nerds.  Stuff that Matters.
> > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > ------------------------------------------------------------------------------
> > Comprehensive Server Monitoring with Site24x7.
> > Monitor 10 servers for $9/Month.
> > Get alerted through email, SMS, voice calls or mobile push notifications.
> > Take corrective actions from your mobile device.
> > http://p.sf.net/sfu/Zoho
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to