MSFN Forum: Making Nero 8 a silent install - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 8 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • You cannot start a new topic
  • You cannot reply to this topic

Making Nero 8 a silent install Rate Topic: -----

#101 User is offline   exhaler 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 02-January 07

Posted 23 December 2007 - 05:58 PM

i'm trying to install nero 8 on unattended vista but the problem is that it asks for a reboot (e.g windows update) and i use WPI to install nero but after the reboot WPI doesn't run. is there a way to install nero 8 without having to reboot??
i've tried all solutions mentioned above, they work on XP but i want to work on VISTA

This post has been edited by exhaler: 23 December 2007 - 05:58 PM



#102 User is offline   rajesh.kumar 

  • Crank up
  • PipPipPip
  • Group: Members
  • Posts: 340
  • Joined: 02-July 05

Posted 25 December 2007 - 01:54 AM

this sometimes happens with xp too. If u are starting with a bunch of installations, choose nero to install first.

#103 User is offline   givanoff 

  • Group: Members
  • Posts: 2
  • Joined: 29-September 06

Posted 02 April 2008 - 08:36 AM

View Postyadzil, on Oct 9 2007, 02:04 AM, said:

The problem still the same. I follow step by step as you mentioned.
The message :
"A system reboot was requested by previous software installation (e.g. a Windows update). Please reboot your computer to resume the installation of Nero 8 Demo".


Add this line to your script just before invoking nero installer:

 
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations /f 

This will solve your problem.

#104 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 05 May 2008 - 05:02 AM

Some suggestions for CEoCEo's Nero AutoIt script. Based on version 2.2

To hide the extracting window, add this to the top of your script:

; Options
AutoItSetOption("WinTitleMatchMode", 2)
AutoItSetOption("WinWaitDelay", 1)


And this right after line 149, before the Else statement:

WinWait("Extracting", "")
WinSetState("Extracting", "", @SW_HIDE)


But this might not work for non english distributions.

Add an option to unregister Nero DirectShow Filters. Something like this:

$UND = 1; UnRegister Nero DirectShow Filters

; UnRegister Nero DirectShow Filters
If $UND = 1 Then
$search = FileFindFirstFile(@CommonFilesDir & "\Nero\DSFilter\*.ax")
While 1
	$file = FileFindNextFile($search)
	If @error Then ExitLoop
	RunWait("regsvr32 /u /s " & $file, @CommonFilesDir & "\Nero\DSFilter", @SW_HIDE)
WEnd
EndIf
FileClose ( $search )


#105 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 05 May 2008 - 08:32 AM

With CEoCEo script 2.2, and Nero 8.3.2.1 I am still getting this error right after Windows XP unattended finishes:

Attached File  nero_reboot.jpg (26.9K)
Number of downloads: 21

Install during unattended windows XP at RunOnceEx stage fails with this error:

"Installation of Nero failed by an unknown reason"

#106 User is offline   CEoCEo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 20-April 05

Posted 06 May 2008 - 04:16 AM

Hi artbio!
You get this error because you have a pending file operation that needs to be taken care of before Nero continues the installation process. Nero8 is pretty strict when it comes to the installation part. :}
Try to place this Nero installer as your first priority in your setup environment to see if you can overcome this error message. It's not recommended to delete the registry entries as givanoff posted. Windows needs to restart to be able to update currently used files.
I will look into your suggestions and release a new version when ready. ;)

#107 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 06 May 2008 - 04:36 AM

View PostCEoCEo, on May 6 2008, 10:16 AM, said:

Hi artbio!
You get this error because you have a pending file operation that needs to be taken care of before Nero continues the installation process. Nero8 is pretty strict when it comes to the installation part. :}
Try to place this Nero installer as your first priority in your setup environment to see if you can overcome this error message. It's not recommended to delete the registry entries as givanoff posted. Windows needs to restart to be able to update currently used files.
I will look into your suggestions and release a new version when ready. ;)


Actually I tried that. It didn´t work. I changed the parameter /qb- to /qn. It might be that. When I use /qn your script can't see the reboot prompt, that's my theory.

