Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Error: 0x80070057(-2147024809) invalid arugment for powershell 4/Windows Framework 4 install

$
0
0

Hello,

I am trying to install  Windows Framework 4/PowerShell 4 by running "Windows6.1-KB2819745-x64-MultiPkg.msu" /quiet /norestart.  If I do this manually from my desktop, it works fine.  But from sccm 2012 Application or package deployment, it fails immediately with Error: 0x80070057(-2147024809) invalid arugment. BTW, I have the requirement installed: .Net 4.52 installed.

Thanks for your help,

Mark

AppEnforce.log

Performing detection of app deployment type Powershell 4(ScopeId_D2785FB6-B3C5-4915-82DC-10B94F377069/DeploymentType_95a38f80-875d-46de-8063-cfa797242415, revision 11) for system. AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
+++ Application not discovered. [AppDT Id: ScopeId_D2785FB6-B3C5-4915-82DC-10B94F377069/DeploymentType_95a38f80-875d-46de-8063-cfa797242415, Revision: 11] AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
    App enforcement environment:
 Context: Machine
 Command line: "Windows6.1-KB2819745-x64-MultiPkg.msu" /quiet /norestart
 Allow user interaction: No
 UI mode: 0
 User token: null
 Session Id: 1
 Content path: C:\WINDOWS\ccmcache\4
 Working directory:  AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
    Prepared working directory: C:\WINDOWS\ccmcache\4 AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
Arguments in original command "Windows6.1-KB2819745-x64-MultiPkg.msu" /quiet /norestart, doesn't match associated command line "C:\WINDOWS\system32\wusa.exe" "%1" %2 %3 %4 %5 %6 %7 %8 %9 AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
PrepareCommandline failed with 0x87d01104 for cmdline "Windows6.1-KB2819745-x64-MultiPkg.msu" /quiet /norestart AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
ScriptHandler::EnforceApp failed (0x87d01104). AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x87d01104). AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
CommenceEnforcement failed with error 0x87d01104. AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
Method CommenceEnforcement failed with error code 87D01104 AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
++++++ Failed to enforce app. Error 0x87d01104. ++++++ AppEnforce 2/24/2015 8:41:41 AM 3364 (0x0D24)
+++ Starting Install enforcement for App DT "Powershell 4" ApplicationDeliveryType - ScopeId_D2785FB6-B3C5-4915-82DC-10B94F377069/DeploymentType_95a38f80-875d-46de-8063-cfa797242415, Revision - 11, ContentPath - C:\WINDOWS\ccmcache\4, Execution Context - System AppEnforce 2/24/2015 8:44:56 AM 3380 (0x0D34)

Execmgr.log

