Phill Hogland wrote
> I am relatively new also, but others have advised that implementing a
> MajorUpgrade is the simplest and generally recommended deployment plan. 
> So to do this you either need to remember to change both the ProductCode
> (and ProductId = "*" lets Wix do this for you) AND you must change the
> version.  (In an MSI only the first three parts of the version matter but
> in the bundle.exe all four parts of the version matter.)  So for my
> project to always do a MajorUpgrade I use the ProductId = "*" and
> implement a auto versioning which increments for every build.  Before I
> incremented the auto version I had the same behavior that you reported
> which confused my testing as I tried to understand what was happening.
> 
> Also there is a concept of a Major Upgrade for the MSI and also for the
> Bundle.exe, so this issue needs to be addressed in both places. 
> Originally I used Neil's bal:autoversion solution and then later I figured
> out how to write MSBUILD Tasks and implemented something that is more
> specific to my company's requirements.

I got it working. I used Neil's $(bal.Version(1.0)) in the MSI as well as in
the bundle version, set ProdcutId to * and kept the upgrade code guids.
However, the bal versioning does not suit me very well either. Could you
explain a little more how to write the MSBUILD Task to implement different
versioning?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-installer-upgrade-does-not-work-tp7589150p7589187.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to