Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Antworten
Testbenutzer
Beiträge: 5
Registriert: 04 Okt 2016, 16:56

Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von Testbenutzer »

Hallo liebes opsi-forum,

beim Erstellen eines opsi-Paketes von Adobe Acrobat Pro DC komme ich immer zum selben frustrierendem Ergebnis.Acrobat wird zwar erfolgreich installiert, aber das opsi-script "merkt nicht" dass die Installation von Acrobat fertig ist.Das opsi-scipt läuft also unendlich weiter. Wenn man den Client allerdings hard resetet ist in den Windows-Logs von einer erfolgreichen Installation die Rede. Zur Installation verwende ich die setup.exe welche nach dem Erstellen des Acrobat-Paketes mit dem Adobe CC Packager erzeugt wird. Wenn ich die selbe setup.exe mit Timeout aufrufe führt dies zwar bei einer onDemand-Installation zum Ziel, bei einer Installation nur mit "setup" wird allerdings selbiges Flag nicht zurückgesetzt und nach einem Neustart des Clients beginnt die Installation erneut, eine Endlosschleife sozusagen.

Bereits ausprobiert habe ich verschiende msiexec-Flags, sowie eine seperate Installation der AcroPro.msi sowie Adobe_Acrobat_Pro_DC.msi. Auch wenn ich das komplette Programm erst lokal auf den Client kopieren und von dort selbiges versuche führt dies zum selben Ergebniss.

Leider stehe ich mittlerweile verzweifelt kurz davor den Acrobat händisch und einzeln ausrollen zu müssen.

Ich hoffe jemand hatte bereits ähnliche Probleme und kann mir weiterhelfen.

Viele Grüße

Michael
edvbuo
Beiträge: 32
Registriert: 02 Jun 2014, 14:49

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von edvbuo »

Hallo,

wie sieht dein Setup Script aus?

Beste Grüße
edvbo
Benutzeravatar
koepkek
uib-Team
Beiträge: 255
Registriert: 11 Jan 2012, 11:27

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von koepkek »

Hallo

schon mal über das Update Abo "opsi Standardprodukte" nachgedacht?
http://uib.de/de/support-schulung/update-abonnements/

Viele Grüße
Karsten
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://uib.de
http://opsi.org
Testbenutzer
Beiträge: 5
Registriert: 04 Okt 2016, 16:56

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von Testbenutzer »

Vielen Dank schonmal für eure Antworten. Hier mal das aktuelle Script als ich versuchte das Verzeichnis erst auf den Client zu kopieren und anschließend lokal die Installation ausführen zu lassen. Unter Winbatch_install in den Kommentaren sieht man noch manch andere verzweifelten Bemühungen.

Code: Alles auswählen

 
[Actions]
requiredWinstVersion >= "4.10.8.6"
SetLogLevel= 6
 
;DefVar $MsiId$
;DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$  
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $Lizenznummer$
DefVar $INST_architecture$
DefVar $INST_SystemType$
 
Set $LogDir$ = "%SystemDrive%\tmp"
Set $ProductId$       = "abk_adobe_acrobat_pro_dc"
Set $MinimumSpace$    = "1000 MB"
Set $LicenseRequired$ = "false"

 
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$ 
	Message "Installing " + $ProductId$ + " ..." 
	comment "Start setup program"
	Files_install
	Winbatch_install 
	Sub_check_exitcode 
endif

[Files_install]

copy -sV "%ScriptPath%\Adobe_Acrobat_Pro_DC\*.*" "%SystemDrive%\temp\Adobe_Acrobat_Pro_DC"
 
[Winbatch_install] 
;msiexec /i "%ScriptPath%\Adobe_Acrobat_Pro_DC\Build\Setup\APRO15.0\Adobe Acrobat\AcroPro.msi"  /qb  
;msiexec /i "%ScriptPath%\Adobe_Acrobat_Pro_DC\Build\Adobe_Acrobat_Pro_DC.msi" 
;"%ScriptPath%\Adobe_Acrobat_Pro_DC\Build\setup.exe" /sl "1031" /sALL 
;"%ScriptPath%\Adobe_Acrobat_Pro_DC\Build\setup.exe" /msi --silent
;msiexec /i "%ScriptPath%\Adobe_Acrobat_Pro_DC\Build\Adobe_Acrobat_Pro_DC.msi"
;"%SystemDrive%\temp\Adobe_Acrobat_Pro_DC\Build\setup.exe"


