Problem bei Installation von Smart Software

Antworten
schefflerd
Beiträge: 6
Registriert: 24 Feb 2014, 12:26

Problem bei Installation von Smart Software

Beitrag von schefflerd »

Hallo liebes OPSI Forum,

im log befindt sich folgender Fehler.

Exception in StartProcess_cp: Failed to execute "P:\smartsoftware\Smart_Software.exe" /qb :5

setup.ins

Code: Alles auswählen

; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/credits/
 
[Actions]
requiredWinstVersion >= "4.10.8.6"
 
DefVar $MsiId$
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$  
DefVar $MinimumSpace$
DefVar $InstallDir32$
DefVar $InstallDir64$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $Inst_Prg$
 
Set $LogDir$ = "%SystemDrive%\tmp"
Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $Inst_Prg$ = "Smart_Software.exe"

 
; ----------------------------------------------------------------
; - Please edit the following values                             -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts, 
; no white space use '-' as a seperator
Set $ProductId$       = "smartsoftware"
Set $MinimumSpace$    = "2000 MB"
; the path were we find the product after the installation
Set $InstallDir32$      = "%ProgramFiles32Dir%\SMARTTechnologies"
Set $InstallDir64$	= "%ProgramFiles64Dir%\SMARTTechnologies"
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$ + ".jpq" $ProductId$
 
 
	Message "Installing " + $ProductId$ + " ..."
 
	if $LicenseRequired$ = "true"
		comment "Licensing required, reserve license and get license key"
		Sub_get_licensekey
	endif
	
	 
	comment "Start setup program"
	Winbatch_install
	Sub_check_exitcode
 
endif
 
[Winbatch_install]
"%ScriptPath%\install_flash_player_11_active_x.msi" /qb
"%ScriptPath%\install_flash_player_11_plugin.msi" /qb
"%ScriptPath%\$Inst_Prg$" /qb
 

 
[Sub_get_licensekey]
if opsiLicenseManagementEnabled
	comment "License management is enabled and will be used"
 
	comment "Trying to get a license key"
	Set $LicenseKey$ = demandLicenseKey ("XX-XXXXX-XXXXX-XXXXX", $ProductId$)
	;
	; If there is an assignment of a license pool to a windows software id, it is possible to use:
	; DefVar $WindowsSoftwareId$
	; $WindowsSoftwareId$ = "..."
	; Set $LicenseKey$ = demandLicenseKey ("", "", $WindowsSoftwareId$)
 
	DefVar $ServiceErrorClass$
	set $ServiceErrorClass$ = getLastServiceErrorClass
	comment "Error class: " + $ServiceErrorClass$
 
	if $ServiceErrorClass$ = "None"
		comment "Everything fine, we got the license key '" + $LicenseKey$ + "'"
	else
		if $ServiceErrorClass$ = "LicenseConfigurationError"
			LogError "Fatal: license configuration must be corrected"
			LogError getLastServiceErrorMessage
			isFatalError
		else 
			if $ServiceErrorClass$ = "LicenseMissingError"
				LogError "Fatal: required license is not supplied"
				isFatalError
			endif
		endif
	endif
else
	LogError "Fatal: license required, but license management not enabled"
	isFatalError
endif
 
 
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
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
Auf Hilfe würde ich mich freuen

Grüße domenic scheffler
Benutzeravatar
tobias
Beiträge: 1294
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Problem bei Installation von Smart Software

Beitrag von tobias »

probier mal die Berechtigungen mit opsi-setup --set-rights /pfad/zu/den/setup/files zu korrigieren.
schefflerd
Beiträge: 6
Registriert: 24 Feb 2014, 12:26

Re: Problem bei Installation von Smart Software

Beitrag von schefflerd »

Berechtigungen überprüft selbe Fehlermeldung bleibt
Benutzeravatar
tobias
Beiträge: 1294
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Problem bei Installation von Smart Software

Beitrag von tobias »

schreib die Befehle mal so:

"%ScriptPath%\install_flash_player_11_active_x.msi /qb"
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: Problem bei Installation von Smart Software

Beitrag von wolfbardo »

OS-version / Samba-version / opsi-Paket Versionen!?

Gruss
Bardo Wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


schefflerd
Beiträge: 6
Registriert: 24 Feb 2014, 12:26

Re: Problem bei Installation von Smart Software

Beitrag von schefflerd »

OS Version Windows 7 32 Bit Proffesional
Samba version samba4
opsi 4.0.3.1

domenic scheffler
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: Problem bei Installation von Smart Software

Beitrag von wolfbardo »

schefflerd hat geschrieben:OS Version Windows 7 32 Bit Proffesional
Samba version samba4
opsi 4.0.3.1

domenic scheffler
welche Linux-Distribution wird verwendet?

Gruss
Bardo Wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


schefflerd
Beiträge: 6
Registriert: 24 Feb 2014, 12:26

Re: Problem bei Installation von Smart Software

Beitrag von schefflerd »

Linux Distribution
Linux opsi13 3.2.0-ucs31-amd64 #1 SMP Debian 3.2.46-1.31.201306180902 x86_64 GNU/Linux
Antworten