On 22/03/2013 17:24, Daniel Madill wrote: > Hi Alain, > > In general, Product ID="*" is a good thing. Each new build should generate a > new product code because it typically means you've made changes to the > product (i.e. made a new version). If you want to test the Maintenance dialog > then run the same MSI (without rebuilding it!) twice. > > When you use the <MajorUpgrade> element in WiX it handles removing the old > version and installing the new version when you upgrade. Hence, in many cases > the Welcome dialog is entirely appropriate because the user experience on > upgrade or new installation from a UI perspective is similar. The > MajorUpgrade element has options for displaying messages if the user tries to > upgrade or downgrade and should not be allowed, etc. if that's what you need. > If you want something more complicated on upgrade then you will have to do a > little more work.
Microsoft says the Product Code should identify a particular release (http://msdn.microsoft.com/en-gb/library/windows/desktop/aa370854(v=vs.85).aspx): "The ProductCode property is a unique identifier for the particular product release, represented as a string GUID, for example "{12345678-1234-1234-1234-123456789012}"." That seems to imply it shouldn't be changed from one build to the next but only when the major, minor or revision fields are changed. -- Bruce Cran ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users