Or your script can't handle the reboot prompt on the latest version of Nero. I took a look on your script. On the Prompt() function:

; Handle reboot prompt
Func Prompt()
	If WinExists("Nero") Then
		$CL = WinGetClassList("Nero")
		$SL = StringLen($CL)
		If $SL = 21 Then
		(...)
EndFunc


I checked and $SL is equal to 28.

However it installs fine on vmware. The difference is that on my machine, drivers specific to it are installed.

I included an option to force the install of Nero, on your script. It's based on givanoff's information. Tested an working. Actually there isn't a problem with that, since the registry is backed up and restored on AutoIt exit.

And added some other options. I will send you the script so you can look at it and keep the options you want, if you are willing to.

Regards.

This post has been edited by artbio: 06 May 2008 - 04:42 AM


#108 User is offline   CEoCEo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 20-April 05

Posted 06 May 2008 - 05:08 AM

WOW!!! Great job artbio! :thumbup
I'll look into the changes and compare with my current script.

#109 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 715
  • Joined: 08-February 07

Posted 06 May 2008 - 05:20 AM

Hi CEoCEo. I tried your script many times. It works well, but doesn't delete NMIndexingService.exe and
NMIndexStoreSvr.exe files. After I changed Delete Media Indexing Services section to look like this:
; Delete Media Indexing Services
If $MIS = 0 Then
    RegDelete("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "BgMonitor_{79662E04-7C6C-4d9f-84C7-88D8A56B10AA}")
    RunWait(@COMSPEC & " /c taskkill /f /im NMBgMonitor.exe", "", @SW_HIDE)
    RunWait(@COMSPEC & " /c taskkill /f /im NMIndexingService.exe", "", @SW_HIDE)
    RunWait(@COMSPEC & " /c taskkill /f /im NMIndexStoreSvr.exe", "", @SW_HIDE)
    Sleep(1000)
    FileDelete(@CommonFilesDir & "\Nero\Lib\NMBgMonitor.exe")
    FileDelete(@CommonFilesDir & "\Nero\Lib\NMIndexingService.exe")
    FileDelete(@CommonFilesDir & "\Nero\Lib\NMIndexStoreSvr.exe")
EndIf

all those files was deleted. Can you update your script with the above code? The only problem is that
taskkill command doesn't work in XP Home Edition.

This post has been edited by radix: 06 May 2008 - 05:21 AM


#110 User is offline   CEoCEo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 20-April 05

Posted 06 May 2008 - 05:40 AM

Hi radix!
Actually I have tested this part with great success in the upcoming release of 2.3. More complicated, but it will hopefully work for everyone. :)
; Delete Media Indexing Services
If $MIS = 0 Then
	RegDelete ( "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "IndxStoreSvr_{79662E04-7C6C-4d9f-84C7-88D8A56B10AA}" )
	RegDelete ( "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce", "NeroHomeFirstStart" )
	RunWait ( @ComSpec & " /c regsvr32 /u /s MediaLibraryNSE.dll", @CommonFilesDir & "\Nero\Lib", @SW_HIDE )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\MediaLibraryNSE.dll" )
	RunWait ( @ComSpec & " /c net stop NMIndexingService", "", @SW_HIDE )
	RunWait ( @ComSpec & " /c sc delete NMIndexingService", "", @SW_HIDE )
	RegDelete ( "HKCR\CLSID\{E8933C4B-2C90-4a04-A677-E958D9509F1A}" )
	RegDelete ( "HKCR\AppID\{D55E16BA-BBC9-4F7E-A147-E5DFBCC71480}" )
	RegDelete ( "HKCR\AppID\NMIndexingService.EXE" )
	RegDelete ( "HKLM\SYSTEM\CurrentControlSet\Services\NMIndexingService" )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\NMIndexingService.exe" )
	RunWait ( @ComSpec & " /c regsvr32 /u /s NMIndexingServicePS.dll", @CommonFilesDir & "\Nero\Lib", @SW_HIDE )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\NMIndexingServicePS.dll" )
	ProcessClose ( "NMIndexStoreSvr.exe" )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\NMIndexStoreSvr.exe" )
	RunWait ( @ComSpec & " /c regsvr32 /u /s NMIndexStoreSvrPS.dll", @CommonFilesDir & "\Nero\Lib", @SW_HIDE )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\NMIndexStoreSvrPS.dll" )
EndIf


#111 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 06 May 2008 - 05:57 AM

View Postradix, on May 6 2008, 12:20 PM, said:

Hi CEoCEo. I tried your script many times. It works well, but doesn't delete NMIndexingService.exe and
NMIndexStoreSvr.exe files. After I changed Delete Media Indexing Services section to look like this:
; Delete Media Indexing Services
If $MIS = 0 Then
	RegDelete("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "BgMonitor_{79662E04-7C6C-4d9f-84C7-88D8A56B10AA}")
	RunWait(@COMSPEC & " /c taskkill /f /im NMBgMonitor.exe", "", @SW_HIDE)
	RunWait(@COMSPEC & " /c taskkill /f /im NMIndexingService.exe", "", @SW_HIDE)
	RunWait(@COMSPEC & " /c taskkill /f /im NMIndexStoreSvr.exe", "", @SW_HIDE)
	Sleep(1000)
	FileDelete(@CommonFilesDir & "\Nero\Lib\NMBgMonitor.exe")
	FileDelete(@CommonFilesDir & "\Nero\Lib\NMIndexingService.exe")
	FileDelete(@CommonFilesDir & "\Nero\Lib\NMIndexStoreSvr.exe")
EndIf

all those files was deleted. Can you update your script with the above code? The only problem is that
taskkill command doesn't work in XP Home Edition.


Try:

ProcessClose("NMBgMonitor.exe")
ProcessClose("NMIndexingService.exe")
ProcessClose("NMIndexStoreSvr.exe")


#112 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 715
  • Joined: 08-February 07

Posted 06 May 2008 - 06:03 AM

View Postartbio, on May 6 2008, 02:57 PM, said:

Try:

ProcessClose("NMBgMonitor.exe")
ProcessClose("NMIndexingService.exe")
ProcessClose("NMIndexStoreSvr.exe")

I tried that months ago and doesn't work. It works only with taskkill command applied to NMIndexingService.exe and NMIndexStoreSvr.exe. NMBgMonitor.exe was deleted with the
original code provided by CEoCEo.

#113 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 06 May 2008 - 06:20 AM

View Postradix, on May 6 2008, 01:03 PM, said:

View Postartbio, on May 6 2008, 02:57 PM, said:

Try:

ProcessClose("NMBgMonitor.exe")
ProcessClose("NMIndexingService.exe")
ProcessClose("NMIndexStoreSvr.exe")

I tried that months ago and doesn't work. It works only with taskkill command applied to NMIndexingService.exe and NMIndexStoreSvr.exe. NMBgMonitor.exe was deleted with the
original code provided by CEoCEo.


Did you try?

$list = ProcessList("NMIndexingService.exe")
For $i = 1 To $list[0][0]
	ProcessClose($list[$i][1])
Next

This post has been edited by artbio: 06 May 2008 - 06:21 AM


#114 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 06 May 2008 - 09:55 AM

View Postradix, on May 6 2008, 01:03 PM, said:

View Postartbio, on May 6 2008, 02:57 PM, said:

Try:

ProcessClose("NMBgMonitor.exe")
ProcessClose("NMIndexingService.exe")
ProcessClose("NMIndexStoreSvr.exe")

I tried that months ago and doesn't work. It works only with taskkill command applied to NMIndexingService.exe and NMIndexStoreSvr.exe. NMBgMonitor.exe was deleted with the
original code provided by CEoCEo.


Didn't try, but I think my above suggestion will not work. It closes all the running processes with the same name. I don't think it's the situation here. NMIndexingService.exe is running as a service and that's why you need to force the close procedure. CEoCEo's solution looks promissing. However if you want to do it the AutoIt way exclusively, you can do it with an user defined function. Take a look here -> http://www.autoitscript.com/forum/index.ph...&hl=service
Here is a sample from that topic:

;===============================================================================
; Description:   Delete a Windows Service
; Syntax:   _ServDelete($iName[, $Computer])
; Parameter(s):   $iName - The name of the service to delete
;							$Computer - The network name of the computer (optional) The local computer is default
; Requirement(s):   None
; Return Value(s):   Success - Deletes the service
;								Failure Sets @Error = -1 if service is not found
; Author(s)   GEOSoft
; Modification(s):   
; Note(s):   
; Example(s):   
;===============================================================================

Func _ServDelete($iName, $Computer = ".")
	$Service = ObjGet("winmgmts:\\" & $Computer & "\root\cimv2")
	$sItems = $Service.ExecQuery("Select * from Win32_Service")
	For $objService in $sItems
		If $objService.Name == $iName Then
			$objService.StopService($objService.Name)
			$objService.Delete($objService.Name)
			Return
		EndIf
	Next
	Return SetError(-1)
EndFunc ;<==> _ServDelete()


Just download the include file from that topic and include it with your script. As an alternative copy the needed functions to your script and call them when needed. This way you will have a unique file.

Regards.

This post has been edited by artbio: 06 May 2008 - 10:06 AM


#115 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 06 May 2008 - 10:05 AM

View PostCEoCEo, on May 6 2008, 12:40 PM, said:

Hi radix!
Actually I have tested this part with great success in the upcoming release of 2.3. More complicated, but it will hopefully work for everyone. :)
(...)


So, as an alternative I would suggest:

; Delete Media Indexing Services
If $MIS = 0 Then
	RegDelete ( "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "IndxStoreSvr_{79662E04-7C6C-4d9f-84C7-88D8A56B10AA}" )
	RegDelete ( "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce", "NeroHomeFirstStart" )
	RunWait ( @ComSpec & " /c regsvr32 /u /s MediaLibraryNSE.dll", @CommonFilesDir & "\Nero\Lib", @SW_HIDE )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\MediaLibraryNSE.dll" )
	_ServDelete("NMIndexingService")
	RegDelete ( "HKCR\CLSID\{E8933C4B-2C90-4a04-A677-E958D9509F1A}" )
	RegDelete ( "HKCR\AppID\{D55E16BA-BBC9-4F7E-A147-E5DFBCC71480}" )
	RegDelete ( "HKCR\AppID\NMIndexingService.EXE" )
	RegDelete ( "HKLM\SYSTEM\CurrentControlSet\Services\NMIndexingService" )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\NMIndexingService.exe" )
	RunWait ( @ComSpec & " /c regsvr32 /u /s NMIndexingServicePS.dll", @CommonFilesDir & "\Nero\Lib", @SW_HIDE )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\NMIndexingServicePS.dll" )
	ProcessClose ( "NMIndexStoreSvr.exe" )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\NMIndexStoreSvr.exe" )
	RunWait ( @ComSpec & " /c regsvr32 /u /s NMIndexStoreSvrPS.dll", @CommonFilesDir & "\Nero\Lib", @SW_HIDE )
	FileDelete ( @CommonFilesDir & "\Nero\Lib\NMIndexStoreSvrPS.dll" )
EndIf

;===============================================================================
; Description:   Delete a Windows Service
; Syntax:   _ServDelete($iName[, $Computer])
; Parameter(s):   $iName - The name of the service to delete
;									 $Computer - The network name of the computer (optional) The local computer is default
; Requirement(s):   None
; Return Value(s):   Success - Deletes the service
;										  Failure Sets @Error = -1 if service is not found
; Author(s)   George (GEOSoft) Gedye
; Modification(s):   
; Note(s):   
; Example(s):   
;===============================================================================

Func _ServDelete($iName, $Computer = ".")
	$Service = ObjGet("winmgmts:\\" & $Computer & "\root\cimv2")
	$sItems = $Service.ExecQuery("Select * from Win32_Service")
	For $objService in $sItems
		If $objService.Name == $iName Then
			$objService.StopService($objService.Name)
			$objService.Delete($objService.Name)
			Return
		EndIf
	Next
	Return SetError(-1)
EndFunc  ;<==> _ServDelete()


I tried the _ServDelete() part with success.

Regards.

#116 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 715
  • Joined: 08-February 07

Posted 06 May 2008 - 10:13 AM

Thx artbio for your effort, but my code from post #109 works just fine. Thanks again.
Hope that CEOCEo's next script will be perfect. ;)

#117 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 06 May 2008 - 10:24 AM

View Postradix, on May 6 2008, 05:13 PM, said:

Thx artbio for your effort, but my code from post #109 works just fine. Thanks again.
Hope that CEOCEo's next script will be perfect. ;)


Sure it will. :)
My last suggestion might work on all Windows OS.

#118 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 715
  • Joined: 08-February 07

Posted 06 May 2008 - 12:37 PM

View Postartbio, on May 6 2008, 07:24 PM, said:

Sure it will. :)
My last suggestion might work on all Windows OS.

