Seite 1 von 1

XVL Player installation

Verfasst: 01 Sep 2014, 14:35
von ebarriosjr
Hallo,

ich habe eine kürze Frage. Ich versuche ein Programm (XVL_Player_Pro_x64-13_2aE) zu installieren und wenn ich benutze die scripts bei opsi-winst alles funktioniert Super, aber wenn ich benutze der Remote opsi (opsi config editor) ich bekomme immer ein error. Der Error ist:

Code: Alles auswählen


Error: Fatal: Setup program gives an unknown exitcode unequal zero: -1073741819

Hier ist der setup64.ins:

Code: Alles auswählen


[Actions]
requiredWinstVersion >= "4.11.3.6"

DefVar $MsiId$
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$  
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$

Set $LogDir$ = "%SystemDrive%\tmp"

; ----------------------------------------------------------------
; - Please edit the following values                             -
; ----------------------------------------------------------------
Set $ProductId$       = "xvlplayer"
Set $MinimumSpace$    = "500 MB"
; the path were we find the product after the installation
Set $InstallDir$      = "%ProgramFiles64Dir%\Lattice"
Set $LicenseRequired$ = "false"
Set $LicensePool$     = "p_" + $ProductId$
; ----------------------------------------------------------------

if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
	LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
	isFatalError
	; Stop process and set installation status to failed
else
	comment "Show product picture"
	ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
	
	if FileExists("%ScriptPath%\delsub64.ins")
		comment "Start uninstall sub section"
		Sub "%ScriptPath%\delsub64.ins"
	endif
	
	Message "Installing " + $ProductId$ + " ..."
	
	comment "Start setup program"
	ChangeDirectory "%SCRIPTPATH%"
	Winbatch_install
	Sub_check_exitcode
	
endif

[Winbatch_install]
%SCRIPTPATH%\XVL_Player_Pro_x64-13_2aE.exe /s /a /s /sms /f1"%SCRIPTPATH%\setup.iss"

[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
if ($ExitCode$ = "0")
	comment "Looks good: setup program gives exitcode zero"
else
	comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
	if ($ExitCode$ = "1605")
		comment "ERROR_UNKNOWN_PRODUCT	1605	This action is only valid for products that are currently installed."
		comment "Uninstall of a not installed product failed - no problem"
	else
		if ($ExitCode$ = "1641")
			comment "looks good: setup program gives exitcode 1641"
			comment "ERROR_SUCCESS_REBOOT_INITIATED	1641	The installer has initiated a restart. This message is indicative of a success."
		else
			if ($ExitCode$ = "3010")
				comment "looks good: setup program gives exitcode 3010"
				comment "ERROR_SUCCESS_REBOOT_REQUIRED	3010	A restart is required to complete the install. This message is indicative of a success."
			else
				logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
				isFatalError
			endif
		endif
	endif
endif

Vielen Dank!

Re: XVL Player installation

Verfasst: 04 Sep 2014, 10:13
von n.wenselowski
Hallo,

klappt die Installation denn, wenn der Teil in winbatch_install manuall auf einem Rechner ausgeführt wird?
Wenn ja, was ist dort der Exit Code?

Ansonsten könnte man noch nach dem Error Code suchen, ob er bei dem Programm eine spezielle Bedeutung hat.


Gruß

Niko