weiterhin ERROR 3010
weiterhin ERROR 3010
Hallo liebe Gemeinde,
trotz Studiums der Seite:
http://www.diew.eu/2009/06/24/der-richt ... rror-3010/
und Anpassung meiner setup.inf besteht das Problem mit ERROR 3010 weiter und die Empirum-Installation wirft den Fehler: -1 aus.
Hier meine setup.inf:
#Set:Product, DONTDELETE
#Reg:OnUninstallProduct, DELETE
#Reg:Product, DONTDELETE
#Ini:Product, DONTDELETE
#Security:Product
#Set:Uninstall, DELETE
#Set:ChangeMSISourcelist, DONTDELETE
[Set:Product]
Del "%MSILogFile%"
IF DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "1" Then "RepairMSI" Else "InstallMSI" EndIf
[RepairMSI]
AddMeter 50
Call MsiExec /Fvomus "%SRC%\AcroPro.msi" TRANSFORMS="%SRC%\AcroPro.mst" REBOOT=REALLYSUPPRESS ARPSYSTEMCOMPONENT=1 /qr /Li "%MSILogFile%"
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
IF DoesTextInFileExist ("%ReInstSuccessMessage1031%", "%MSILogFile%") == "0" & DoesTextInFileExist ("%ReInstSuccessMessage1033%", "%MSILogFile%") == "0" Then "AbortMSIInst" EndIf
Del "%MSILogFile%"
[InstallMSI]
AddMeter 50
Call MsiExec /I "%SRC%\AcroPro.msi" TRANSFORMS="%SRC%\AcroPro.mst" /update "%src%\AcroProStdUpd910_T1T2_incr.msp" REBOOT=REALLYSUPPRESS ARPSYSTEMCOMPONENT=1 /qr /Li "%MSILogFile%"
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
If DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "0" Then "AbortMSIInst" EndIf
Del "%MSILogFile%"
[Set:Uninstall]
-Del "%MSILogFile%"
If DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "1" Then "AbortMSIUnInst" EndIf
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
-Call MsiExec /X {AC76BA86-1033-0000-0000-000000000004} REBOOT=REALLYSUPPRESS /qr /Li "%MSILogFile%"
-AddMeter 50
[RebootNeeded]
SetReboot 1
[AbortMSIInst]
ErrorLogMsg %ErrorLogMessage% ErrorLevel: %ErrorLevel%
Abort
[AbortMSIUnInst]
-Abort
-ErrorLogMsg %ErrorLogMessage% ErrorLevel: %ErrorLevel%
Das Update wurde natürlich installiert, aber nach der nächsten Anmeldung legt Empirum von vorne los.
Weiß jemand Rat ???
Danke
madmaki
trotz Studiums der Seite:
http://www.diew.eu/2009/06/24/der-richt ... rror-3010/
und Anpassung meiner setup.inf besteht das Problem mit ERROR 3010 weiter und die Empirum-Installation wirft den Fehler: -1 aus.
Hier meine setup.inf:
#Set:Product, DONTDELETE
#Reg:OnUninstallProduct, DELETE
#Reg:Product, DONTDELETE
#Ini:Product, DONTDELETE
#Security:Product
#Set:Uninstall, DELETE
#Set:ChangeMSISourcelist, DONTDELETE
[Set:Product]
Del "%MSILogFile%"
IF DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "1" Then "RepairMSI" Else "InstallMSI" EndIf
[RepairMSI]
AddMeter 50
Call MsiExec /Fvomus "%SRC%\AcroPro.msi" TRANSFORMS="%SRC%\AcroPro.mst" REBOOT=REALLYSUPPRESS ARPSYSTEMCOMPONENT=1 /qr /Li "%MSILogFile%"
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
IF DoesTextInFileExist ("%ReInstSuccessMessage1031%", "%MSILogFile%") == "0" & DoesTextInFileExist ("%ReInstSuccessMessage1033%", "%MSILogFile%") == "0" Then "AbortMSIInst" EndIf
Del "%MSILogFile%"
[InstallMSI]
AddMeter 50
Call MsiExec /I "%SRC%\AcroPro.msi" TRANSFORMS="%SRC%\AcroPro.mst" /update "%src%\AcroProStdUpd910_T1T2_incr.msp" REBOOT=REALLYSUPPRESS ARPSYSTEMCOMPONENT=1 /qr /Li "%MSILogFile%"
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
If DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "0" Then "AbortMSIInst" EndIf
Del "%MSILogFile%"
[Set:Uninstall]
-Del "%MSILogFile%"
If DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "1" Then "AbortMSIUnInst" EndIf
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
-Call MsiExec /X {AC76BA86-1033-0000-0000-000000000004} REBOOT=REALLYSUPPRESS /qr /Li "%MSILogFile%"
-AddMeter 50
[RebootNeeded]
SetReboot 1
[AbortMSIInst]
ErrorLogMsg %ErrorLogMessage% ErrorLevel: %ErrorLevel%
Abort
[AbortMSIUnInst]
-Abort
-ErrorLogMsg %ErrorLogMessage% ErrorLevel: %ErrorLevel%
Das Update wurde natürlich installiert, aber nach der nächsten Anmeldung legt Empirum von vorne los.
Weiß jemand Rat ???
Danke
madmaki
Läuft die Installation (als Test!) wenn du alle Sprungmarken ab [Product] auskommentierst?
[Product]
;#Set:Product, DONTDELETE
;#Reg:OnUninstallProduct, DELETE
;#Reg:Product, DONTDELETE
;#Ini:Product, DONTDELETE
;#Security:Product
;#Set:Uninstall, DELETE
;#Set:ChangeMSISourcelist, DONTDELETE
Fehler "-1" ist nicht Fehler 3010
[Product]
;#Set:Product, DONTDELETE
;#Reg:OnUninstallProduct, DELETE
;#Reg:Product, DONTDELETE
;#Ini:Product, DONTDELETE
;#Security:Product
;#Set:Uninstall, DELETE
;#Set:ChangeMSISourcelist, DONTDELETE
Fehler "-1" ist nicht Fehler 3010
Visit my Blog: "DiEW - Das inoffizielle Empirum Weblog" (http://www.diew.eu)
Martin Niemann
Manager Support (Service Management)
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG or of the support team.
Martin Niemann
Manager Support (Service Management)
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG or of the support team.
Sinn dahinter war zu prüfen, ob der Fehler "-1" durch das Paket selbst oder durch die ab [Product] verwendeten Aufrufe erzeugt wird - reines Debugging also
Einfach die ; wieder entfernen. Wie verhält sich die Installation, wenn man sich als Administrator am System anmeldet und das Paket installieren lässt?
Einfach die ; wieder entfernen. Wie verhält sich die Installation, wenn man sich als Administrator am System anmeldet und das Paket installieren lässt?
Visit my Blog: "DiEW - Das inoffizielle Empirum Weblog" (http://www.diew.eu)
Martin Niemann
Manager Support (Service Management)
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG or of the support team.
Martin Niemann
Manager Support (Service Management)
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG or of the support team.
was passiert, wenn du alle Abfragen
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
auskommentierst? Schließlich prüfst du ja nie auf den ErrorLevel als Abbruchkriterium. Das passiert nur in den "unattended"-Setup.infs
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
auskommentierst? Schließlich prüfst du ja nie auf den ErrorLevel als Abbruchkriterium. Das passiert nur in den "unattended"-Setup.infs
Visit my Blog: "DiEW - Das inoffizielle Empirum Weblog" (http://www.diew.eu)
Martin Niemann
Manager Support (Service Management)
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG or of the support team.
Martin Niemann
Manager Support (Service Management)
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG or of the support team.
nein, eine IF %ErrorLevel% <> "0" geb es noch nie in MSI-Empirumpaketen.
Visit my Blog: "DiEW - Das inoffizielle Empirum Weblog" (http://www.diew.eu)
Martin Niemann
Manager Support (Service Management)
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG or of the support team.
Martin Niemann
Manager Support (Service Management)
Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of matrix42 AG or of the support team.
Hallo madmaki,
mal eine etwas andere Frage zu deinem Problem.
Bist du dir sicher, dass die If-Abfrage (DoesRegKeyExist...) so richtig ist? Du prüfst ja auf einen bestimmten Reg-Key, ob die Installation erfolgreich war. Wenn der nicht genau so existiert, sieht Empirum die Installation als fehlgeschlagen.
Gruß Julia
mal eine etwas andere Frage zu deinem Problem.
Bist du dir sicher, dass die If-Abfrage (DoesRegKeyExist...) so richtig ist? Du prüfst ja auf einen bestimmten Reg-Key, ob die Installation erfolgreich war. Wenn der nicht genau so existiert, sieht Empirum die Installation als fehlgeschlagen.
Gruß Julia
@mniemann
das steht doch aber dort genauso !?!
http://www.diew.eu/2009/06/24/der-richt ... rror-3010/
ich habe ein paar echo %computername% eingebaut, um zu sehen ob ob die if-error-abfrage zieht. und das tut sie. nur der "setreboot 1" befehl wird ignoriert.
...
[InstallMSI]
AddMeter 50
Call MsiExec /I "%SRC%\AcroPro.msi" TRANSFORMS="%SRC%\AcroPro.mst" /update "%src%\AcroProStdUpd910_T1T2_incr.msp" REBOOT=REALLYSUPPRESS ARPSYSTEMCOMPONENT=1 /qr /Li "%MSILogFile%"
echo %ComputerName%1
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
If DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "0" Then "AbortMSIInst" EndIf
Del "%MSILogFile%"
[Set:Uninstall]
-Del "%MSILogFile%"
If DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "1" Then "AbortMSIUnInst" EndIf
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
-Call MsiExec /X {AC76BA86-1033-0000-0000-000000000004} REBOOT=REALLYSUPPRESS /qr /Li "%MSILogFile%"
-AddMeter 50
[RebootNeeded]
echo %ComputerName%2
SetReboot 1
echo %ComputerName%3
...
@julia
überprüfe ich später. danke für den hinweis
das steht doch aber dort genauso !?!
http://www.diew.eu/2009/06/24/der-richt ... rror-3010/
ich habe ein paar echo %computername% eingebaut, um zu sehen ob ob die if-error-abfrage zieht. und das tut sie. nur der "setreboot 1" befehl wird ignoriert.
...
[InstallMSI]
AddMeter 50
Call MsiExec /I "%SRC%\AcroPro.msi" TRANSFORMS="%SRC%\AcroPro.mst" /update "%src%\AcroProStdUpd910_T1T2_incr.msp" REBOOT=REALLYSUPPRESS ARPSYSTEMCOMPONENT=1 /qr /Li "%MSILogFile%"
echo %ComputerName%1
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
If DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "0" Then "AbortMSIInst" EndIf
Del "%MSILogFile%"
[Set:Uninstall]
-Del "%MSILogFile%"
If DoesRegKeyExist ("HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-0000-000000000004},UnInstallString") == "1" Then "AbortMSIUnInst" EndIf
If %ErrorLevel% == "3010" Then "RebootNeeded" EndIf
-Call MsiExec /X {AC76BA86-1033-0000-0000-000000000004} REBOOT=REALLYSUPPRESS /qr /Li "%MSILogFile%"
-AddMeter 50
[RebootNeeded]
echo %ComputerName%2
SetReboot 1
echo %ComputerName%3
...
@julia
überprüfe ich später. danke für den hinweis
Julia: Das ist aber doch eine "ganz normale" Abfrage, die der PackageWizard bei MSI-Paketen macht, oder bin ich jetzt irr?
Viele Grüße
Tobias
---
Empirum Echtsystem: v19 - 19.0.1 - Win 2012 R2 mit EPE 4.7.3 und UEM Agent 1905.1
Empirum Testsystem: v19 - 19.0.1 - Win 2012 R2 mit EPE 4.7.5 und UEM Agent 1906.1
Workplace Management Echtsystem: ServiceStore 9.1.0.2532 - Win 2012 R2
Workplace Management Testsystem: ServiceStore 9.1.0.2532 - Win 2016
MDM: Silverback 18.0.3.27
DB-Server: Win 2012 R2 mit SQL 2014
Tobias
---
Empirum Echtsystem: v19 - 19.0.1 - Win 2012 R2 mit EPE 4.7.3 und UEM Agent 1905.1
Empirum Testsystem: v19 - 19.0.1 - Win 2012 R2 mit EPE 4.7.5 und UEM Agent 1906.1
Workplace Management Echtsystem: ServiceStore 9.1.0.2532 - Win 2012 R2
Workplace Management Testsystem: ServiceStore 9.1.0.2532 - Win 2016
MDM: Silverback 18.0.3.27
DB-Server: Win 2012 R2 mit SQL 2014
Nein, bist du nicht
Die Abfrage an sich ist schon richtig so. Die Frage war ja nur, ob der Pfad auch so richtig ist.
Ich hatte vorhin mal kurz in mein Acrobat Paket gesehen und da steht eine diese MSI-ID: {AC76BA86-1033-F400-7760-000000000004}
anstatt wie bei madmaki diese: {AC76BA86-1033-0000-0000-000000000004}
Das könnte schon ein Fehler sein, wenn der gesuchte Key nicht exstiert, weil er woanders angelegt wurde.
Die Abfrage an sich ist schon richtig so. Die Frage war ja nur, ob der Pfad auch so richtig ist.
Ich hatte vorhin mal kurz in mein Acrobat Paket gesehen und da steht eine diese MSI-ID: {AC76BA86-1033-F400-7760-000000000004}
anstatt wie bei madmaki diese: {AC76BA86-1033-0000-0000-000000000004}
Das könnte schon ein Fehler sein, wenn der gesuchte Key nicht exstiert, weil er woanders angelegt wurde.
Who is online
Users browsing this forum: No registered users and 6 guests