Thanks for the function artbio.

#119 User is offline   artbio 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 11-June 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 06 May 2008 - 12:47 PM

View Postradix, on May 6 2008, 07:37 PM, said:

View Postartbio, on May 6 2008, 07:24 PM, said:

Sure it will. :)
My last suggestion might work on all Windows OS.

Thanks for the function artbio.


I am not the author of that function. I merely suggested it. Just remember that. ;)

#120 User is offline   CEoCEo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 63
  • Joined: 20-April 05

Posted 12 May 2008 - 12:17 AM

A new release is finally here after great help from AutoIt specialist artbio. After several internal release candidates we now feel our work is complete.

Changelog: 3.0
* Added: Option to extract silently using 7-Zip (artbio)
* Added: Option to install silently with different UI levels (CEoCEo)
* Added: Option to install even if file rename operations are pending (artbio)
* Added: Option to unregister Nero DirectShow filters (artbio)
* Added: Automatic search and use of custom multiple transforms (*.mst) 'Windows SDK Setup Transform Script' (CEoCEo)
* Added: Install of multiple Helpfile Packs and extra helpfiles not included in the original package (artbio) - Extra helpfile support for (*BurnRights*.chm, *ControlCenter*.chm, *Scout*.chm) placed in 'chm' folder
* Added: Removal of unneeded help files and folders (artbio)
* Added: Several error checking improvements (artbio)
* Updated: Major code review specific to the current distribution (CEoCEo & artbio)
* Updated: Removal of 'Media Indexing Services' (CEoCEo)
* Fixed: Silent install with new release of 'Template Packages for Nero Vision 5' (CEoCEo)

