Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, January 27, 2015 1:21 PM
Hi,
I am trying to deploy a language pack and set the override language to English-US which I have created 2 programs for in my package. When the first program runs I am getting an error in the execmgr.log that "Install failed with exit code 11" Any ideas what this means? When I run this command manually on the machine it works fine:
"C:\WINDOWS\System32\Dism.exe" /online /add-package /packagepath:"en-us\lp.cab"
I checked the dism.log as well but I don't see any errors. Both logs are below, any help or suggestions would be greatly appreciated TIA
<![LOG[Command line = "C:\WINDOWS\System32\Dism.exe" /online /add-package /packagepath:"en-us\lp.cab", Working Directory = C:\WINDOWS\ccmcache\4j\LOG]!><time="08:00:28.447+300" date="01-27-2015" component="execmgr" context="" type="1" thread="4976" file="scriptexecution.cpp:352">
<![LOG[Running "C:\WINDOWS\System32\Dism.exe" /online /add-package /packagepath:"en-us\lp.cab" with 32bitLauncher]LOG]!><time="08:00:28.447+300" date="01-27-2015" component="execmgr" context="" type="1" thread="4976" file="scriptexecution.cpp:370">
<![LOG[Created Process for the passed command line]LOG]!><time="08:00:28.509+300" date="01-27-2015" component="execmgr" context="" type="1" thread="4976" file="scriptexecution.cpp:513">
<![LOG[Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "LIA20115";
ClientID = "GUID:428D91E4-84BD-4740-97D9-9177C39FA3F0";
CommandLine = "\C:\WINDOWS\System32\Dism.exe\ /online /add-package /packagepath:\en-us\lp.cab\";
DateTime = "20150127130028.509000+000";
MachineName = "";
PackageName = "";
ProcessID = 2012;
ProgramName = "Install";
SiteCode = "";
ThreadID = 4976;
UserContext = "NT AUTHORITY\SYSTEM";
WorkingDirectory = "C:\WINDOWS\ccmcache\4j\";
};
]LOG]!><time="08:00:28.509+300" date="01-27-2015" component="execmgr" context="" type="1" thread="4976" file="event.cpp:715">
<![LOG[Raised Program Started Event for Ad:LIA20115, Package:LIA002A0, Program: Install]LOG]!><time="08:00:28.509+300" date="01-27-2015" component="execmgr" context="" type="1" thread="4976" file="executioncontext.cpp:459">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="LIA002A0",ProgramID="Install", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="08:00:28.509+300" date="01-27-2015" component="execmgr" context="" type="1" thread="4976" file="event.cpp:405">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="LIA002A0",ProgramID="Install", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="08:00:28.509+300" date="01-27-2015" component="execmgr" context="" type="1" thread="4976" file="event.cpp:405">
<![LOG[MTC task with id {B7EEE891-740D-4762-8D2B-BA2D7E351F1D}, changed state from 4 to 5]LOG]!><time="08:00:28.525+300" date="01-27-2015" component="execmgr" context="" type="1" thread="5904" file="execreqmgr.cpp:6288">
<![LOG[Program exit code 11]LOG]!><time="08:00:28.650+300" date="01-27-2015" component="execmgr" context="" type="1" thread="2488" file="scriptexecution.cpp:676">
<![LOG[Looking for MIF file to get program status]LOG]!><time="08:00:28.650+300" date="01-27-2015" component="execmgr" context="" type="1" thread="2488" file="executionstatus.cpp:282">
<![LOG[Script for Package:LIA002A0, Program: Install failed with exit code 11]LOG]!><time="08:00:28.650+300" date="01-27-2015" component="execmgr" context="" type="3" thread="2488" file="executionstatus.cpp:252">
<![LOG[Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramErrorEvent
{
AdvertisementId = "LIA20115";
ClientID = "GUID:428D91E4-84BD-4740-97D9-9177C39FA3F0";
DateTime = "20150127130028.650000+000";
ExitCode = "11";
MachineName = "";
PackageName = "LIA002A0";
ProcessID = 2012;
ProgramName = "Install";
SiteCode = "";
ThreadID = 2488;
UserContext = "NT AUTHORITY\SYSTEM";
};
]LOG]!><time="08:00:28.650+300" date="01-27-2015" component="execmgr" context="" type="1" thread="2488" file="event.cpp:715">
<![LOG[Raised Program Error Event for Ad:LIA20115, Package:LIA002A0, Program: Install]LOG]!><time="08:00:28.650+300" date="01-27-2015" component="execmgr" context="" type="1" thread="2488" file="executioncontext.cpp:572">
<![LOG[Execution is complete for program Install. The exit code is 11, the execution status is FailureNonRetry]LOG]!><time="08:00:28.665+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="execreqmgr.cpp:4165">
<![LOG[Requesting MTC to delete task with id: {B7EEE891-740D-4762-8D2B-BA2D7E351F1D}]LOG]!><time="08:00:28.681+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="executionrequest.cpp:9041">
<![LOG[MTC task with id: {B7EEE891-740D-4762-8D2B-BA2D7E351F1D} deleted successfully.]LOG]!><time="08:00:28.681+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="executionrequest.cpp:9070">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="LIA002A0",ProgramID="InstallEN", actionType 10l, value Result:FALSE, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="08:00:28.697+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="event.cpp:405">
<![LOG[Deleting request for program Install. Failing parent program InstallEN]LOG]!><time="08:00:28.697+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="execreqmgr.cpp:8147">
<![LOG[Requesting MTC to delete task with id: ]LOG]!><time="08:00:28.697+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="executionrequest.cpp:9041">
<![LOG[This execution request does not have a corresponding task in MTC.]LOG]!><time="08:00:28.697+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="executionrequest.cpp:9059">
<![LOG[Requesting MTC to delete task with id: {B7EEE891-740D-4762-8D2B-BA2D7E351F1D}]LOG]!><time="08:00:28.697+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="executionrequest.cpp:9041">
<![LOG[This execution request does not have a corresponding task in MTC.]LOG]!><time="08:00:28.697+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="executionrequest.cpp:9059">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="LIA002A0",ProgramID="Install", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="08:00:28.697+300" date="01-27-2015" component="execmgr" context="" type="1" thread="1956" file="event.cpp:405">
015-01-27 08:00:28, Info DISM DISM.EXE:
2015-01-27 08:00:28, Info DISM DISM.EXE: < Starting Dism.exe session >
2015-01-27 08:00:28, Info DISM DISM.EXE:
2015-01-27 08:00:28, Info DISM DISM.EXE: Host machine information: OS Version=6.3.9600, Running architecture=x86, Number of processors=4
2015-01-27 08:00:28, Info DISM DISM.EXE: Dism.exe version: 6.3.9600.16384
2015-01-27 08:00:28, Info DISM DISM.EXE: Executing command line: "C:\WINDOWS\System32\Dism.exe" /online /add-package /packagepath:"en-us\lp.cab"
2015-01-27 08:00:28, Info DISM DISM Provider Store: PID=5984 TID=4336 Getting Provider FolderManager - CDISMProviderStore::GetProvider
2015-01-27 08:00:28, Info DISM DISM Provider Store: PID=5984 TID=4336 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2015-01-27 08:00:28, Info DISM DISM Provider Store: PID=5984 TID=4336 Loading Provider from location C:\WINDOWS\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2015-01-27 08:00:28, Info DISM DISM Provider Store: PID=5984 TID=4336 Connecting to the provider located at C:\WINDOWS\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2015-01-27 08:00:28, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2015-01-27 08:00:28, Info DISM DISM.EXE:
2015-01-27 08:00:28, Info DISM DISM.EXE: < Ending Dism.exe session >
2015-01-27 08:00:28, Info DISM DISM.EXE:
All replies (9)
Tuesday, January 27, 2015 1:54 PM ✅Answered | 1 vote
Correct, when you are running it manually you are using the native 64-bit environment.
When you run it with SCCM it is running in the 32-bit environment, so you have to use the redirect c:\windows\sysnative.
Daniel Ratliff | http://www.PotentEngineer.com
Wednesday, January 28, 2015 7:09 AM ✅Answered
Hi,
To make sure the new policy arrives the client, you could try to remove the deployment and wait for the deployment disappears from Software Center, then re-deploy it.
Best Regards,
Joyce
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, January 27, 2015 1:34 PM
Error code 11 is You cannot service a running 64bit OS with a 32bit version of DISM. Please use the version of DISM that corresponds to your computer’s architecture.
You need to run the 64-bit version of DISM. See below.
http://www.infralib.com/2013/02/running-64bit-cmd-via-32bit-sccm-client/
Daniel Ratliff | http://www.PotentEngineer.com
Tuesday, January 27, 2015 1:51 PM | 1 vote
Yes I am running 64bit windows 8.1. When I run this command manually on the machine it works?
C:\WINDOWS\System32\Dism.exe /online /add-package /packagepath:"en-us\lp.cab"
So according to the website, I should do this instead?
C:\WINDOWS\sysnative\Dism.exe /online /add-package /packagepath:"en-us\lp.cab"
Tuesday, January 27, 2015 2:48 PM
Thanks, it seems as though it is not doing anything now. I just see that the policy has arrived in the log below but it is not installing it? The dism.log hasn't changed at all so it seems that it isn't even executing the command now? Am I missing something else? I even tried re-advertising it though client center.
Command is now:
C:\WINDOWS\sysnative\Dism.exe /online /add-package /packagepath:"en-us\lp.cab"
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="LIA002A0",ProgramID="InstallEN", actionType 45l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="08:52:28.943+300" date="01-27-2015" component="execmgr" context="" type="1" thread="5036" file="event.cpp:405">
<![LOG[Policy arrived for child program Install]LOG]!><time="09:12:48.440+300" date="01-27-2015" component="execmgr" context="" type="1" thread="3528" file="execreqmgr.cpp:6867">
<![LOG[Policy arrived for parent package LIA002A0 program InstallEN]LOG]!><time="09:12:48.487+300" date="01-27-2015" component="execmgr" context="" type="1" thread="3528" file="execreqmgr.cpp:6893">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="LIA002A0",ProgramID="InstallEN", actionType 6l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="09:12:48.487+300" date="01-27-2015" component="execmgr" context="" type="1" thread="3528" file="event.cpp:405">
<![LOG[Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramOfferReceivedEvent
{
AdvertisementId = "LIA20116";
ClientID = "GUID:428D91E4-84BD-4740-97D9-9177C39FA3F0";
DateTime = "20150127141248.502000+000";
MachineName = "";
ProcessID = 2012;
SiteCode = "";
ThreadID = 3528;
};
]LOG]!><time="09:12:48.502+300" date="01-27-2015" component="execmgr" context="" type="1" thread="3528" file="event.cpp:715">
<![LOG[The user has logged off.]LOG]!><time="09:36:59.174+300" date="01-27-2015" component="execmgr" context="" type="1" thread="4320" file="execreqmgr.cpp:5138">
Tuesday, January 27, 2015 3:05 PM
After you changed the program, make sure the machine policy updated on the machine. If you re-ran it through Client Center, it may not get the new policy. I am not sure.
Daniel Ratliff | http://www.PotentEngineer.com
Tuesday, January 27, 2015 3:37 PM
I have reran the machine policy in config manager but still the same thing. Just sitting there stating policy has arrived and nothing. Is there another log that might tell me something besides the dism.log and execmgr.log?
Saturday, August 22, 2015 6:12 PM
Yes, and the surprise for me is c:\windows\sysnative is working in the script, although if you try to run it in CMD it will show: "Path not found" !! Hola Microsoft :)
Hossam Wael Elmosallamy (IT Support Engineer-ECC Solutions) MCSE - CCNA [email protected] Mobile:(011)-49464671 www.eccsolutions.net "Experience Reliability"
Saturday, August 22, 2015 6:19 PM
Yes, and the surprise for me is c:\windows\sysnative is working in the script, although if you try to run it in CMD it will show: "Path not found" !! Hola Microsoft :)
Hossam Wael Elmosallamy (IT Support Engineer-ECC Solutions) MCSE - CCNA [email protected] Mobile:(011)-49464671
(011)-49464671 www.eccsolutions.net "Experience Reliability"
That because you are running CMD as a x64 bit process and the C:\windows\sysnative only exist in x86 environment.
Garth Jones | My blogs: Enhansoft and Old Blog site | Twitter: @GarthMJ