Hi,
Lucky for some that it works. For me, I have spent hours trying to get this to work without success.
SCCM application copies the files to the target workstation but the install does not start.
As a process of deduction I tried to run the same command locally on a workstation. I have local admin on the workstation.
If I run the command line as below manually at an admin cmd prompt it does not install. Nothing appears to happen.
consolesetup.exe DefaultSiteServerName=srvadmin.abc.local TargetDir="C:\Program Files (x86)\Configuration Manager\AdminConsole" EnableSQM=0 /q
After a lot of testing I finally got it to install from the command prompt. The problem was that I was trying to install the console to a target other than the default location.
I amended the app in SCCM and tried to install again. I now get the following in the appEnforce.log.
<![LOG[+++ Starting Install enforcement for App DT "System Center 2012 R2 Configuration Manager Console - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_61A1051E-23F3-42BC-8426-D31F32615FBB/DeploymentType_104a922a-2c23-449f-b2bb-c5624f970317,
Revision - 9, ContentPath - C:\Windows\ccmcache\e, Execution Context - System]LOG]!><time="15:32:48.582-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appprovider.cpp:1702">
<![LOG[ A user is logged on to the system.]LOG]!><time="15:32:48.583-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appprovider.cpp:2083">
<![LOG[ Performing detection of app deployment type System Center 2012 R2 Configuration Manager Console - Windows Installer (*.msi file)(ScopeId_61A1051E-23F3-42BC-8426-D31F32615FBB/DeploymentType_104a922a-2c23-449f-b2bb-c5624f970317,
revision 9) for system.]LOG]!><time="15:32:48.586-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appprovider.cpp:2148">
<![LOG[+++ Application not discovered. [AppDT Id: ScopeId_61A1051E-23F3-42BC-8426-D31F32615FBB/DeploymentType_104a922a-2c23-449f-b2bb-c5624f970317, Revision: 9]]LOG]!><time="15:32:48.594-60" date="05-26-2015" component="AppEnforce"
context="" type="1" thread="3352" file="localapphandler.cpp:291">
<![LOG[ App enforcement environment:
Context: Machine
Command line: consolesetup.exe DefaultSiteServerName=SRVFHQSCCM01.DRBY.LOCAL TargetDir=C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole EnableSQM=0 /q
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\Windows\ccmcache\e
Working directory: ]LOG]!><time="15:32:48.595-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appcontext.cpp:85">
<![LOG[ Prepared working directory: C:\Windows\ccmcache\e]LOG]!><time="15:32:48.596-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appcontext.cpp:189">
<![LOG[ Prepared command line: "C:\Windows\ccmcache\e\ConsoleSetup.exe" DefaultSiteServerName=SRVFHQSCCM01.DRBY.LOCAL TargetDir=C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole EnableSQM=0 /q]LOG]!><time="15:32:48.774-60"
date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appcontext.cpp:338">
<![LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="15:32:48.836-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appcommon.cpp:1094">
<![LOG[ Waiting for process 5756 to finish. Timeout = 120 minutes.]LOG]!><time="15:32:48.837-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352"
file="appexcnlib.cpp:2015">
<![LOG[ Process 5756 terminated with exitcode: 2147942487]LOG]!><time="15:32:48.850-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appexcnlib.cpp:2024">
<![LOG[ Looking for exit code -2147024809 in exit codes table...]LOG]!><time="15:32:48.850-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352"
file="appexcnlib.cpp:508">
<![LOG[ Unmatched exit code (2147942487) is considered an execution failure.]LOG]!><time="15:32:48.851-60" date="05-26-2015" component="AppEnforce" context="" type="2" thread="3352"
file="appexcnlib.cpp:594">
<![LOG[++++++ App enforcement completed (0 seconds) for App DT "System Center 2012 R2 Configuration Manager Console - Windows Installer (*.msi file)" [ScopeId_61A1051E-23F3-42BC-8426-D31F32615FBB/DeploymentType_104a922a-2c23-449f-b2bb-c5624f970317],
Revision: 9, User SID: ] ++++++]LOG]!><time="15:32:48.852-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appprovider.cpp:2448">
I've also noticed that every time this runs a copy of the msi file is copied into a folder at
C:\Program Files (x86)\ConfigMgr10\AdminconsoleSetup\{foldername}
Can anyone shed any light on this problem please?
-
Edited by
Horace O
17 hours 0 minutes ago