weiterhin ERROR 3010

Post Reply
madmaki
Posts: 34
Joined: 24. Aug 2008, 07:50
Location: Berlin
Contact:

weiterhin ERROR 3010

Post by madmaki » 16. Jul 2009, 14:04

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

User avatar
mniemann
Administrator
Administrator
Posts: 574
Joined: 25. Nov 2005, 17:03
Location: Mainz
Contact:

Post by mniemann » 16. Jul 2009, 14:35

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
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.

madmaki
Posts: 34
Joined: 24. Aug 2008, 07:50
Location: Berlin
Contact:

Post by madmaki » 16. Jul 2009, 14:46

Das hats leider nur insofern gebracht, als das Empirum jetzt "denkt", die Installation sei erfolgreich durchgelaufen. Ist sie aber natürlich nicht :cry:

User avatar
mniemann
Administrator
Administrator
Posts: 574
Joined: 25. Nov 2005, 17:03
Location: Mainz
Contact:

Post by mniemann » 16. Jul 2009, 15:01

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?
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.

madmaki
Posts: 34
Joined: 24. Aug 2008, 07:50
Location: Berlin
Contact:

Post by madmaki » 16. Jul 2009, 15:09

Dann passiert das anfangs beschriebene auch, leider.

madmaki
Posts: 34
Joined: 24. Aug 2008, 07:50
Location: Berlin
Contact:

Post by madmaki » 16. Jul 2009, 15:38

Das führt leider zu keinem anderen Ergebnis.

Sorry, vergiß die Antwort - habe ich ja eben schon geschrieben.

User avatar
mniemann
Administrator
Administrator
Posts: 574
Joined: 25. Nov 2005, 17:03
Location: Mainz
Contact:

Post by mniemann » 16. Jul 2009, 16:07

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
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.

madmaki
Posts: 34
Joined: 24. Aug 2008, 07:50
Location: Berlin
Contact:

Post by madmaki » 16. Jul 2009, 16:10

naja, das wäre dann der ursprüngliche zustand des pakets / setup.inf, weswegen ich angefangen habe, nach einer lösung zu suchen. die If %ErrorLevel% - Abfrage wird doch aber auch für msi-pakete angeben !?!

User avatar
mniemann
Administrator
Administrator
Posts: 574
Joined: 25. Nov 2005, 17:03
Location: Mainz
Contact:

Post by mniemann » 16. Jul 2009, 17:07

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.

Julia
Posts: 384
Joined: 31. Aug 2007, 13:56
Location: Essen
Contact:

Post by Julia » 17. Jul 2009, 08:40

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

madmaki
Posts: 34
Joined: 24. Aug 2008, 07:50
Location: Berlin
Contact:

Post by madmaki » 17. Jul 2009, 09:36

@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

User avatar
tgrosch
Posts: 602
Joined: 14. Nov 2007, 16:34
Location: Fulda
Contact:

Post by tgrosch » 17. Jul 2009, 09:37

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

Julia
Posts: 384
Joined: 31. Aug 2007, 13:56
Location: Essen
Contact:

Post by Julia » 17. Jul 2009, 10:11

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.

madmaki
Posts: 34
Joined: 24. Aug 2008, 07:50
Location: Berlin
Contact:

Post by madmaki » 17. Jul 2009, 10:26

@Julia:
DAAAAAANNKEEEE, die msi-id-geschichte wars !!!! habe den wald vor bäumen nicht mehr gesehen. das wochenende ist gerettet :-)

allen anderen auch vielen dank für die antworten !!!

viele grüße
madmaki

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: No registered users and 6 guests