Muaitai Posted August 21, 2004 Posted August 21, 2004 Does anyone know how to register this program during Unattended Installation.I tried copying the Reg keys but it just does not work.TIA
spachtler Posted August 22, 2004 Posted August 22, 2004 it dont work to put the registry entries from one machineto another, because during the normal dialog for name andserial, it will first merge the name and SN with some machine-specified things or numbers, and then put it intothe registry, so that you will findalways different registry-entries on different machines with the same name and SN. so the only way to get validentries is to use the ultraiso dialog to put in the infos.i do it with an autoit-script..... works pretty good....
Muaitai Posted August 22, 2004 Author Posted August 22, 2004 Hi spachtler,Could you give me an idea of your script?TIA
spachtler Posted August 22, 2004 Posted August 22, 2004 ok, after ultraiso was installed silent, i run the following script:$var = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\EasyBoot Systems\UltraISO\5.0", "")run($var & "\Ultraiso.exe")Blockinput(1)winwait("UltraISO", "ToolBar", 7)if winexists("UltraISO", "ToolBar") thenprocessclose("ultraiso.exe")Blockinput(0)exitendifwinwait("Willkommen", "registrieren")controlclick("Willkommen", "registrieren", "TButton4")winwait("Registrieren", "OK")controlsend("Registrieren", "OK", "TEdit4", "valid name")controlsend("Registrieren", "OK", "TEdit5", "serial part1")controlsend("Registrieren", "OK", "TEdit3", "serial part2")controlsend("Registrieren", "OK", "TEdit2", "serial part3")controlsend("Registrieren", "OK", "TEdit1", "serial part4")controlclick("Registrieren", "OK", "TButton2")winwait("Prompt", "OK")controlclick("Prompt", "OK", "Button1")Blockinput(0)exitthis is for the german version, for the english you have tochage some words (Registrieren to Register) or so....
turbomcp Posted August 23, 2004 Posted August 23, 2004 any idea why this doesnt work?$var = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\EasyBoot Systems\UltraISO\5.0", "")run($var & "\Ultraiso.exe")Blockinput(1)winwait("UltraISO", "ToolBar", 7)if winexists("UltraISO", "ToolBar") thenprocessclose("ultraiso.exe")Blockinput(0)exitendifwinwait("Welcome", "Enter Registration Code")controlclick("Welcome", "Enter Registration Code", "TButton4")winwait("Register", "OK")controlsend("Registration", "OK", "TEdit4", "name")controlsend("Registration", "OK", "TEdit5", "xxxx")controlsend("Registration", "OK", "TEdit3", "xxxx")controlsend("Registration", "OK", "TEdit2", "xxxx")controlsend("Registration", "OK", "TEdit1", "xxxx")controlclick("Register", "OK", "TButton2")winwait("Prompt", "OK")controlclick("Prompt", "OK", "Button1")Blockinput(0)exit
spachtler Posted August 23, 2004 Posted August 23, 2004 you should edit your post because of the uncencored serial...
spachtler Posted August 23, 2004 Posted August 23, 2004 winwait("Register", "OK") is wrong,try winwait("Registration", "OK")controlclick("Register", "OK", "TButton2")controlclick("Registration", "OK", "TButton2")
Muaitai Posted August 24, 2004 Author Posted August 24, 2004 I tried and it does work on my windows XP2 installed on my HD, but when I try on VMware it hangs on the registration window... So I guess it works just fine.
turbomcp Posted August 24, 2004 Posted August 24, 2004 okanyway this method wont help me sincei run it in runoncei thought someone figured out abetter solution for this crapguess ill have to register it manually
WwTIPPYwW Posted August 24, 2004 Posted August 24, 2004 a working solution - just put the serial number in a text file and have copied to the desktop during installation. Not unattended, but it works. With machine specific registration keys - it can be difficult to get them to work, unless you use a script - or just make a text file.
1chaoticadult Posted August 26, 2004 Posted August 26, 2004 spachtler I did what you did in an autoit script about month ago. It was so easy to do. You beat me to punch posting it. Hehe. Later.
Muaitai Posted August 29, 2004 Author Posted August 29, 2004 I figure out the script, there was an error, this is the working one:$var = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\EasyBoot Systems\UltraISO\5.0", "")run($var & "\Ultraiso.exe")Blockinput(1)winwait("UltraISO", "ToolBar", 7)if winexists("UltraISO", "ToolBar") thenprocessclose("ultraiso.exe")Blockinput(0)exitendifwinwait("Welcome")controlclick("Welcome", "Enter Registration Code", "TButton4")winwait("Registration", "OK")controlsend("Registration", "OK", "TEdit4", "User Name")controlsend("Registration", "OK", "TEdit5", "XXXX")controlsend("Registration", "OK", "TEdit3", "XXXX")controlsend("Registration", "OK", "TEdit2", "XXXX")controlsend("Registration", "OK", "TEdit1", "XXXX")controlclick("Registration", "OK", "TButton2")winwait("Prompt", "OK")controlclick("Prompt", "OK", "Button1")Blockinput(0)exitNote: XXXX = serial numberNow use AutoIt to creat an .exe and execute from unattende installation, I tried 3 times and worked.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now