Just like with JavaScript variable and method names, there are few rules and 
lots of conflicting conventions.
 
Other than avoiding naming things with any case variation starting with the 
three letter sequence M,S,I just be consistent within your organization.
 
Be aware of which namespaces overlap and which ones don't, and what the scope 
of each are:
 
Component GUIDs are universal/global, as are the values of PackageCode, 
ProductCode, and UpgradeCode.
 
Feature Ids are visible to consumers of the installation package.
 
Directories and Properties share the same namespace, and public properties can 
be set by consumers of the installation package (to varying degrees).
 
I recommend prefixing your own Ids with your something related to your 
organization (and possibly product line) to reduce the chances of conflicts 
with third party libraries (which I hope become more common over time). Avoid 
using prefixes using any case variation of the three letter sequence W,I,X 
because I'll be proposing that all identifiers supplied by the WiX toolset be 
prefixed that way to reduce the chance of collisions when people transition 
from other packaging systems to WiX.
 
Blair
 
> Date: Tue, 13 Aug 2013 16:02:12 -0500
> From: cmb...@torchmarkcorp.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] WIX - naming conventions
> 
> Are there any naming conventions for the different parts to a WIX
> application?  Components, File, Directories etc - Everything seems to vary I
> find on the internet, and even to the book I have.
> 
>  
> 
> Thanks,
> 
> Chris Bunn
> 
> 214-250-5602
> 
>  
> 
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to