/bundles/itninjaweb/img/Breadcrumb_cap_w.png
How to uninstall, specific features? through commandline? I have 4 features in my msi, i want to uninstall only 1 of them, or if i want to keep only 1 of the, is there any way? I am trieng below command but not working:

msiexec /x test.msi REMOVE=NewFeature4

but still it is uninstalling all the features.
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity

Answers

0
- Is Newfeature4 the parent of the other 3 features?
- You should get into the habit of specifying a log file in your command lines:msiexec /x test.msi REMOVE=NewFeature4 /l*v %temp%\test.log That way, you can investigate what happened before posting. In this case, you would see what features were selected for removal, because the log would have entries like this:MSI (s) (2C:E8) [11:18:30:003]: Feature: NewFeature1; Installed: Local; Request: Absent; Action: Absent
MSI (s) (2C:E8) [11:18:30:003]: Feature: NewFeature2; Installed: Local; Request: Absent; Action: Absent
MSI (s) (2C:E8) [11:18:30:003]: Feature: NewFeature3; Installed: Local; Request: Absent; Action: Absent
MSI (s) (2C:E8) [11:18:30:003]: Feature: NewFeature4; Installed: Local; Request: Absent; Action: Absent

or, if the features are separateMSI (s) (2C:E8) [11:18:30:003]: Feature: NewFeature1; Installed: Local; Request: Null; Action: Null
MSI (s) (2C:E8) [11:18:30:003]: Feature: NewFeature2; Installed: Local; Request: Null; Action: Null
MSI (s) (2C:E8) [11:18:30:003]: Feature: NewFeature3; Installed: Local; Request: Null; Action: Null
MSI (s) (2C:E8) [11:18:30:003]: Feature: NewFeature4; Installed: Local; Request: Absent; Action: Absent
Answered 07/28/2009 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: suchi.jigar

How to uninstall, specific features? through commandline? I have 4 features in my msi, i want to uninstall only 1 of them, or if i want to keep only 1 of the, is there any way? I am trieng below command but not working:

msiexec /x test.msi REMOVE=NewFeature4

but still it is uninstalling all the features.



/x will always remove all features, because it sets the REMOVE property equal to ALL. Use /i.

msiexec /i test.msi REMOVE=NewFeature4
Answered 07/28/2009 by: elgwhoppo
Senior Purple Belt

Please log in to comment
0
Nice catch, Joseph. As ever, one needs to examine posts carefully! :)
Answered 07/28/2009 by: VBScab
Red Belt

Please log in to comment
0
Hi , New to packaging MSI's so hope this isnt too much of a stupid question.

I need to add Microsoft Office Document Imaging in office 2007 via the command line.

msiexec /i appname or guid /remove=

How do i know what to put after the remove= ?

I tried entering "Microsoft Office Document Imaging" but no joy.

This feature is under "office tools"

Is there a reference help file that contains all the valid arguments for remove=

thanks
Answered 08/24/2010 by: forbzie22
Yellow Belt

Please log in to comment
0
Office 2007 and above changed the playing field in respect of deployment. You now have to faff with MSPs instead of MSTs and the process of adding and/or removing features after the main installation has taken place is - comparatively speaking - a pain.

I suggest you begin by reading the MSDN article on configuring and deploying Office 2007. There is also lots of information in the 'Package KB'.
Answered 08/24/2010 by: VBScab
Red Belt

Please log in to comment