Jump to content

Recommended Posts

Posted (edited)

:hello:

I have made a autoit of the Dutch Nero 7012 everything goes fine till it want to install, autoit doesnt push the Install button.my hair is falling down from scratching my head :no: this is my autoit:All the credits goes to Dynaletik cause I changed the German letters to Dutch

Could someone check this please..

First I registered then autoit

AutoItSetOption("TrayIconHide", 1)

BlockInput(1)

run("SetupX.exe")

WinWait("Installatiewizard voor Nero 7 Demo", "Welkom bij de installatiewizard voor Nero 7 Demo")

sleep(6000)

controlclick("Installatiewizard voor Nero 7 Demo", "Vol&gende >", "Button1")

WinWait("Installatiewizard voor Nero 7 Demo", "Licentieovereenkomst")

controlclick("Installatiewizard voor Nero 7 Demo", "&Ik ga akkoord met de voorwaarden van de Gebruiksrechtovereenkomst", "Button6")

controlclick("Installatiewizard voor Nero 7 Demo", "Vol&gende >", "Button3")

WinWait("Installatiewizard voor Nero 7 Demo", "Klanteninformatie")

controlclick("Installatiewizard voor Nero 7 Demo", "Vol&gende >", "Button1")

WinWait("Installatiewizard voor Nero 7 Demo", "Type setup")

controlclick("Installatiewizard voor Nero 7 Demo", "&Aangepast", "Button3")

controlclick("Installatiewizard voor Nero 7 Demo", "Vol&gende >", "Button5")

WinWait("Installatiewizard voor Nero 7 Demo", "Taalselectie")

controlclick("Installatiewizard voor Nero 7 Demo", "Vol&gende >", "Button3")

WinWait("Installatiewizard voor Nero 7 Demo", "Aangepaste setup")

controlclick("Installatiewizard voor Nero 7 Demo", "Vol&gende >", "Button5")

WinWait("Installatiewizard voor Nero 7 Demo", "Klaar voor de installatie van het programma") <-------

controlclick("Installatiewizard voor Nero 7 Demo", "&Installeren", "Button1")

WinWait("Installatiewizard voor Nero 7 Demo", "Bestandsextensies")

controlclick("Installatiewizard voor Nero 7 Demo", "Vol&gende >", "Button6")

WinWait("Installatiewizard voor Nero 7 Demo", "Installatiewizard voltooid")

controlclick("Installatiewizard voor Nero 7 Demo", "&Voltooien", "Button1")

WinWait("Informatie over Nero 7 Demo")

controlclick("Informatie over Nero 7 Demo", "&Nee", "Button2")

BlockInput(0)

Regards

Edited by tresans

Posted (edited)
Why note use Send function instead ControlClick ?

This is like taking a step backwards. Control* functions are so much more reliable. :rolleyes:

@tresans

Using the Control* functions shows that using BlockInput() is useless to use as you are not going to disturb the install. If you use Mouse* functions or Send then you could use BlockInput() as those functions can be disturbed.

Use Au3Info to get the text to correct your script. The text is Case sensitive for window titles and text.

Edit: Here is my silent method with AutoIt attached as for a 3rd different method.

_Nero_v7.0.1.2.html

Edited by MHz
Posted

Yesm the BlockInput can be removed. I am not an AutoIT professional. I just wrote the german script to get Nero installed with the components I wanted, but now I use keytotimes method, because with it you can also shrink the install.

Please check the installerbuttons with Au3Info like MHz said. I can't see a problem at the install step.

Posted

Tnx for replys gus

I have checked the function button a couple of times with autoit window info but cant find anything else.

I have registered the program and tried it normally but now i must register again.....wth

This is my register.reg.

[HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Installation\Families\Nero 7\Info]

"Serial7_1131499399"="*xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

"Version"="7.0.1.2"

"User"="Iedereen"

"Company"="THUIS"

If I register it and close the program, i must register again.Is my register "dirty"or something else?

Regards

Posted

This is what I use for registering Nero:

[HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Installation\Families\Nero 7\Info]
"Serial7"="*xxxxxxxxxxxxxxxxxxxxxx"
"User"="USER"
"Company"="COMPANY"

Posted (edited)

Yeh, don' include the _1131499399 part of your regfile

[HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Installation\Families\Nero 7\Info]
"Serial7_1131499399"="*xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Edited by BoardBabe
Posted

Its really weird ,if I type the serial in Nero it accepts ,if I import with a .REG file it writes in the registry but its keep asking for serial.

Can I have a .REG file of yours without serial number (doh),yes i know whats the difference.

But I really dont know how this is possible and how to solve it.

regards

Posted

I have issues with registering by adding to the registry. Nero does not like the serial if it does not generate that key number to suit. Here is what I have for starting Nero after the install.

; User Info for registration window.
$name = @UserName
$company = 'Company'
$serial = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
; Execute Nero to register.
$key = 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Nero.exe'
$fullpath_nero = RegRead($key, '')
If Not @error Then
$pid = Run($fullpath_nero)
$title = 'Welcome to Nero'
$text = 'License Agreement'
; License Agreement Window
If WinWait($title, $text, 20) Then
ControlCommand($title, $text, 'Button5', 'Check', '')
If ControlCommand($title, $text, 'Button4', 'IsEnabled', '') Then
ControlClick($title, $text, 'Button4')
; Registration Window
$text = 'Registration'
WinWait($title, $text)
ControlSetText($title, $text, 'Edit1', $name)
ControlSetText($title, $text, 'Edit3', $company)
ControlSetText($title, $text, 'Edit3', $serial)
If ControlCommand($title, $text, 'Button4', 'IsEnabled', '') Then
ControlClick($title, $text, 'Button4')
WinWaitClose($title)
ProcessClose($pid)
Else
WinClose($title)
EndIf
Else
WinClose($title)
EndIf
EndIf
EndIf

Having problems with no shortcuts for silent installing. Config file seems to not work with serial. A very buggy installer. :blink:

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...