thanks, Rob I read your blog about component rules already, but the special case (different file paths) is new information for me. Now it makes sense and also limitation on resources in component to be in one directory only.
Jan On Tue, Nov 23, 2010 at 4:38 PM, Rob Mensching <r...@robmensching.com> wrote: > No. You cannot change your Component GUIDs on major upgrades blindly. You > change your Component GUIDs when the composition of your Component changes. > At that point, the new Component cannot have any overlap with any other > Component. Basically, think of Components as circles containing items > (Resources) identified by their full path. In a Venn Diagram all of the > circles must not overlap*. > > More detail here: > http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101 > > * There is a special case for file paths in the Windows Installer where it > will track the same Component installed to different file paths. > > On Mon, Nov 22, 2010 at 11:55 PM, Jan Gregor <gregor....@gmail.com> wrote: > >> thanks >> to clarify it, i use major upgrade to enable two versions to be >> installed at same time (for testing purposes). >> as i understand so far, i need to generate (or autogenerate with WiX) >> new guid for every component on major upgrade >> if i will not do that, component guid will not be unique when two >> major versions will be installed and this is an error. >> do i understand it right ? >> >> in case of minor upgrade i have to keep Guid for every component same >> as in previous version. >> but lets imagine following example : >> major version 1.0.0 has component A >> minor upgrade 1.0.1 component A is removed >> minor upgrade 1.0.2 component A is added again >> in that example i have to keep somewhere component/keypath -> guid >> mapping to guarantee this. >> >> >> Jan >> >> On Tue, Nov 23, 2010 at 3:23 AM, Rob Mensching <r...@robmensching.com> >> wrote: >> > In almost all cases, once you set the Guid you never change it. If you >> can, >> > follow the strict autogen GUID rules WiX enforces and let WiX manage the >> > GUID for you. Then you don't have to worry about it... because we already >> > did (for years and years <smile/>). >> > >> > On Thu, Nov 18, 2010 at 7:42 AM, Pally Sandher <pally.sand...@iesve.com >> >wrote: >> > >> >> It really depends on what you're trying to achieve. You can use * for >> >> Component GUIDs which means they'll be auto generated at compile time >> >> which should work for most situations but there are times when that'll >> >> not work as you intend & you may find yourself having to hard-code some >> >> of the GUIDs. >> >> >> >> The Component Rules will tell you what you can & can't do. See >> >> http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101 & the >> >> MSDN pages Rob M. links to from there. >> >> >> >> Palbinder Sandher >> >> Software Deployment & IT Administrator >> >> T: +44 (0) 141 945 8500 >> >> F: +44 (0) 141 945 8501 >> >> >> >> http://www.iesve.com >> >> **Design, Simulate + Innovate with the <Virtual Environment>** >> >> Integrated Environmental Solutions Limited. Registered in Scotland No. >> >> SC151456 >> >> Registered Office - Helix Building, West Of Scotland Science Park, >> >> Glasgow G20 0SP >> >> Email Disclaimer >> >> >> >> -----Original Message----- >> >> From: Jan Gregor [mailto:gregor....@gmail.com] >> >> Sent: 18 November 2010 12:40 >> >> To: wix-users@lists.sourceforge.net >> >> Subject: [WiX-users] how to manage guids for my application >> >> >> >> Hello, >> >> >> >> As I understand so far, for every major version of my application I >> >> need to keep guid for every component in my installer. But I don't see >> >> support for that in WiX, heat tool only enables me generate new guids. >> >> Does everybody uses only major upgrades in case of some component is >> >> added or removed ? or manually changes xml files ? >> >> >> >> >> >> thanks, >> >> Jan >> >> >> >> ------------------------------------------------------------------------ >> >> ------ >> >> Beautiful is writing same markup. Internet Explorer 9 supports standards >> >> for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >> >> Spend less time writing and rewriting code and more time creating great >> >> experiences on the web. Be a part of the beta today >> >> http://p.sf.net/sfu/msIE9-sfdev2dev >> >> _______________________________________________ >> >> WiX-users mailing list >> >> WiX-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Beautiful is writing same markup. Internet Explorer 9 supports >> >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >> >> Spend less time writing and rewriting code and more time creating great >> >> experiences on the web. Be a part of the beta today >> >> http://p.sf.net/sfu/msIE9-sfdev2dev >> >> _______________________________________________ >> >> WiX-users mailing list >> >> WiX-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> >> > >> > >> > -- >> > virtually, Rob Mensching - >> > http://RobMensching.com<http://robmensching.com/>LLC >> > >> ------------------------------------------------------------------------------ >> > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! >> > Tap into the largest installed PC base & get more eyes on your game by >> > optimizing for Intel(R) Graphics Technology. Get started today with the >> > Intel(R) Software Partner Program. Five $500 cash prizes are up for >> grabs. >> > http://p.sf.net/sfu/intelisp-dev2dev >> > _______________________________________________ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> >> >> ------------------------------------------------------------------------------ >> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! >> Tap into the largest installed PC base & get more eyes on your game by >> optimizing for Intel(R) Graphics Technology. Get started today with the >> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. >> http://p.sf.net/sfu/intelisp-dev2dev >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users