Jump to content

[Question] Nero 7.7.5.1 switches usage


hmaster10

Recommended Posts

Run a test install first and use your keyboard to navigate trough the install, usually the TAB, ARROW and ENTER keys are sufficient for this.. Write down the whole sequence of pressed keys to the point where the setup closes with the last ENTER.

I will elaborate it for you like this and I hope it narrows it down for you a bit.

‘The Run command you need to start the setup
set WshShell = CreateObject("WScript.Shell")
WshShell.Run "Nero-7.7.5.1_eur-north-west_micro.exe"

‘The sleep command makes it wait ½ a second to go to next step.
WScript.Sleep 500

‘Here it gives the command to use the TAB key to skip the language selection
‘because it starts with English and go to the Next button.
WshShell.SendKeys "{TAB}"

‘Here it gives the command to press ENTER like klikking the Next button.
WshShell.SendKeys "{ENTER}"

‘Here it waits again for the gui to to skip to the next dialog.
‘Just fill in the correct time it needs to wait, if you go to quick
‘the script will proceed in Explorer instead of the setup.
WScript.Sleep 200

‘This is the welcome to the setup dialog starting with a next button
‘which we want to ENTER.
WshShell.SendKeys "{ENTER}"
WScript.Sleep 200

‘Here we arrive in the dialog to fill in your credentials which you already did
‘with the reg key and already is present. The first TAB skips frome name to
‘organization.
WshShell.Sendkeys "{TAB}"

‘The second TAB from Organization to Serial number.
WshShell.Sendkeys "{TAB}"

‘the third TAB skips to the Back button.
WshShell.Sendkeys "{TAB}"

‘The fourth TAB skips to the NEXT button
WshShell.Sendkeys "{TAB}"

‘Then we ENTER to skip to the next dialog and sleep again for a moment
‘waiting for the next dialog to load.
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 200

‘Now we arrive to the license agreement and start selecting with selecting the
‘I do not agree checkmark with the TAB
WshShell.Sendkeys "{TAB}"

‘We want to agree of course and switch to that with the Arrow UP key
WshShell.Sendkeys "{UP}"

‘And ENTER the agreement to skip to select the destination dialog
‘and sleep again to wait for that next dialog
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 200

‘The destination we will keep default so we hit TAB three times
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"

‘And ENTER next for the next dialog
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 200

‘I want a default Full installation so I just hit three times TAB and one time ‘ENTER.
'But this you could do for custom as well with pressing the according keys.
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 200

‘Next dialog is choosing the start menu folder which I keep default, hit four ‘times TAB and ENTER to skip to next dialog.
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 200

‘This is the additional Tasks dialog i kept default as well hit TAB four times and ENTER.
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{TAB}"
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 200

‘Here we arrive at the Ready to install dialog and just need to hit ENTER
WshShell.Sendkeys "{ENTER}"

‘Because it’s a small version of Nero it only takes a few moments to install
‘so for this one sleeping 12000 milliseconds is sufficient to wait till the install is finished.
Wscript.Sleep 12000

‘Then hit ENTER again to close the setup
WshShell.Sendkeys "{ENTER}"
'Done :

So the bottom line is for each Keyboard Key you need to press you enter a separate line in the script with the WshShell.Sendkeys “{Keyboard key}”

When skipping to next dialog you put in the Wscript.Sleep command and gives it the time it needs to load, this you have to test for yourself specially at the point where the actual install starts. How long this takes depends on how big the setup is.

Here you find a reference of all Sendkey codes for your keyboard

http://www.devguru.com/Technologies/wsh/qu...l_SendKeys.html

You need no other switches it is just like a manual install using your keyboard instead of your mouse… The rest is the same as all other unattended installs put the script, the setup and batch.cmd (with the start and /wait switch) in the same install folder and run it…

The Setup GUI starts and looks like it is navigated and klikked with an invisible mouse..

:)

Ps. This is just an extended example of possibilities and maybe you don't need to hit the TAB key all the time in all dialogs if you like to keep it default, usually hitting ENTER is enough to skip to next dialog

Edit:

Had some spare time today :thumbup Who says A says B huh? and tested it on 3 computers 1 virtual, 1 xp home 1 xp pro.. The virtual doesn't run Nero so i tested it by uninstalling and reïnstalling my Nero 7 Lite package on the other computers.. It writes the registration info to the registry adds a context menu for quick launching Nero an installs Nero (default) unattended without user interaction.. For those who have Nero 7.5.5.1 Lite and don't have an idea how to script this by temselfs ;)

