pianoteur Posted October 2, 2005 Share Posted October 2, 2005 (edited) Hi I am stil to install all of my applications in silent way I get a problem with nero but i think it would the same with an other application the seril is good and it is accepted when i install the application manualy I think it told me it incorrect juste because there is something wrong it happens on the automatisation: Here you have part my commands, the uthers one work well [WinWait("Nero 7 Premium - Installation Wizard","Veuillez lire attentivement l´") ControlClick("Nero 7 Premium - Installation Wizard","Veuillez lire attentivement l´","Button4") WinWait("Nero 7 Premium - Installation Wizard","&Serial Number:") ControlSend("Nero 7 Premium - Installation Wizard","&Serial Number:","RichEdit20W3","xxxxxxxxxxxxxxxxxxxxxxxx") WinWait("Nero 7 Premium - Installation Wizard","&Serial Number:") ControlClick("Nero 7 Premium - Installation Wizard","&Serial Number:","Button1")] Thank tou for your help Edited October 2, 2005 by pianoteur Link to comment Share on other sites More sharing options...
Westi Posted October 2, 2005 Share Posted October 2, 2005 Install the package with x.exe /Silent /noreboot /sn=xxx-xxxx-xxxx-xxxx /write_sn Link to comment Share on other sites More sharing options...
pianoteur Posted October 2, 2005 Author Share Posted October 2, 2005 thank you Vesty but I wanted to install it with autoIt Do you find my error? Also I have made other applications and they worked on my machine But when I try them on my other machin, they dont work at each time It seem that installing applications with script is not realy stable What do you thing of that May be T am saying an Idiotie! Thanks for your answer Link to comment Share on other sites More sharing options...
Westi Posted October 2, 2005 Share Posted October 2, 2005 Add Opt("WinTextMatchMode", 2)to your code and don't check the complete windowtitle and text. something like this:WinWait("Nero 7 Premium","Veuillez lire") ControlClick("Nero 7 Premium","","Button4") WinWait("Nero 7 Premium","Serial Number") ControlSend("Nero 7 Premium - Installation Wizard","&Serial Number:","RichEdit20W3","xxxxxxxxxxxxxxxxxxxxxxxx") ControlClick("Nero 7 Premium","","Button1") Nobody is an idiot, only the one who read this Link to comment Share on other sites More sharing options...
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