To control the cancel button which calls WINAPI fu
Posted 02 February 2005 - 10:28
I need to control the cancel button displayed by the SDDialog boxes in other words I need to overide the default installshield scripts being handled for the event handler function "OnCancelling".
I followed the steps given in the Help of Install shiled 6.31 ie
1Place code that defines the event's handler function in the appropriate .rul file.
From the Event Categories list box (the list box on the left of the Script toolbar), select the category or component to which the event belongs.
2.From the InstallShield Events list box (the list box on the right of the Script toolbar), select the event. Code that defines the event's handler function is pasted in ComponentEvents.rul (for component events) or Setup.rul (for other events), and that .rul file opens in the script editor window.
In the script editor window, make the desired changes to the event's handler function code. The next time the setup project is compiled, this modified code will override the event's default action."
But since I am using a procedural program:which begins with
program & end with end program...even if I add my own script in the event handler function & comment the default scrpit ..it is getting ignored and the default event handler is called.Any solution???
Posted 02 February 2005 - 15:15
However, I unfortunately don't have a solution/workaround short of switching to an event-based setup which for me wasn't an option at the time.
Edited by Taco Bell, 02 February 2005 - 15:23.
Posted 03 February 2005 - 07:18
Posted 10 February 2005 - 09:12
This can be done by using Handler (nObject, Label);
But now the problem which I am facing now is on calling abort; on Service pack 2,sometimes the installation hangs.This is an intermittent problem and particular to service pack 2 so am not getting any clue how to tackle this problem..is there any other stmt similirat to abort which can help me out.
help needed !!!