Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Removing one component thru command line


3 replies to this topic

dsailesh

dsailesh
  • Full Members
  • 11 posts

Posted 03 May 2010 - 08:22

Hi all,

I am having an issue where I should remove only one component from the installation. Can this be done thru some command line options?

Add/Remove programs -> Change -> Modify -> unselect requires to be done manually on every workstation. If it can be done thru commandline, it will be quite easier.

Thanks in advance,
Sailesh

dsailesh

dsailesh
  • Full Members
  • 11 posts

Posted 03 May 2010 - 09:53

Sorry, not component , but a "Feature". The problem with just removing the files and registries thru some exe is that during upgrade, the installer still thinks that feature is installed on the machine.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 03 May 2010 - 13:48

If you need to uninstall a feature (not remove it from the project):

msiexec.exe /i your.msi REMOVE=FeatureName

or:

msiexec.exe /i {ProductCode} REMOVE=FeatureName


dsailesh

dsailesh
  • Full Members
  • 11 posts

Posted 04 May 2010 - 08:05

Thanks a lot Stefan. That did the trick. smile.gif