Product/@Id="*" -----Original Message----- From: Adam Connelly [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 06:24 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?
The project I'm working on at the moment uses a build server to automatically build our installers, etc. As part of this, it provides the version number to the installer. Therefore, every publish we do (and in fact every checkin of source) is a different version of the product. This means that ideally I'd be able to take any published msi and install it, and it should have the correct install / upgrade behaviour without us having to manually alter the wxs files at all (fair enough it also means we have to distribute every file every time, but I'm not worried about that at the moment). The only way I've got this to work at the moment is by manually changing the Product Id and checking it in before doing a publish to avoid the annoying "another version of this product is already installed..." message. Otherwise it forces the user to uninstall the previous version before installing the new version - something that I've never had to do with any serious commercial package. Is what I'm doing wrong, and if so what alternatives do I have? Cheers, Adam -----Original Message----- From: polan [mailto:[EMAIL PROTECTED] Sent: 08 October 2008 11:39 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding? Thx for the answer Ian Elliott (Excell Data Corporation) wrote: > > For the minor upgrade and small update you don't make use of the Update > tag at all. > Ok - lets stick to minor upgrade. I don't insert the upgrade tag, I change the package guid, and version. I run the installation msiexec /i ExampleInstaller.msi REINSTALALL=ALL REINSTALLMODE=vomus And i get stuck at maintenance dialog instead of getting normal installation. What's possibly wrong? Or maybe it is just the way that minor upgrade works? (couldn't think of the good reason) The other question is - if I get through it, will the minor upgrade override the files with new versions? I enclose a file with the source (it is a very simple and short one) http://n2.nabble.com/file/n1306236/Product.wxs Product.wxs Ian Elliott (Excell Data Corporation) wrote: > > Also, you listed below that the package guid didn't change for one > scenario. You should always have a different package guid for every > package built. > My mistake of course - it was supposed to be written like you say. I did it this way, just described it wrong. -- View this message in context: http://n2.nabble.com/How-Update---Upgrade-strategy-%28small%2C-minor%2C-major%29-affect-file-overriding--tp1304357p1306236.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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