PDA

View Full Version : Something Easy!


Gloink
08-27-2004, 05:46 PM
Hi guys. Newbie here :p

So,i have a simple question for you,but not so easy for me, cause i'm a begginer.

I wanna have 2 programs in one setup....
When the setup of the 1st program is finished,i wan't to be a yes/no messagebox with the text "Do you want to setup the 2nd(title) program?.If yes then proceed.If No,exit setup.

Something like:
yes\no message box,"Do you want to setup Unknown 2.3?"

If button yes then
setup
else
abort setup
exit
end if


Thanks in advance!

JXBURNS
08-28-2004, 06:03 AM
Many ways to do this depending upon whether program 2 is dependent upon program 1 finishing first. But simplest solution is to try:

ACTIONS->SHUTDOWN (or AFTER INSTALLING)

Add DIALOGS->YES/NO MESSAGEBOX [Enter relevant parameters]
Add CONTROL STRUCTURE->IF
Enter something like: %YesNoResult%=YES [in the condition box]
Add OPEN/CLOSE PROGRAM->EXECUTE FILE [Enter command]
Make sure that sequence of commands is correct i.e.
YES/NO
IF...
EXECUTE...
ENDIF

John

Gloink
08-29-2004, 04:07 PM
Thanks mate, i was doing the same but i was using install instead of execute.