Sign in to follow this  
Followers 0
pianoteur

silent application install with autoIt

4 posts in this topic

#1 ·  Posted (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 by pianoteur

Share this post


Link to post
Share on other sites



Install the package with

x.exe /Silent /noreboot /sn=xxx-xxxx-xxxx-xxxx /write_sn

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 ;)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0