Edited the sleep values a bit and it seems to be sufficient you might want to edit it yourself with longer periods if you have slower computer..

set WshShell = CreateObject("WScript.Shell")

'Writes registration information to registry.
WshShell.RegWrite "HKLM\SOFTWARE\ahead\Installation\Families\Nero 7\Info", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\ahead\Installation\Families\Nero 7\Info\Version", "7.5.5.1"
WshShell.RegWrite "HKLM\SOFTWARE\ahead\Installation\Families\Nero 7\Info", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\ahead\Installation\Families\Nero 7\Info\User", "User"
WshShell.RegWrite "HKLM\SOFTWARE\ahead\Installation\Families\Nero 7\Info", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\ahead\Installation\Families\Nero 7\Info\Company" , "Company"
WshShell.RegWrite "HKLM\SOFTWARE\ahead\Installation\Families\Nero 7\Info\", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\ahead\Installation\Families\Nero 7\Info\Serial7", "xxxx-0000-xxxx-0000-xxxx-0000-xxxx"

'Writes Folder context menu item for quick starting nero.
WshShell.RegWrite "HKCR\Folder\shell\Nero\command\", "Nero"

'Runs Nero Setup.
WshShell.Run "Nero-7.7.5.1_eur-north-west_micro.exe"
WScript.Sleep 1000

'Chooses English dialog.
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1000

'Welcome to Nero 7 Lite Setup Wizard.
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1000

'Customer info, Registration.
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 1000

'License Agreement.
WshShell.Sendkeys "{TAB}"
Wscript.sleep 1000
WshShell.Sendkeys "{UP}"
Wscript.sleep 1000

'Select Destination location.
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 1000

'Sellect Components.
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 1000

'Select start menu folder.
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 1000

'Select additional tasks.
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 1000

'Ready to install.
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 1000

'Installation process.
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 20000

'Close setup.
WshShell.Sendkeys "{ENTER}"

:hello: Cheers..

Edited by VAsT
Link to comment
Share on other sites


i wanted to know which entry i have to remove with orca. i have removed all occuring entries of "Nero3dmenueffects.dll"

I think that "Nero3dmenueffects.dll" error occurs when directx 9.0c is not updated.

To correct this, a directx update must be installed before trying to setup nero 7.7.x silently.

If you setup nero normally (I mean not silently), you will notice that directx will update during the process.

I didn't manage to force directx to update during a nero 7.7 silent install.

There doesn't seem to be a usable entry with orca.

Anyway I think it's preferable to update directx independently of nero : this way you may control which dx9 version is installed.

hope it helps :)

Edited by toto51
Link to comment
Share on other sites

@toto51

Thanks toto that's it :thumbup

I tried it on Windows XP and it works great when i install directx before i install Nero silently :rolleyes:

You can also use the Directx package that is in Nero.

It's under NeroDemo\Redist\DirectX

So i can do

NeroDemo\Redist\DirectX\dxsetup.exe /silent

and

SetupX.exe /qb! /NORESTART RebootYesNo="No" NERO_SCOUT="FALSE" serialnum_userval="serialnumber" AgreeToLicense="Yes" EULA_AGREEMENT=1

and then it works under WinXP

I have now to test it with vista

Greeting

kyor

Link to comment
Share on other sites

No it cant be avoided because it's a fresh installation without Nero.

It can only be fixed for me when i install DirectX before Nero installation begins

Greetings

kyor

Link to comment
Share on other sites

the error popsup even during a fresh install where no previous installation was carried out. if nero was previously installed, directx would have already been updated and this problem wouldnt have come at all. thats why i didnt get problem when i installed in my computer but with other computers, i saw the error. im testing the toto51+kyor's ideas and would post the result. im going to install in a freshly installed xp machine.

Link to comment
Share on other sites

Hello guys!

I've tried kyor & Toto51 ideas it works really. The errors doesn't appears in a fresh install. If do not, please use nero general clean tool with a registry cleaner (ccleaner it's fine).

So i've worked around thi ideas. That's all:

create a registry key like this one

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ahead\Installation]
@=dword:00000000
"IsNero6Uninstalled"=dword:00000001
"IsNero7"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\ahead\Installation\Families\Nero 7\Info]
"Version"="7.7.5.1"
"User"="Happy Hippo"
"Company"="The best"
"EulaAccepted"="1"
[color="#FF0000"]"Serial7_**********"="****-****-****-****-****-****-****"[/color]

