Yeah, one limiation I found was if you aren't referencing something that has Ref option, you are out of luck with this approach. For example, suppose I want all my MSIs to have the Registry table included. So I would like to do
<EnsureTable Id="Registry" /> However, I'm not sure how I can reference this. -Jonathan Rob Mensching-2 wrote: > > That's the way I would do it. > > -----Original Message----- > From: jnewton [mailto:jonathan.new...@ni.com] > Sent: Wednesday, January 28, 2009 10:56 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Best Practice for Ensuring All MSIs I Create Have the > Same Values for MSI Properties > > > I wanted to get peoples thoughts on best practices for ensuring all MSIs I > create have the same values for MSI properties. For example, I would like > all MSI's that I create to have these same settings: > > <!-- Add/Remove properties --> > <Property Id="ARPNOREMOVE" Value="1" /> > <Property Id="ARPNOREPAIR" Value="1" /> > <Property Id="ARPSYSTEMCOMPONENT" Value="1" /> > <Property Id="NIARPVISIBLE" Value="1" /> > > Currently I was storing these settings in a wixlib and then referencing > this > lib by all my MSIs. These properties are being defined in a Fragment. Then > of course you need to refrence onee property in that Fragment to get all > properties included in your MSI. > > Is this the best way? I want to use this same concept for my UI in the > sense > all MSIs would reuse the same UI. > > I want to make this code as modular as possible. > > Thanks > > -Jonathan > -- > View this message in context: > http://n2.nabble.com/Best-Practice-for-Ensuring-All-MSIs-I-Create-Have-the-Same-Values-for-MSI-Properties-tp2234080p2234080.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Best-Practice-for-Ensuring-All-MSIs-I-Create-Have-the-Same-Values-for-MSI-Properties-tp2234080p2235337.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users