Install failed with exit code 11?

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:



January 27th, 2015 1:21pm

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 computers 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/

Free Windows Admin Tool Kit Click here and download it now
January 27th, 2015 1:34pm

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"

January 27th, 2015 1:51pm

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.

Free Windows Admin Tool Kit Click here and download it now
January 27th, 2015 1:54pm

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


January 27th, 2015 2:48pm

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.

Free Windows Admin Tool Kit Click here and download it now
January 27th, 2015 3:05pm

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?
January 27th, 2015 3:37pm

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

Free Windows Admin Tool Kit Click here and download it now
January 28th, 2015 7:09am

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 :)  
August 22nd, 2015 2:14pm

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 :) &nb
Free Windows Admin Tool Kit Click here and download it now
August 22nd, 2015 2:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics