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
Thursday, November 9, 2017 5:45 AM
Good morning, Ladies and Gentleman,
after facing several problems related to the OS capturing, I'm now stuck on the application deployment during OSD.
In my Task Sequence, there are 23 Applications to install. All of them fail to install (but not when deployed outside the TS, then they work fine). The install scripts and sources are downloaded (they are all located in the ccmcache) but - as I said - won't get installed. If I start the installation manually by running the PS install script, the application gets installed without any error message. Currently I'm using a Stand-Alone USB Installation Media. Do you need any log file?
smsts.log:"NotifyProgress received: 16 (Application failed to evaluate)
Appenforce.log:
+++ Starting Install enforcement for App DT "ScreenPressoPro" ApplicationDeliveryType - ScopeId_257839C9-762A-45A1-A00A-7319A3149AD9/DeploymentType_793d3fbd-6e29-4b97-b515-a88b10f181ef, Revision - 3, ContentPath - C:\WINDOWS\ccmcache\f, Execution Context - System AppEnforce 09.11.2017 06:11:22 4104 (0x1008)
A user is not logged on to the system. AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Performing detection of app deployment type ScreenPressoPro(ScopeId_257839C9-762A-45A1-A00A-7319A3149AD9/DeploymentType_793d3fbd-6e29-4b97-b515-a88b10f181ef, revision 3) for system. AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
+++ Application not discovered. [AppDT Id: ScopeId_257839C9-762A-45A1-A00A-7319A3149AD9/DeploymentType_793d3fbd-6e29-4b97-b515-a88b10f181ef, Revision: 3] AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
App enforcement environment:
Context: Machine
Command line: powershell.exe -command "&{.\install.ps1; exit $lastexitcode}"
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\WINDOWS\ccmcache\f
Working directory: AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Prepared working directory: C:\WINDOWS\ccmcache\f AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Found executable file powershell.exe with complete path C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Prepared command line: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command "&{.\install.ps1; exit $lastexitcode}" AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Executing Command line: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command "&{.\install.ps1; exit $lastexitcode}" with system context AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Working directory C:\WINDOWS\ccmcache\f AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Post install behavior is BasedOnExitCode AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Waiting for process 1972 to finish. Timeout = 40 minutes. AppEnforce 09.11.2017 06:11:23 4104 (0x1008)
Process 1972 terminated with exitcode: 0 AppEnforce 09.11.2017 06:11:25 4104 (0x1008)
Looking for exit code 0 in exit codes table... AppEnforce 09.11.2017 06:11:25 4104 (0x1008)
Matched exit code 0 to a Success entry in exit codes table. AppEnforce 09.11.2017 06:11:25 4104 (0x1008)
Performing detection of app deployment type ScreenPressoPro(ScopeId_257839C9-762A-45A1-A00A-7319A3149AD9/DeploymentType_793d3fbd-6e29-4b97-b515-a88b10f181ef, revision 3) for system. AppEnforce 09.11.2017 06:11:25 4104 (0x1008)
+++ Application not discovered. [AppDT Id: ScopeId_257839C9-762A-45A1-A00A-7319A3149AD9/DeploymentType_793d3fbd-6e29-4b97-b515-a88b10f181ef, Revision: 3] AppEnforce 09.11.2017 06:11:25 4104 (0x1008)
++++++ App enforcement completed (3 seconds) for App DT "ScreenPressoPro" [ScopeId_257839C9-762A-45A1-A00A-7319A3149AD9/DeploymentType_793d3fbd-6e29-4b97-b515-a88b10f181ef], Revision: 3, User SID: ] ++++++ AppEnforce 09.11.2017 06:11:25 4104 (0x1008)
Hope anyone can help me
All replies (5)
Thursday, November 9, 2017 6:54 AM
Matched exit code 0 to a Success entry in exit codes table.
AppEnforce 09.11.2017 06:11:25
4104 (0x1008)
Performing detection of app deployment type ScreenPressoPro(ScopeId_257839C9-762A-45A1-A00A-7319A3149AD9/DeploymentType_793d3fbd-6e29-4b97-b515-a88b10f181ef, revision 3) for system.
AppEnforce 09.11.2017 06:11:25
4104 (0x1008)
+++ Application not discovered. [AppDT Id: ScopeId_257839C9-762A-45A1-A00A-7319A3149AD9/DeploymentType_793d3fbd-6e29-4b97-b515-a88b10f181ef, Revision: 3]
The application installation was started, but it was not detected then. How is the discovery method configured?
Torsten Meringer | http://www.mssccmfaq.de
Thursday, November 9, 2017 7:46 AM
For this specific Application, the Detection Method checks the registry...
Thursday, November 9, 2017 8:11 AM
I now did a fresh installation and checked if the software has been installed during the TS as the Log sais it has been installed but not detected... But it wasn't installed (no new folders in Program Files ((x86)).
Friday, November 10, 2017 1:58 AM
I now did a fresh installation and checked if the software has been installed during the TS as the Log sais it has been installed but not detected... But it wasn't installed (no new folders in Program Files ((x86)).
Hi,
That can explain why it was not detected then. As you said it can be deployed successfully outside the OSD task sequence, be sure it runs under the same context.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Monday, November 13, 2017 8:09 PM
I now did a fresh installation and checked if the software has been installed during the TS as the Log sais it has been installed but not detected... But it wasn't installed (no new folders in Program Files ((x86)).
Hi,
That can explain why it was not detected then. As you said it can be deployed successfully outside the OSD task sequence, be sure it runs under the same context.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Sorry, but I don't get your answer - The TS runs and just "jumps" over all the selected apps - then the log tells me that it has been installed but could not be detected (seriously, applications like MSO won't be installed in 1/10th of a second at all :) )