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 write Event Handler


1 reply to this topic

deepak

deepak
  • Members
  • 1 posts

Posted 24 December 2003 - 10:04

HI:

I am able to design custom dialog boxes and order the sequences in which the dialog boxes are displayed.

But now some dialog boxes have extra buttons, on click of which, I want some customized function to be executed:

(*)May be in .NET DLL
(*)VBScript
(*)InstallScript

I am using DevStudio 9 now.

Please advise on how to write and accomplish the above script.

It is quite urgent.

Edited by deepak, 24 December 2003 - 10:17.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 December 2003 - 11:54

First you create a custom action that performs the task you want, e.g. call a function in a DLL. You don't insert this Custom Action in any sequence.
Then you go to the button that should invoke this action. Add a DoAction event (in the dialog behaviour view) to call your custom action.