/build/static/layout/Breadcrumb_cap_w.png

Installing just 2 components out of 10

Here is another query
I have an application with just single feature , containing 30 components. I wish to install just 2 of them. I made use of the following command line to do so
Msiexec /i Something.msi COMPADDLOCAL={COMP1GUID},{COMP2GUID} /qb ALLUSERS=1
What followed next, the complete feature got installed. very opposite to my requirement. Also what i did to prevent the complete feature from getting installed was to change the feature level and make it more than INSTALLLEVEL, but even that didnt work. Any ideas, on what approach should i follow to achive my objective


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: dj_xest 10 years ago
5th Degree Black Belt
0

It won't work because the components belong to only 1 feature. 2 of the possible ways to achieve what you want:

1. Create another feature and put those 2 components that you want. Disable the other feature with 28 components.

2. Put a condition on each components that will be resolved with a property during installs. Up to you to decide how you gonna do it.

Be sure to test!!!

Posted by: jagadeish 10 years ago
Red Belt
0

The installer uses this list to determine which features are set to be installed locally, based on the specified components. For each listed component ID, the installer examines all features linked to that component through the FeatureComponent table, and installs the feature that requires the least amount of disk space to install.


Comments:
  • Thanks Jagadeish and dj_Xest. Although i had some idea on creating a separate feature for two component.but wanted to achieve the same functionality with single feature. Anyways , thanks guys - talonsprem87 10 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