QUOTE (MARIUS CLAUDIU @ Aug 30 2004, 08:57 PM)
Muaitai , good job! Your script worked perfectly.
Can you make a script for IsoBuster 1.6 too ?
Thx for your help.
CODE
run("setup.exe")
winwait("Setup - IsoBuster", "Wizard")
controlclick("Setup - IsoBuster", "Wizard", "TButton1")
winwait("Setup - IsoBuster", "Agreement")
controlclick("Setup - IsoBuster", "Agreement", "TRadioButton1")
controlclick("Setup - IsoBuster", "Agreement", "TButton2")
winwait("Setup - IsoBuster", "Information")
controlclick("Setup - IsoBuster", "Information", "TButton2")
winwait("Setup - IsoBuster", "Destination")
controlclick("Setup - IsoBuster", "Destination", "TButton3")
winwait("Setup - IsoBuster", "Start Menu")
controlclick("Setup - IsoBuster", "Start Menu", "TButton4")
winwait("Setup - IsoBuster", "associations")
controlclick("Setup - IsoBuster", "associations", "TButton4")
winwait("Setup - IsoBuster", "Additional")
controlclick("Setup - IsoBuster", "Additional", "TButton4")
winwait("Setup - IsoBuster", "Ready")
controlclick("Setup - IsoBuster", "Ready", "TButton4")
winwait("Setup - IsoBuster", "Completing")
controlclick("Setup - IsoBuster", "Completing", "TButton4")
winwait("Registration will enable IsoBuster PRO functionality", "Register", 2)
if winexists("Registration will enable IsoBuster PRO functionality", "Register") then
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit2", "valid-ID")
sleep(1000)
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit1", "valid-SERIAL")
sleep(1000)
controlclick("Registration will enable IsoBuster PRO functionality", "Register", "TButton4")
sleep(1500)
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Online Check", "online", 2)
if winexists("Online Check", "online") then
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Registration will enable IsoBuster PRO functionality", "Register", 2)
if winexists("Registration will enable IsoBuster PRO functionality", "Register") then
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit2", "valid-ID")
sleep(1000)
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit1", "valid-SERIAL")
sleep(1000)
controlclick("Registration will enable IsoBuster PRO functionality", "Register", "TButton4")
sleep(1500)
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Online Check", "online", 2)
if winexists("Online Check", "online") then
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Registration will enable IsoBuster PRO functionality", "Register", 2)
if winexists("Registration will enable IsoBuster PRO functionality", "Register") then
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit2", "valid-ID")
sleep(1000)
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit1", "valid-SERIAL")
sleep(1000)
controlclick("Registration will enable IsoBuster PRO functionality", "Register", "TButton4")
sleep(1500)
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Online Check", "online", 2)
if winexists("Online Check", "online") then
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Registration will enable IsoBuster PRO functionality", "Register", 2)
if winexists("Registration will enable IsoBuster PRO functionality", "Register") then
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit2", "valid-ID")
sleep(1000)
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit1", "valid-SERIAL")
sleep(1000)
controlclick("Registration will enable IsoBuster PRO functionality", "Register", "TButton4")
sleep(1500)
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Online Check", "online", 2)
if winexists("Online Check", "online") then
ProcessClose("IsoBuster.exe")
exit
endif
exit
in the script above you read 4 times "valid-ID" and 4 times "valid-SERIAL".
change al those to real registration data and it will work. 4 times, because
the setup detects an internet-connection in some cases, and dont give always
the same dialogs. so i let the script wait 2 seconds for each kind of dialog
that will make sure that it works on every machine in every situation.
p.s.: the main-idea from the ultra-ISO script is from me...
spachtler