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 a feature during update


2 replies to this topic

SOWI

SOWI
  • Full Members
  • 29 posts

Posted 15 May 2003 - 10:33

I want to remove an installed feature during the update to the next version to replace that with a new feature. Does anyone know a way to do that?


Frank Dering

jsp

jsp
  • Members
  • 96 posts

Posted 22 August 2003 - 14:36

Hi,
During an upgrade, there is no way to remove a feature of an installed product.
The only way you is to create a CA that completly removes the previous product using msiexec /x {PriductCode GUID} and then install your new product.
But take care, Windows Installer doesn't support 2 instances of an installSequence running at the same time ... that means this solution won't work if you want to upgrade in silent mode.

Hope htis helps.

JSP

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 22 August 2003 - 16:32

Make sure your upgrade is a major upgrade, then you should be fine.
If you schedule RemoveExistingProducts before InstallInitialize, all features of the old version are uninstalled first, then the features of the new version are installed.