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

How to stop the Custom Actions execution?


1 reply to this topic

Anurag

Anurag
  • Members
  • 1 posts

Posted 26 July 2006 - 15:32

Hi,

I have a sequence of custom actions to be executed during installation (Basic MSI Project).

What I want is that the installation should get terminated successfully when a particular custom action in the sequence finishes execution.

Eg:
Suppose that, I have 10 custom actions in the sequence.
After executing 5 custom actions, I want to terminate the installation process successfully without the following custom actions (6 through 10) to be executed and also a successful installation message to be displayed.


Using "Abort" is making the entire installation interrupted with a failure message.
How do I achieve this?

I have spent a lot more hours in finding a solution. Somebody, please help me.

Thanks a lot in advance.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 July 2006 - 20:55

If these are immediate execution (not deferred) custom actions you could add conditions that reference properties.