Sign in to follow this  
Followers 0
Guest 17901

Realplay10, Nero Auto install question

3 posts in this topic

I have a question I cant dissolve. When I use AutoIt to create a self install application such as Nero (version 6.3.1.20) & Realplay10, the visible text in the AutoIt Window Spy was the same during the software install. I cant decide capture the exact window, the windows were the: WinWait ( "Nero Burning ROM Installation Wizard"), WinActivate ( "Nero Burning ROM Installation Wizard "), I cant send the correct key commands between two windows because the visible text was the same. Please tell me how to dissolve this problem.

Attached a InstNero.au3, Nero installation script. You can check it.

; AutoIt Version: 3.x

;

; language: Chinese

;

; Platform: Win9x/Me/2K/XP

;

; Author: Xiaoguang Fu (xgfu@21cn.com, QQ: 2154096)

;

; Note: Install Nero 6.3.1.20 and Chinese LanguagePack

;

;

If FileExists("C:\Program Files\Ahead\Nero\Nero.exe") Then

$ver = FileGetVersion("C:\Program Files\Ahead\Nero\Nero.exe")

MsgBox(0, "Version Information", "Your Nero Version is: "&$ver, 2 )

EndIf

Sleep ( 3000 )

Run ( "Nero63120.exe" )

; Installation Wizard

WinWait ( "Nero Burning ROM安装向导" )

WinActivate ( "Nero Burning ROM安装向导" )

Send ( "{ENTER}" )

; Lisence Agreement

WinWait ( "Nero Burning ROM安装向导" ,"许可证协议。" )

WinActivate ( "Nero Burning ROM安装向导" ,"许可证协议。" )

Send ( "{TAB}" )

Send ( "{UP}" )

Send ( "{ENTER}" )

; Customer Information

WinWait ( "Nero Burning ROM安装向导" , "客户信息。" )

WinActivate ( "Nero Burning ROM安装向导" , "客户信息。" )

Send ( "{ENTER}" )

; After Long Filecopy Installation Process, I can't send the key command below:

Sleep( 30000 )

; Installation Complete, Problem exist between these two windows.

WinWait ( "Nero Burning ROM安装向导")

WinActivate ( "Nero Burning ROM安装向导")

; These command can't send correctly.

Send ( "{TAB}" )

Send("{SPACE}")

Send ( "{TAB}" )

Send("{SPACE}")

Send ( "{TAB}" )

Send("{SPACE}")

Send ( "{TAB}" )

Send ( "{ENTER}" )

; Installation LanguagePack

Run ( "NBR63120CHS.exe" )

WinWait ( "Nero语言包安装向导" )

WinActivate ( "Nero语言包安装向导" )

Send ( "{ENTER}" )

WinWait ( "Nero语言包安装向导" , "许可证协议。" )

WinActivate ( "Nero语言包安装向导" , "许可证协议。" )

Send ( "{TAB}" )

Send ( "{UP}" )

Send ( "{TAB 2}" )

Send ( "{ENTER}" )

Sleep ( 10000 )

WinWait ( "Nero语言包安装向导" )

WinActivate ( "Nero语言包安装向导" )

Send ( "{ENTER}" )

DirCreate ( @ProgramsCommonDir&"\光盘软件" )

FileCopy ( @ProgramsCommonDir&"\Nero\Nero 6 Ultra Edition\Nero Burning ROM.lnk", @ProgramsCommonDir&"\光盘软件\Nero Burning ROM.lnk",1)

MsgBox ( 4096, "恭喜", "Nero 6.3.1.20 中文版已成功安装注册。" , 2 )

Exit

Share this post


Link to post
Share on other sites



Nero have its installations arguments...

RegWrite() in the registry the serial number and Run()

Nero60015.exe /Silent /Noreboot

That will install with no question of any kind.

Also languages pack have similar arguments.

Share this post


Link to post
Share on other sites

you are from china ?

Why don't you go to www.JUJUMao.com ?

The best way to install nero automate is use /Silent /Noreboot

then write reg file.

you can get more information of silent istall from http://www.cctips.com/Unattended/applications.htm

or read 电脑爱好者第13期

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