Requesting MTC to delete task with id: {62AB4E15-211C-4B98-B6D0-0985F4E125F2} execmgr 2/24/2015 9:30:59 AM 4460 (0x116C)
MTC task with id: {62AB4E15-211C-4B98-B6D0-0985F4E125F2} deleted successfully. execmgr 2/24/2015 9:30:59 AM 4460 (0x116C)
Requesting MTC to delete task with id: {62AB4E15-211C-4B98-B6D0-0985F4E125F2} execmgr 2/24/2015 9:30:59 AM 4460 (0x116C)
This execution request does not have a corresponding task in MTC. execmgr 2/24/2015 9:30:59 AM 4460 (0x116C)
MTC task with id {62AB4E15-211C-4B98-B6D0-0985F4E125F2}, changed state from 4 to 5 execmgr 2/24/2015 9:30:59 AM 4460 (0x116C)
Validating chain of dependent programs for package FSC0006B optional program Powershell 4 execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
Validating package FSC0006B program Powershell 4 in the chain. The content request ID is {00000000-0000-0000-0000-000000000000} execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
Creating an optional execution request for package FSC0006B program Powershell 4  execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
Requesting content from CAS for package FSC0006B version 3 execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
Successfully created a content request handle {A283A8FA-E555-421D-9655-8ECBCB1C7EB7} for the package FSC0006B version 3 execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
An existing MTC token was not supplied, using ExecutionRequest's Id as MTC token and this execution request is the owner of resultant MTC task. execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
Request a MTC task for execution request of package FSC0006B, program Powershell 4 with request id: {AE2496C3-F67C-4BE0-8C16-BFB49F6B65DF} execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
Execution Request for advert  package FSC0006B program Powershell 4 state change from NotExist to Ready execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
MTC task with id {AE2496C3-F67C-4BE0-8C16-BFB49F6B65DF}, changed state from 0 to 4 execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="FSC0006B",ProgramID="Powershell 4", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 2/24/2015 9:31:02 AM 4460 (0x116C)
MTC signaled SWD execution request with program id: Powershell 4, package id: FSC0006B for execution. execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Sending ack to MTC for task with id: {AE2496C3-F67C-4BE0-8C16-BFB49F6B65DF} execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Executing program Windows6.1-KB2819745-x64-MultiPkg.msu /quiet /norestart in Admin context execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Execution Request for advert  package FSC0006B program Powershell 4 state change from Ready to NotifyExecution execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="FSC0006B",ProgramID="Powershell 4", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Checking content location C:\WINDOWS\ccmcache\3 for use execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Successfully selected content location C:\WINDOWS\ccmcache\3 execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Executing program as a script due to file association execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Arguments in original command Windows6.1-KB2819745-x64-MultiPkg.msu /quiet /norestart, doesn't match associated command line "C:\WINDOWS\system32\wusa.exe" "%1" %2 %3 %4 %5 %6 %7 %8 %9 execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramBadEnvironmentEvent
{
 AdvertisementId = "FSC200FB";
 ClientID = "GUID:6183783B-7A53-429F-9DF4-27D1220C9EAB";
 CommandLine = "Windows6.1-KB2819745-x64-MultiPkg.msu /quiet /norestart";
 DateTime = "20150224143102.336000+000";
 DriveLetter = "";
 MachineName = "MININT-GIC38MS";
 PackageName = "FSC0006B";
 ProcessID = 3572;
 ProgramName = "Powershell 4";
 SiteCode = "FSC";
 ThreadID = 1744;
 Win32ErrorCode = 2147942487;
 WorkingDirectory = "";
};
 execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Raised Program Bad Environment Event for Ad:FSC200FB, Package:FSC0006B, Program: Powershell 4 execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
EnterRsRuningState failed to run script Windows6.1-KB2819745-x64-MultiPkg.msu /quiet /norestart 0x87d01104 execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Requesting MTC to delete task with id: {AE2496C3-F67C-4BE0-8C16-BFB49F6B65DF} execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
MTC task with id: {AE2496C3-F67C-4BE0-8C16-BFB49F6B65DF} deleted successfully. execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
Requesting MTC to delete task with id: {AE2496C3-F67C-4BE0-8C16-BFB49F6B65DF} execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
This execution request does not have a corresponding task in MTC. execmgr 2/24/2015 9:31:02 AM 1744 (0x06D0)
MTC task with id {AE2496C3-F67C-4BE0-8C16-BFB49F6B65DF}, changed state from 4 to 5 execmgr 2/24/2015 9:31:02 AM 2400 (0x0960)
Validating chain of dependent programs for package FSC0006B optional program Powershell 4 execmgr 2/24/2015 9:38:07 AM 4680 (0x1248)
Validating package FSC0006B program Powershell 4 in the chain. The content request ID is {00000000-0000-0000-0000-000000000000} execmgr 2/24/2015 9:38:07 AM 4680 (0x1248)
Creating an optional execution request for package FSC0006B program Powershell 4  execmgr 2/24/2015 9:38:07 AM 4680 (0x1248)



Viewing all articles
Browse latest Browse all 4762

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>