PDA

View Full Version : run .exe after a Cancel?


mczajka
02-21-2002, 03:39 PM
Is it possible to run an action after a Cancel is selected?

Mark
02-25-2002, 02:18 PM
Hi,

This really isn't possible; the only way you could possibly do this is if you used the "Help" button as your "Cancel" button.

That way you can create your own "Cancel" button, and customize it with whatever actions you like.


mark.

mczajka
02-25-2002, 02:22 PM
I had a situation where I was launching a setup.exe from an autorun (AMS of course) - I shutdown the autorun, but if the user cancels, I wanted to start it back up again.

I understand I can keep the autorun going, but I wanted to clean things up a bit on screen.

Mark
02-25-2002, 03:09 PM
Hi,

You could rename the "Help" button and program it to function as a "Cancel" button by using the "Abort Setup" action. Simply place an "Execute Program" before the "Abort Setup" action.

mark.