/build/static/layout/Breadcrumb_cap_w.png

Uninstall specific feature

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   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 14 years ago
Red Belt
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
Posted by: elgwhoppo 14 years ago
Senior Purple Belt
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
Posted by: anonymous_9363 14 years ago
Red Belt
0
Nice catch, Joseph. As ever, one needs to examine posts carefully! :)
Posted by: forbzie22 13 years ago
Yellow Belt
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
Posted by: anonymous_9363 13 years ago
Red Belt
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'.
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