; === InstallShield + MSI=====================================================================================
; Attention: The path to the log file should not contain any whitespaces
;"%ScriptPath%\Adobe_Acrobat_Pro_DC\Build\setup.exe"  /v /l* $LogDir$\$ProductId$.install_log.txt /qb! ;ALLUSERS=2 REBOOT=ReallySuppress
; "%ScriptPath%\setup.exe" /s /v" /qb! ALLUSERS=2 REBOOT=ReallySuppress"
"%SystemDrive%\temp\Adobe_Acrobat_Pro_DC\Build\setup.exe" /l* $SystemDrive%$\temp\$ProductId$.install_log.txt
; InstallShield Flags: s=silent setup, v=passes param. to msi, 
 
[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
			;	if ($ExitCode$ = "259")
					comment "looks like Autodesk specific ErrorCode"
				else
				logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$ 				
				isFatalError
				;endif
			endif
		endif
	endif
endif




   
Testbenutzer
Beiträge: 5
Registriert: 04 Okt 2016, 16:56

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von Testbenutzer »

Bezüglich des Vorschlages für ein Update-Abo, dies wäre vermutlich keine Alternative, da die Lizenzierung des Acrobat über einen Mietvertrag der CC Design Standard läuft. Für selbige hat das Bauen eines Paketes übrigens problemlos funktioniert.

Viele Grüße Michi
edvbuo
Beiträge: 32
Registriert: 02 Jun 2014, 14:49

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von edvbuo »

Hier mal meine setup.ins. Die läuft von Win7 - 10 Problemlos. Vielleicht hilft es dir:

Code: Alles auswählen

[Actions]
requiredWinstVersion >= "4.10.8.6"
 
DefVar $LogDir$
DefVar $ProductId$  
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $Setupfile$
DefVar $ExitCode$
DefVar $INST_SystemType$
DefVar $INST_MsVersion$
DefVar $MSIid$
 
set $INST_MsVersion$ = GetMsVersionInfo
Set $INST_SystemType$ = GetSystemType
;set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $LogDir$ = "%SystemDrive%\tmp"
 
; ----------------------------------------------------------------
; - 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 $MSIid$		      = "{AC76BA86-7AD7-1031-7B44-AC0F074E4100}"
Set $ProductId$       = "adobereaderdc"
Set $MinimumSpace$    = "500 MB"
Set $Setupfile$		  = "AdobeReader.exe"
; the path were we find the product after the installation
Set $InstallDir$      = "%ProgramFiles32Dir%\Adobe\Acrobat Reader DC"
; ----------------------------------------------------------------
 
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
endif
 
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
 
 
if FileExists("%ProgramFiles32Dir%\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe")
	comment "Start uninstall sub section"
	WinBatch_uninstall
endif

Message "Installiert Adobe Reader DC"

SetLogLevel=6
WinBatch_Install
DosBatch_DisableARM
Registry_install
sub_check_exitcode
 
[Registry_install]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown]
set "bUpdater" = reg_dword:0
 
[DosBatch_DisableARM]
sc stop AdobeARMservice
sc config AdobeARMservice start= disabled
 
[WinBatch_Install]
%scriptpath%\$Setupfile$ /sAll /rs /msi EULA_ACCEPT=YES
 
[WinBatch_uninstall]
MsiExec.exe /passive /x $MSIid$
 
[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
Beste Grüße
edvbo
Testbenutzer
Beiträge: 5
Registriert: 04 Okt 2016, 16:56

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von Testbenutzer »

Vielen Dank für dein Script, leider wird dadurch zwar die setup.exe gestartet, die nachfolgenden msi Installer werden allerdings werden nicht gestartet.
andré
Beiträge: 324
Registriert: 07 Jan 2014, 10:48

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von andré »

Du meinst schon den Acrobat und nicht den Acrobat Reader, oder? Zumindest beim Reader haben wir das Problem auch gehabt. Da gibt es den Customization Wizard, mit dem Voreinstellungen vorgenommen und die Setupdateien bearbeitet werden.

Anschließend kann es dann mit

Code: Alles auswählen

setup.exe /sAll /rs
installiert werden.
Testbenutzer
Beiträge: 5
Registriert: 04 Okt 2016, 16:56

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von Testbenutzer »

Hast du bestimmte für die setup.exe relevante Änderungen mit dem Wizard vorgenommen
larsg
Beiträge: 283
Registriert: 16 Dez 2014, 18:06

Re: Deployment Adobe Acrobat DC (Inst. wird nicht beendet)

Beitrag von larsg »

ich empfehle die Installation via MSI vorzunehmen, die dafür benötigten Dateien bekommst du hier
Antworten