I want to disable installation of a particular feature at commandline. Any one aware of how to do this?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 03/17/2006 by: jonasm
Blue Belt

Please log in to comment
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?
Answered 03/17/2006 by: Novice_123
Orange Belt

Please log in to comment
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 ?
Answered 03/17/2006 by: jojo moto
Senior Yellow Belt

Please log in to comment
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
Answered 03/17/2006 by: jonasm
Blue Belt

Please log in to comment
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.
Answered 03/17/2006 by: jojo moto
Senior Yellow Belt

Please log in to comment
0
I think both negativ numbers, zero and numbers above INSTALLLEVEL does work.

/Jonas
Answered 03/17/2006 by: jonasm
Blue Belt

Please log in to comment
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
Answered 03/17/2006 by: rpfenninger
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity