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?
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.
Removing a feature during update
Started by
SOWI
, May 15 2003 10:33
2 replies to this topic
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
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
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.
If you schedule RemoveExistingProducts before InstallInitialize, all features of the old version are uninstalled first, then the features of the new version are installed.