MSI : Component Rules


What are the component rules? 

 In order to ensure that authors of installation packages create packages that do not damage the components of other installations or leave resources behind on uninstall, there are certain Component Creation Rules that must be followed when organizing applications into components.


The commandments of component creation are as follows:

• Two components cannot install the same resource.

• Two components cannot have the same key path file.

• A component must be compatible with all previous versions of that component.

• All resources of a component must install to the same directory.

• There can only be one COM server per component.

• The COM server must be the key path.

• Only one file per component can be the target of a desktop or program menu shortcut.


8 Responses to “MSI : Component Rules”

  1. 1 Santhosh December 28, 2010 at 11:13 am

    Hi Bals,

    Short and simple!!

  2. 3 Siva February 4, 2011 at 1:23 pm

    Nice, simple and easy to understand everyone

  3. 4 Himani Rai March 30, 2011 at 6:58 am

    most appreciable is blog’s simplicity.Happy to get more knowledge from you again.

  4. 5 sreenivas May 2, 2011 at 5:38 pm

    Good web site for application packaging doubts clarifications

    thank you very much for providing usefull stuff

    Please provide information regarding to Deployment tools(i.e SCCM,etc)


  5. 6 Chandrasekhar July 17, 2012 at 6:20 pm

    Thanks for providing good information on Application Repackaging.

    Than q

  6. 7 naresh September 11, 2013 at 3:29 pm

    thank q BOSS …………..value information given in simple way………….

  7. 8 Neeraja October 10, 2013 at 10:24 am

    Thanks.. Is there a reason that one component should have only 1 dll or 1 exe?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: