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

Apllication waiting on the client.. - Sysnative or not?.

$
0
0

Hi,

I am trying to deploy my first Powershell script:

This will be working:

%WinDir%\system32\windowsPowershell\v1.0\Powershell.exe -ExecutionPolicy Bypass -File ".\WordQ4.0.96.0_Frv1.ps1" Install

But not this:

%WinDir%\sysnative\windowsPowershell\v1.0\Powershell.exe -ExecutionPolicy Bypass -File ".\WordQ4.0.96.0_Frv1.ps1" Install

As I am delivering my apps to Windows 81 X64, do I need sysnative? I tried running it from commandline with sysnative and Windows 8.1 did not recognize the command.

From the appenforce.log

Invalid executable file C:\WINDOWS\Sysnative\windowsPowershell\v1.0\Powershell.exe	AppEnforce	2016-09-21 14:55:50	4268 (0x10AC)
ScriptHandler::EnforceApp failed (0x87d01106).	AppEnforce	2016-09-21 14:55:50	4268 (0x10AC)
AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x87d01106).	AppEnforce	2016-09-21 14:55:50	4268 (0x10AC)
CommenceEnforcement failed with error 0x87d01106.	AppEnforce	2016-09-21 14:55:50	4268 (0x10AC)
Method CommenceEnforcement failed with error code 87D01106	AppEnforce	2016-09-21 14:55:50	4268 (0x10AC)++++++ Failed to enforce app. Error 0x87d01106. ++++++	AppEnforce	2016-09-21 14:55:50	4268 (0x10AC)+++ Starting Install enforcement for App DT "WordQ4.0.96.0_Frv1" ApplicationDeliveryType - ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c, Revision - 7, ContentPath - C:\WINDOWS\ccmcache\6v, Execution Context - System	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
    A user is logged on to the system.	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
    Performing detection of app deployment type WordQ4.0.96.0_Frv1(ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c, revision 7) for system.	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)+++ Application not discovered. [AppDT Id: ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c, Revision: 7]	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
    App enforcement environment:
	Context: Machine
	Command line: %WinDir%\Sysnative\windowsPowershell\v1.0\Powershell.exe -ExecutionPolicy Bypass -File ".\WordQ4.0.96.0_Frv1.ps1" Install
	Allow user interaction: No
	UI mode: 0
	User token: null
	Session Id: 1
	Content path: C:\WINDOWS\ccmcache\6v
	Working directory: 	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
    Prepared working directory: C:\WINDOWS\ccmcache\6v	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
Invalid executable file C:\WINDOWS\Sysnative\windowsPowershell\v1.0\Powershell.exe	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
ScriptHandler::EnforceApp failed (0x87d01106).	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x87d01106).	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
CommenceEnforcement failed with error 0x87d01106.	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)
Method CommenceEnforcement failed with error code 87D01106	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)++++++ Failed to enforce app. Error 0x87d01106. ++++++	AppEnforce	2016-09-21 14:59:18	4976 (0x1370)+++ Starting Install enforcement for App DT "WordQ4.0.96.0_Frv1" ApplicationDeliveryType - ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c, Revision - 8, ContentPath - C:\WINDOWS\ccmcache\6v, Execution Context - System	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    A user is logged on to the system.	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    Performing detection of app deployment type WordQ4.0.96.0_Frv1(ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c, revision 8) for system.	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)+++ Application not discovered. [AppDT Id: ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c, Revision: 8]	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    App enforcement environment:
	Context: Machine
	Command line: %WinDir%\system32\windowsPowershell\v1.0\Powershell.exe -ExecutionPolicy Bypass -File ".\WordQ4.0.96.0_Frv1.ps1" Install
	Allow user interaction: No
	UI mode: 0
	User token: null
	Session Id: 4294967295
	Content path: C:\WINDOWS\ccmcache\6v
	Working directory: 	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    Prepared working directory: C:\WINDOWS\ccmcache\6v	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    Prepared command line: "C:\WINDOWS\system32\windowsPowershell\v1.0\powershell.exe" -ExecutionPolicy Bypass -File ".\WordQ4.0.96.0_Frv1.ps1" Install	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    Executing Command line: "C:\WINDOWS\system32\windowsPowershell\v1.0\powershell.exe" -ExecutionPolicy Bypass -File ".\WordQ4.0.96.0_Frv1.ps1" Install with system context	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    Working directory C:\WINDOWS\ccmcache\6v	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    Post install behavior is BasedOnExitCode	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    Waiting for process 4292 to finish.  Timeout = 120 minutes.	AppEnforce	2016-09-21 15:08:27	3200 (0x0C80)
    Process 4292 terminated with exitcode: 0	AppEnforce	2016-09-21 15:10:27	3200 (0x0C80)
    Looking for exit code 0 in exit codes table...	AppEnforce	2016-09-21 15:10:27	3200 (0x0C80)
    Matched exit code 0 to a Success entry in exit codes table.	AppEnforce	2016-09-21 15:10:27	3200 (0x0C80)
    Performing detection of app deployment type WordQ4.0.96.0_Frv1(ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c, revision 8) for system.	AppEnforce	2016-09-21 15:10:27	3200 (0x0C80)+++ Discovered application [AppDT Id: ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c, Revision: 8]	AppEnforce	2016-09-21 15:10:27	3200 (0x0C80)++++++ App enforcement completed (120 seconds) for App DT "WordQ4.0.96.0_Frv1" [ScopeId_ED4A5F71-85D0-4B2C-8871-A652C7DCDA71/DeploymentType_3c3022ab-a272-41f1-94cb-78f08e85577c], Revision: 8, User SID: ] ++++++	AppEnforce	2016-09-21 15:10:27	3200 (0x0C80)

What is happening?

I got a look if there is a sysnative directory and found nothing


Viewing all articles
Browse latest Browse all 4762

Trending Articles



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