What are the Microsoft Best Practices / Standards on MSI Application Packaging?


July 3, 2008

Here are a few tips I picked up from Microsoft about how to “color inside the lines” when using any tool (including Wise Package Studio) to create an MSI.  

  1. Match components in previous versions of the MSI:
       Key path resource matches a resource in previous .MSI list
       Match component layout of previous .MSI 
       Set component key to match previous version.
  2. Add all executable files to their own components
  3. Create new component for the resource
  4. Add all .TLB files to their own components
  5. Group matching .HLP and .CNT files together
  6. Group matching .CHM and .CHI files together
  7. Put registry keys associated with files or components in matching components.
  8. Put current user registry keys in their own component
  9. Put non-current user registry keys in their own component.
  10. Group all non-executable files to their own component
  11. Name new non-advertised shortcuts by destination directory.
  12. Group non-key path resources by resource type
  13. Create new components for resources not matching other criteria.
  14. Set component key to table name of key path or the first resource. 

 Hope these little guidelines helps!







If you’re not a subscriber, you can have msigeek blog notifications delivered to you free via these options: RSS Updates , Email Updates and SMS Alerts.

  • http://www.msigeek.com/347/creating-your-first-wix-project Creating your first WiX project

    [...] For more information on Component Rules Click Here [...]

blog comments powered by Disqus

Previous post:

Next post: