Video Screencast Help
Endpoint Management Community Blog

Installing Selected Features of MSI with ADDLOCAL Property

Created: 15 Sep 2008 • Updated: 07 Jul 2009 • 6 comments
nac's picture
0 0 Votes
Login to vote

Many times we have to customize the installation of vendor MSI, by selecting complete, typical or customize installation of the package. This will install particular features when selected. If we add another feature, it may not install, and we cannot see the files and registries added by the component present in this feature.

Using Custom Action:

Check for the custom action which is installing selected features and edit to add the feature.

Edit the custom Acton to add New Feature

Using Property:

Take log at the time of installing Vendor Msi. Search the log for ADDLOCAL property. Create new property "ADDLOCAL" in property table. Put the values displayed in the log file in addition to the feature that we want to install.

Note: This will generate ICE87 warning.

Comments 6 CommentsJump to latest comment

blacklisted_packager's picture

Why not use the featurelevel and instead altogether comment the custom action ?

0
Login to vote
piyushnasa's picture

Yup, I agree with you that we can do this by setting the feature levels and it should work fine. But if there is already a Custom Action present which is installing the given number of features, then instead of modifying the vendor MSI, it will be the best to modify the Custom Action. And it will take less effort in cast the number of features to be installed are a lot.

Piyush Nasa Altiris Certified Professional (ACP)

http://msiworld.blogspot.com/

0
Login to vote
looeee's picture

You get the ice87 error becuse you are not supposed to hardcode ADDLOCAL in the Property Table. It will be forcing those features to be installed at repair-time and I'm sure that it can't be healthy at uninstall-time.

The condition on your customaction will force the features to be installed at repair-time. It should be "not Installed"

Also, yes, it is more usual to modify features in the Feature Table by changing their Level but the Custom Action solution should work well enough

looeee

0
Login to vote
blacklisted_packager's picture

Atlast someone got the point i was trying to make.
Thanks Loee!!!

0
Login to vote
piyushnasa's picture

It is always better to use ADDDLOCAL property in Command line while installation of MSI, rather than changing the feature levels everytime. Suppose you have to deliver the MSI to a different departments in an organization, who require different features of MSI, it is easier to do that with ADDLOCAAL property rather than changing InstallLevels for all departments and making numerous mst's.

Piyush Nasa Altiris Certified Professional (ACP)

http://msiworld.blogspot.com/

0
Login to vote
SUCHIKANT_VANARSE's picture

Hi,

do not forget to add, your project's audit key[if standard exists], feature name in this property value......if you are not adding it,everything will get installed, unless your project specific registry /audit key.

0
Login to vote