This is how to make a transform to enable InCD. Place the mst file together with the script.
In the "Condition" table using Orca, change the feature InCDC9AC4AC7 from
1=1
...to...
CC9AC4AC7=0

This is how to make a transform to enable CopyGadget in Windows XP. Thanks goes to ricktendo64 for this information.
In the "Condition" table using Orca, change the feature NeroCopyGadgetED8C2E75 Level 0 from
NOT(CED8C2E75=1) OR NOT((VersionNT=600 AND (NOT (VersionNT64))))
…to…
NOT(CED8C2E75=1) OR NOT(VersionNT=500 OR (VersionNT=501 AND (NOT (VersionNT64))) OR (VersionNT=502 AND WindowsBuild>2600 AND (NOT (VersionNT64))
Also change the feature NeroCopyGadgetED8C2E75 Level 200 from
(CED8C2E75=0) AND NOT((VersionNT=600 AND (NOT (VersionNT64))))
…to…
(CED8C2E75=0) AND NOT(VersionNT=500 OR (VersionNT=501 AND (NOT (VersionNT64))) OR (VersionNT=502 AND WindowsBuild>2600 AND (NOT (VersionNT64))))

Script is found in my signature ;)

This post has been edited by CEoCEo: 12 May 2008 - 05:29 AM


Share this topic:


  • 8 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy