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

RemoveExistingProducts


1 reply to this topic

AntonS

AntonS
  • Full Members
  • 94 posts

Posted 20 August 2004 - 12:06

Hi,

In documentation for RemoveExistingProducts Action I find next sequence restriction:

QUOTE
The RemoveExistingProducts action must be scheduled in the action sequence in one of the following locations:

Between the InstallExecute action, or the InstallExecuteAgain action, and the InstallFinalize action. Generally the last three actions are scheduled right after one another: InstallExecute, RemoveExistingProducts, and InstallFinalize. In this case the updated files are installed first and then the old files are removed. However, if the removal of the old application fails, then the installer rolls back both the removal of the old application and the install of the new application.


According to this, I place actions in InstallExecute sequence next order:
InstallExecute
FindRelatedProducts
RemoveExistingProducts


I encounter with an error at install time.

Here is the part of verbose log:
QUOTE
Action start 13:28:44: FindRelatedProducts.
Action ended 13:28:44: FindRelatedProducts. Return value 1.
Action start 13:28:44: RemoveExistingProducts.
DEBUG: Error 2613:  RemoveExistingProducts action sequenced incorrectly.
Internal Error 2613.
Action ended 13:28:44: RemoveExistingProducts. Return value 3.


Where I can place FindRelatedProducts and RemoveExistingProducts actions?



Sincerely your,
Anton Spitsyn
http://www.installsite.ru

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 August 2004 - 12:54

Try and validate your MSi to see if that brings up additional information.