Fragensteller
Appenforce.log, Unmatched exit code (2) is considered an execution failure. Datei wird nicht gefunden auf dem Client

Allgemeine Diskussion
-
Hallo,
versuche ein Hotfix (msu) per SCCM zu verteilen.
Es wird auf dem Client herunter geladen und in dem ccmcache (einem Unterorder davon) abgelegt.
Sehe nun im Appenforce.log dies hier
<![LOG[+++ Application not discovered with script detection. [AppDT Id: ScopeId_023AAB13-FFB7-401E-9C8E-82DABFA48A2E/DeploymentType_452caff9-0d02-4368-9200-affef0a89291, Revision: 2]]LOG]!><time="14:10:59.962-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="scripthandler.cpp:500"> <![LOG[ App enforcement environment: Context: Machine Command line: wusa.exe "Windows6.1-KB976373-v3-x86.msu" /quiet /norestart Allow user interaction: No UI mode: 1 User token: not null Session Id: 4294967295 Content path: C:\Windows\ccmcache\2 Working directory: ]LOG]!><time="14:10:59.962-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appcontext.cpp:85"> <![LOG[ Prepared working directory: C:\Windows\ccmcache\2]LOG]!><time="14:10:59.963-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appcontext.cpp:189"> <![LOG[Found executable file wusa.exe with complete path C:\Windows\system32\wusa.exe]LOG]!><time="14:10:59.971-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="executility.cpp:188"> <![LOG[ Prepared command line: "C:\Windows\system32\wusa.exe" "Windows6.1-KB976373-v3-x86.msu" /quiet /norestart]LOG]!><time="14:11:00.001-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appcontext.cpp:338"> <![LOG[ Executing Command line: "C:\Windows\system32\wusa.exe" "Windows6.1-KB976373-v3-x86.msu" /quiet /norestart with system context]LOG]!><time="14:11:00.001-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appexcnlib.cpp:205"> <![LOG[ Working directory C:\Windows\ccmcache\2]LOG]!><time="14:11:00.001-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appexcnlib.cpp:219"> <![LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="14:11:00.023-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appcommon.cpp:1094"> <![LOG[ Waiting for process 2244 to finish. Timeout = 15 minutes.]LOG]!><time="14:11:00.029-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appexcnlib.cpp:2015"> <![LOG[ Process 2244 terminated with exitcode: 2]LOG]!><time="14:11:00.413-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appexcnlib.cpp:2024"> <![LOG[ Looking for exit code 2 in exit codes table...]LOG]!><time="14:11:00.413-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appexcnlib.cpp:508"> <![LOG[ Unmatched exit code (2) is considered an execution failure.]LOG]!><time="14:11:00.413-120" date="07-28-2016" component="AppEnforce" context="" type="2" thread="8040" file="appexcnlib.cpp:594"> <![LOG[++++++ App enforcement completed (21 seconds) for App DT "KB976373 - x86" [ScopeId_023AAB13-FFB7-401E-9C8E-82DABFA48A2E/DeploymentType_452caff9-0d02-4368-9200-affef0a89291], Revision: 2, User SID: S-1-5-21-154070542-3184686278-2873539996-1164] ++++++]LOG]!><time="14:11:00.418-120" date="07-28-2016" component="AppEnforce" context="" type="1" thread="8040" file="appprovider.cpp:2450">
So viel ich weis bedeutet exit code (2) Datei nicht gefunden was man auch in der Ereignisliste sieht.
Und das obwohl im im Appenforce.log das hier steht:Prepared working directory: C:\Windows\ccmcache\2
Warum findet wusa.exe das Hotfix nicht ?
Danke für jede Hilfe und Gruß
Stefan- Typ geändert Mihaela ParedesMicrosoft contingent staff, Moderator Dienstag, 16. August 2016 12:54 Wegen keiner weiteren Aktivitäten verschiebe ich das Thema als Diskussion.
Alle Antworten
-
OK, die besten Fehler sind die man selber findet.
Hab in dem Hotfix Quellordner auf dem DP die beiden Arch liegen gehabt, x86 und x64.
Da hat sich der Client gerade das weg genommen was gepasst hat.
Nach dem ich die Hotfixes auf dem DP in separate Ordner gelegt habe ging auch die Installation ohne Problem. -
Hab in dem Hotfix Quellordner auf dem DP die beiden Arch liegen gehabt, x86 und x64.
Sicher? Wenn beide Files in der Application/Deployment Type waren, dann wurden beide in den Cache geladen und dann die command line ausgeführt (wusa.exe "Windows6.1-KB976373-v3-x86.msu" /quiet /norestart), die Du definiert hast. Wurde die Application versucht auf einem x64 OS zu starten?
Da hat sich der Client gerade das weg genommen was gepasst hat.
Torsten Meringer | http://www.mssccmfaq.de