/build/static/layout/Breadcrumb_cap_w.png

disable a feature on commandline

I want to disable installation of a particular feature at commandline. Any one aware of how to do this?

0 Comments   [ + ] Show comments

Answers (7)

Posted by: jonasm 18 years ago
Blue Belt
0
Hi!

I dunno if you can disable a particular feature, but I know that you can set what features to be installed.
Use the ADDLOCAL Property.

For example: msiexec /i package.msi ADDLOCAL=Part1,Part2,Part4,Part7

/Jonas
Posted by: Novice_123 18 years ago
Orange Belt
0
But the problem is i have 270 features in my applications .I just want one of them not to install.

wat do i do?
Posted by: jojo moto 18 years ago
Senior Yellow Belt
0
What you can do :

-Get a free Windows Installer Editor (ex.Orca), and go to the Features tables,
and delete all the features that you do not want to install. And then generate a *.MST.
This works if your setup is already a *.MSI, or is it a *.EXE ?
Posted by: jonasm 18 years ago
Blue Belt
0
Instead of removing the feature, I would have changed the Install Level value on the feature you don't want to install, to a bigger value than the one specified in the Propery Table (usually 100).

That will make it to not install.

/Jonas
Posted by: jojo moto 18 years ago
Senior Yellow Belt
0
jonasm's method is good to,
And is not very complicated :

But I think it's the opposite,

An installed feature will be set from 1 and greater (ex.100)
If you want to uninstall that feature, pass the value to 0 for the "Display" and "Level" columns,
The display concerns the features that you can see and choose from during the basic install, 0 hides it.
The level corresponds to the actual feature being installed, 0 does not install the feature, if I am not mistaking.
The exact table is the feature table, and not the property table.

Once your features set to zero, or dropping the feature's row, you can generate your mst.
Posted by: jonasm 18 years ago
Blue Belt
0
I think both negativ numbers, zero and numbers above INSTALLLEVEL does work.

/Jonas
Posted by: rpfenninger 18 years ago
Second Degree Green Belt
0
To clarify things:
Jonas is absolutely right.
If you don't want to install one specific feature, check the value from the INSTALLLEVEL property from within the PROPERTY table and set the value LEVEL in the FEATURE table of the appropriate row (that feature) to one higher than the INSTALLLEVEL property value.

Good luck

Roland
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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