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

custom action after installation failed


1 reply to this topic

bhalchandratk

bhalchandratk
  • Full Members
  • 2 posts

Posted 17 July 2012 - 09:44

Hello,

How to sequence a custom action to execute only when installation is interrupted or completed with error?

Is there any windows installer property which returns current installation status (failed/succeed)?

I have sequenced a custom action for rollback, but in this specific case rollback does not happen.

Thanks,
Bhalchandra


overlordchin

overlordchin
  • Full Members
  • 100 posts

Posted 23 July 2012 - 19:39

You could bind the action to the button press to close the installer in the setupCompleteError dialog and SetupInterupted. Probably not the most graceful way to trigger it but it should accomplish what you want.

Keep in mind I have not tested that myself but have bound custom actions to the completion step in SetupCompleteSuccess before.

Edited by overlordchin, 23 July 2012 - 20:13.