[HKEY_LOCAL_MACHINE\SOFTWARE\ahead\Installation\Families\Plugins\Info]
[color="#FF0000"]"Serial7_**********"="****-****-****-****-****-****-****"
"Serial7_**********"="****-****-****-****-****-****-****"
"Serial7_**********"="****-****-****-****-****-****-****"
"Serial7_**********"="****-****-****-****-****-****-****"[/color]

[HKEY_LOCAL_MACHINE\SOFTWARE\ahead\Installation\Settings]
"DONOTRUNSETUPX"=dword:00000000
"REBOOT_REQUIRED"=dword:000003ec
"AutomaticUpdate"=dword:00000000

The red keys are simply the code of nero 7 + plugins, if not necessary delete the key plugins\Info.

So we will start the installation with a cmd file:

CLS
@echo off
ECHO.
ECHO.
COLOR C7
ECHO Install NERO 7 ULTRA Edition
ECHO ___________________________________
ECHO.
ECHO Please wait...
ECHO.
regedit /s %CDROM%\Install\nero7\nero7.reg
start /wait %CDROM%\Install\nero7\Redist\DirectX\dxsetup.exe /silent
start /wait %CDROM%\Install\nero7\SetupX.exe /qb! /NORESTART RebootYesNo="No" NERO_SCOUT="FALSE" AgreeToLicense="Yes" EULA_AGREEMENT=1
ECHO.
EXIT

Where %CDROM%\Install is yours favorites directory!

Thats all folk! Byez and TNX

Link to comment
Share on other sites

I you do not want to use Nero Scout, do the unattended installation of Nero

after that use the following command:

Regedit /s DisableNeroScout.reg

Contents of DisableNeroScout.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Nero Home\MediaLibrary]
"DisableNeroScout"=dword:00000001

Greetings kyor

Link to comment
Share on other sites

TSK TSK.... ehmmmm

I've just burned nero on cd.... during the install i recive an error! Instead installing from hd it's ok! :realmad:

Unable to create necessary files rows in the folder

When nero setupX try to decompress file *.cab locate in ..\Cab

Some tricks? I can decompress *.cab but... i dont know the correct name of the folder used from installer... (if work), it depends of nero.msi installer.... ummmm..... that's a problem....

Thanks... i'm a little niubbie :blushing:

Link to comment
Share on other sites

OK i have got this to work

You need winzip self extractor 3 though

You zip the entire extracted nero files

load up self extractor

Select self-extracting zip file for software installation.

click next twice

browse to the nero.zip file (or what ever you called it)

Click Next twice

Select Unzip automatically

Click Next

In the command line put in

SetupX.exe /q /norestart serialnum_userval=" insert serial " AgreeToLicense="Yes" EULA_AGREEMENT=1

Click Next

Put in a message this is mandatory

Click Finish

wait till it's done

and in your runonce put nero.exe (or whatever you called it) and it will install silently

EDIT:- by doing it this way you reduce the size down too about 270 mb for a full program

Edited by james2k
Link to comment
Share on other sites

silently installing Nero, first off

extract Nero SetupX.exe, with winrar, after done, look in the directory for \Redist\Config and open the config text,

you can do some edits here, keep or discard by using EXCLUDE INCLUDE

INCEXCFTR (2FF8B816) (Actions) NeroHome EXCLUDE

INCEXCFTR (2EFBD6E8) (Actions) NeroApi INCLUDE

close and save

@ECHO.

@ECHO Installing Nero Burning Rom

@ECHO wait...

start / wait %systemdrive%\Nero_v7.7.5.1\Nero-7.7.5.1_nld\SetupX.exe /QUIET /NORESTART RebootYesNo="No" serialnum_userval="****-**** ****-****-****-****-****" AgreeToLicense="Yes" EULA_AGREEMENT=1

I went a bit further and edited the nero.msi in orca,

Link to comment
Share on other sites

sorcio, did u extract the nero installation file or did admin install? extract the files and follow the method. do not do admin install. Use setupx.exe to install nero.

I've used winrar.... i've tried just now...

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

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