Hey all,

I find myself in a situation where I need some feedback on component rules. I 
have over 30 solutions that each have a wix installer project in them. each 
solution is a web site that is deployed automatically and internally. right now 
i have a ton of duplication between each of the install projects and am looking 
to reduce the maintenance overhead. i have a common wix library project that i 
have moved the UI and some launch conditions into. I'd like to move more into 
this common location but i get stuck with this particular situation.

each project contains many components that look like the following:

< Component   Id = " StagingConfiguration "   Guid = " 
935B1135-E34D-49DA-843E-D984B8F2C5ED "   DiskId = " 1 "  >
   < File   Id = " staging.config "   Name = " web.config "   Source = " 
$(var.Web.UI.ProjectDir)staging.web.config "  />
   < Condition > STAGING </ Condition >
</ Component >

 If i moved that component (and i have at least ten more just like it) into my 
common wix library each web project would have the same component guid for its 
web.config file. I have read over the component rules again and again and can't 
find anything specific about doing this, but it still seems like there is 
something fundamentally wrong with the idea.

I would appreciate if somebody could let me know what the risk is with having 
more than one msi contain a component with the same guid (and a different 
file). I have nobody here that understands windows installer to bounce the idea 
off.

Thanks,

Steve


-------------------------------------------------------------------------
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

Reply via email to