Jump to content

Recommended Posts


Posted (edited)

You can also use "choice" :D

@echo off
COLOR 9E
Title NERO

FOR %%a IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO If EXIST %%a:\Nero-7.0.8.2_eng_no_yt.exe SET CDROM=%%a:

Echo.
Choice /C:YN /T:Y,5 Setup Nero-7.0.8.2_eng_no_yt
if errorlevel 2 goto nextNero
if errorlevel 1 goto Nero
:Nero
start /wait %CDROM%\Nero-7.0.8.2_eng_no_yt.exe /qn SERIALNUM_USERVAL="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx" NERO_SCOUT=FALSE CB035464E=0 C2FF8B816=0 C57D52359=0 CD773A6E2=0 C6035F00C=0 C53BEFA20=0 CCB9D5429=0 C7CE8D626=0 CED1EAF52=0 CFA3A3F7B=0 C716FE146=0 C72CC518F=0
:wait
Choice /N /T:N,60 Please Wait...
if errorlevel 2 goto nextNero
if errorlevel 1 goto wait
:nextNero

You can add "/norestart" if it's asking for restart (no more in this version)

PS for Windows xp you need to copy choice.exe to %windir%

Availability (choice.exe)

Choice.com was originally supplied on the Windows 95 install CD, however there are some issues with this version under NT - multiple concurrent invocations of CHOICE will clobber each other. CHOICE.com will also burn a lot of CPU's when in a wait state.

The NT and 2000 Resource Kits contain CHOICE.EXE which behaves a lot better.

In Windows 2003 CHOICE became a built-in command so it is no longer in the resource kit.

Edited by Mercury_22
Posted

Thanks BoardBabe, great work do you think it would be possible to add reg entries for plugins serial numbers?

Posted

I don't really know where that goes atm hehe, but I guess it would be no problem :)

I'm trying to fix a problem renaming the app name in add/remove atm, so the script will be reuploaded shortly.

Posted (edited)

Boardbabe, from waht i can see the serial go here in the registry.

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

and

[HKEY_LOCAL_MACHINE\SOFTWARE\ahead\Installation\Families\Plugins\Info]

thank for your reply :)

Edited by urie
Posted

Wow, this script is great. Lots of things I can pick from here. Just when you thought you knew AutoIt, someone writes a script that blows away anything you've ever written. :(

Anyway, awesome work. Worked a charm over here.

-redfive

  • 2 weeks later...
Posted

There is a problem with installing using this script. I don't know if it is a problem or if it actually is by design, although I presume it is a problem since I can't imagine why it would be by design.

The problem:

The installation is fine and the programs work fine, except that the function to register any of the programs with 'Auto Play' is not available. In other words when I insert a blank CD/DVD in the writer, the 'Auto Play' function of windows popups and asks what program to use depending on the type of CD/DVD inserted. But none of the Nero programs are listed as an option.

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...