inline -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DEÁK JAHN, Gábor Sent: Tuesday, November 08, 2005 9:33 AM To: WiX-devs Subject: Re: [WiX-devs] Discontinue source .zip file
On Tue, 8 Nov 2005 09:06:01 -0800, Derek Cicerone wrote: Derek, > interest in-depth. There are actually at least 2 breaking changes: > the src attribute was renamed Will version 3 substitute the previous version completely or will they co-exist for some time to come? In other words, should I simply modify the tutorial and its samples to use the new src-replacements or should I describe both, at least temporarily? I'd prefer the first approach, of course, but is v3 ready to replace v2 completely? [DerekC] Both WiX 2.0 and 3.0 support the new @Source, @SourceFile, etc... attributes. WiX 2.0 allows you to use either @src or the new attribute interchangeably. The documentation for WiX 2.0 indicates that the @src attribute is deprecated, but there is nothing in the code to enforce this. This is supposed to allow users to update their schema in WiX 2.0, then migrate to 3.0 without any additional schema changes. WiX 2.0 will always support either the @src attributes or the new attributes. WiX 3.0 formally deprecates @src attributes, so if you have warnings as errors turned on, you won't be able to use the @src attributes. In about a year (or longer if necessary), support for the @src attribute will likely be completely removed from WiX 3.0. So, for WiX 3.0, everyone will eventually need to update their source files. For both WiX 2.0 and 3.0, a new tool called WiXCop will be released (one for each version) which will be regularly updated to provide a quick and easy way to update all wix sources to the very latest 2.0 or 3.0 schema. I can provide more information about WiXCop in a separate thread if anyone is interested. So, to answer your question: the tutorial can always refer to the new attribute names and it will always work for both WiX 2.0 and 3.0. The new names will be the preferred approach for both wix versions. And, out of curiosity, if the changes are not that deep at all, what was the reason for the major version number change? Only behind-the-scene considerations like the change in the building process? [DerekC] Rob and I also had this discussion several times. The current plan is that both WiX 2.0 and 3.0 will use Nant for their build system - so that was not a motivator for the versioning. Initially, we planned 3.0 as a 2.1 release. However, after receiving some feedback on the versioning, we decided to use 3.0 instead of 2.1 because the schema was modified, serverca & wixca functionality will be moved into official extensions, major new tools like Clickthrough were being added (there will be more 3.0-only tools later), and the core toolset has been somewhat re-written. At the time we planned the new version, we also considered it inevitable that the new version of WiX would not be backwards-compatible (but in the end, everything was carefully architected so that all the new features should be 100% backwards-compatible). Note that WiX 2.0 is not "forwards-compatible" - you cannot use WiX 3.0 libraries, outputs, objects in 2.0. Regards, Gábor DEÁK JAHN ------------------------------------------------------------------- DEÁK JAHN, Gábor -- Budapest, Hungary WWW: www.tramontana.co.hu E-mail: [EMAIL PROTECTED] ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
