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

Uninstalling previous versions


1 reply to this topic

healla

healla
  • Members
  • 3 posts

Posted 18 June 2002 - 19:26

I am trying to uninstall previous versions of my installations before I start installing the current version. To do this now, I am  using "MsiConfigureProduct" API in a custom action. Is there any other standard way to do the same?

Thanks,
Healla

PhilWilson

PhilWilson
  • Members
  • 10 posts

Posted 21 June 2002 - 18:59

You could do a major upgrade. Look at the upgradecode, the upgrade table, the RemoveExistingProducts standard action. I believe there is info posted on this site about how to do a major upgrade using the upgrade table.
One of the key points is to put the RemoveExistingProducts action between InstallValidate and InstallInitialize - this is the place that causes the previous product to be completely uninstalled first.