Skip to content

opsi.orgheader image

opsi.org
Views
WinstScripts >>

nero

Document Actions
last edited 11 months ago by sehlers
Qualified for opsi 3.3.1
-------------------------------------------------------------------
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.

[Initial]
Message=Installiere Ahead Nero Burningrom......
LogLevel=2
ExitOnError=false
ScriptErrorMessages=on
TraceMode=off

[Aktionen]
DefVar $ProductFullName$
Set $ProductFullName$ = "Nero Burningrom"
DefVar $ScriptPath$
Set $ScriptPath$  = "%ScriptPath%"
DefVar $ProgramFilesDir$
set $ProgramFilesDir$ = "%ProgramFilesDir%"
DefVar $ProfileDir$
set $ProfileDir$="%ProfileDir%"
DefVar $Temp$
set $Temp$ = EnvVar("TEMP")
DefVar $OS$
DefVar $MinorOS$
set $OS$ = GetOS
set $MinorOS$ = GetNTVersion
if ( $OS$ = "Windows_NT" OR $OS$ = "Windows_95" )
  ShowBitmap /3 "%scriptpath%\nero6.bmp" "Ahead Nero"

  winbatch_nero_silent_install
  winbatch_Burnrights_silent_install
  winBatch_update

;custom specific stuff
  DefVar $PRODUCTPATH$
  Set $PRODUCTPATH$="%ProgramFilesDir%\Ahead"

  if FileExists("%ScriptPath%\custom_ins_dir\custom.ins")
    sub "%ScriptPath%\custom_ins_dir\custom.ins"
  endif

endif

[winbatch_nero_silent_install]
"%scriptpath%\files\Nero OEM\setup.exe" /SILENT

[winbatch_Burnrights_silent_install]
"%scriptpath%\files\Nero BurnRights\setup.exe" /silent /nocancel /nolicense /burnrights:all /noreboot /no_ui

[winBatch_update]
"%SCRIPTPATH%\files\nero63117\setup.exe" /silent