Jump to content




anyweb

using System Center 2012 Configuration Manager - Part 8. Deploying Applications



Recommended Posts

In Part 1 of this series we created our new LAB, we got the System Center 2012 Configuration Manager ISO and extracted it, then copied it to our Active Directory server. We then created the System Management container in AD, delegated permissions to the container, extended the Schema for Configuration Manager. We then opened TCP ports 1433 and 4022 for SQL replication between sites, installed some prerequisites like .NET Framework 4.0, added some features and then downloaded and installed SQL Server 2008 R2 SP1 CU6. We then configured SQL Server using SQL Server Management Studio for security and memory configurations prior to running the Configuration Manager 2012 setup to assess server readiness. Finally we installed a central administration site (CAS).

In Part 2 we setup our Primary server with SQL Server 2008 R2 SP1 CU6. We then installed Configuration Manager 2012 on our primary server (P01) and verified that it was replicating to our central administration site (CAS) server. Then we configured Discovery methods for our Hierarchy and then configure Boundaries and Boundary Groups. In Part 3 we configured Discovery methods and configured boundaries and created a boundary group, we then configured them for Automatic Site Assignment and Content Location.

In Part 4 we added the Application Catalog roles to our Hierarchy. We then configured Custom Client Device Settings and then deployed those settings to the All Systems collection on site P01. After that we created Custom Client User Settings and deployed them to the All Users collection in order to allow users to define their own User and Device affinity settings.

In Part 5 we installed the WSUS server role (it is required for the Software Update Point role). We then installed the Software Update Point role on our CAS and Primary servers and we configured the SUP to support ConfigMgr Client Agent deployment which is a recommended Best Practice method of deploying the Configuration Manager Client Agent. In Part 6 we prepared our server for the Endpoint Protection Point role, and installed that role before configuring custom client device settings and custom antimalware policies. We then deployed those custom client device settings and custom antimalware policies to our newly created Endpoint Protection collections.

In Part 7 we added operating system deployment ability to our hierarchy by adding Windows 7 X64. We used the Build and Capture process to capture a WIM image which we can later deploy to targeted computers using network boot (PXE). PXE boot requires specific settings on our distribution points and the boot images used to deliver the operating system WIM images were therefore also enabled for PXE support.

Now we will add Applications to our Software Library and learn how to configure the requirements in the Deployment Type. We will monitor the approval process of our applications and see how requirements can influence whether an application is installed or not.

In this post I am specifically referring to Configuration Manager 2012 RTM and will not cover the changes coming in Service Pack 1. That will be covered in a future post when the service pack is released in Early 2013.

Applications are new in System Center 2012 Configuration Manager and have the following characteristics:

  • Applications contain the files and information necessary to deploy a software package to a computer or a mobile device. Applications contain multiple deployment types that contain the files and commands necessary to install the software. For example, an application could contain deployment types for a local installation of a software package, a virtual application package or a version of the application for mobile devices.
  • Requirement rules define conditions that specify how an application is deployed to client devices. For example, you can specify that the application should not be installed if the destination computer has less than 2GB RAM or you could specify that a virtual application deployment type is installed when the destination computer is not the primary device of the user.
  • Global conditions are similar to requirement rules but can be reused with any deployment type.
  • User device affinity allows you to associate a user with specified devices. This allows you to deploy software to a user rather than a device. For example, you could deploy an application so that it only installs on the primary device of the user. On devices that are not the primary device of the user, you could deploy a virtual application that is removed when the user logs out.
  • Deployments are used to distribute applications. A deployment can have an action which specifies whether to install or uninstall the application and a purpose which specifies whether the application must be installed or whether the user can choose to install it.
  • System Center 2012 Configuration Manager can use detection methods to determine if a deployment type has already been installed on a device by using product information, or a script.
  • Application management supports the new monitoring features in System Center 2012 Configuration Manager. The status of an application deployment can be monitored directly in the Configuration Manager console.
  • Packages and programs from Configuration Manager 2007 are supported in System Center 2012 Configuration Manager and can use some of the new deployment and monitoring features.
  • You can now deploy a task sequence on the Internet, as a method to deploy a script, for example, prior to installing a package and program. It is still not supported to deploy an operating system over the Internet.
  • Software Center is a new client interface that allows users to request and install applications, control some client functionality, and to access the Application Catalog, which contains details about all available applications.

Recommended reading:
Introduction to Application Management in Configuration Manager - http://technet.micro...y/gg682125.aspx
Planning for Application Management in Configuration Manager - http://technet.micro...y/gg699370.aspx
How to Create Applications in Configuration Manager - http://technet.micro...y/gg682159.aspx
How to Create Deployment Types in Configuration Manager - http://technet.micro...y/gg682174.aspx
Configuring the Application Catalog and Software Center in Configuration Manager - http://technet.micro...y/hh489603.aspx

Step 1. Create an Application
Perform the following on the CAS server as SMSadmin

Applications are new to Configuration Manager 2012 and give us new abilities over the Packages and Programs that we were used to in Configuration Manager 2007. You can still use the legacy method of Packages and Programs by adding packages in the Packages part of Application Management but you won't be able to avail of many of the new abilities in the new application model in Configuration Manager 2012.

To understand the new application model in Configuration Manager 2012 you should deploy some applications, and in order to do that, you first have to add them. These applications can be in any of the following formats in the RTM release of Configuration Manager 2012.

  • Windows Installer (Native) - (.MSI)
  • Microsoft Application Virtualization - (Microsoft Application Virtualization Manifest *.xml)
  • Windows Mobile Cabinet - (.cab)
  • Nokia Sis file - (.sis .sisx)

Alternatively you can use a script based (.vbs for example) or executable program (.EXE) by manually specifying that information when creating the application.

In this guide we will create a Windows Installer native application using a MSI packaged version of FireFox. You can download a pre-packaged MSI of Firefox from here (the files contained in this MSI are the official binaries with no modifications). Save the application in your sources share (I have shared a root folder on D:\ called Sources with sub folders within, one is called Apps, in that folder i have several other folders one is called MSI, and in that folder I create a new folder for each MSI based Application, for example FireFox).

Copy the downloaded FireFox MSI file to a subdirectory of your sources\apps\msi share just like I have done in the screenshot below.

firefox msi folder.png

and in the Configuration Manager console, navigate to Software Library then select Application Management and expand Applications. It will be empty as we haven't added any application yet.

Applications in Application Management.png

Right click on Applications and choose Create Application

Create Application.png

Choose Windows Installer (Native) as the application type and browse to the UNC location of the Firefox MSI, click next when ready

Specify settings for this application.png

the View imported information screen is displayed which contains information about the application it has detected from the MSI properties

view imported information.png

On the General Information screen you can specify information about the application, I've manually added the Manufacturer, some version info and created an Administrative category called web browsers but apart from that the information listed is provided by Configuration Manager via the MSI properties.

Notice that the installation program already has some switches (i=install, q=quiet), if you want to add some additional switches you can, just make sure to test them first. Also note that the installation behaviour is set to Install for System which basically means that this application will be installed in System context. If you want the application to install in the Users context select Install for User instead, however if the user does not have administrative permissions they may fail to install the application depending if it requires administrative permissions.

specify information about this application.png

Click through the rest of the wizard till completion and then close the wizard.

The Create Application Wizard completed successfully.png

Step 2. Edit the Deployment Type
Perform the following on the CAS server as SMSadmin

Now that we've created our application it comes with one Deployment type (you can add many more depending on your needs). This deployment type defines how the application is installed (or not) based on requirements, dependencies and other criteria which we can specify. In this guide we will set some requirements for this deployment type so that it only installs if the User logged on is the Primary user as defined via User Device Affinity.

In Applications, select our newly created application and click on the Deployment Types tab beneath. Notice the detailed information about our application already made available to us in the console.

Deployment Types.png

on the Deployment Types screen, right click on our deployment type and select Properties.

deployment type properties.png

When the Deployment Type properties appear, click on the Requirements tab.

Deployment Type requirements.png

click on Add to create a requirement and in the drop down Category menu select User the rest can remain as default
add and create requirement.png

This deployment type requirement tells our application to only deploy if the user is the primary user of a device

go ahead and click add again and this time add a requirement so that the operating system must be Windows 7 X64 as per the screenshot below

operating system must be Windows 7X64.png

If you are feeling adventurous you can go ahead and add some more requirements. The key here is that this deployment type only works if the requirements (and other criteria) are met, otherwise it won't run. You can create several deployment types using this methodology to target applications to different types of users/devices.


Step 3. Deploy the Application to a User Collection
Perform the following on the CAS server as SMSadmin

Note: You can deploy required applications (install and uninstall), but not packages or software updates. Available applications, which users request from the Application Catalog, are not supported for mobile devices. Mobile devices also do not support simulated deployments.

In this example I will use the All Users collection, you may want to limit your reach by creating your own User Collection and adding Users to that collection using Queries.

Now that we have created our application and modified the requirements in the deployment type we will deploy it with an available purpose (available means that it is optional and that means that the application will not be forcefully installed, if you want to force the installation of an application, change the Deployment purpose to Required).

Tip: By making the deployment available (optional) and targeting it to A User collection that your user is a member of it will list the application in the Application Catalog. if you make the deployment required (mandatory) and target the same User collection it will show up in Software Center instead. Required applications do not show up in Application catalog. Required applications do show up in software center however available software will show up in the software center after you've selected to install it in the Application Catalog. If that's confusing then think of it this way, User targeted applications are available in the Application Catalog whereas System targeted applications are available in Software Center.

In this example we want our application available to all users (that meet our requirements in our deployment type) using the Application catalog.

Right click on the FireFox application and select Deploy.

Deploy the application.png

for collection browse to All Users

All Users.png

click next and you need to decide what distribution points will deliver this application, click Add, select distribution point and then select your Distribution Point on the Primary server P01.

add distribution points.png

click next, on the Deployment Settings screen leave it as Action: Install and Purpose: Available. If you want to add administrator approval for this application via Application Catalog then now is your chance, so select the checkbox. You should really only use this option for software that is perhaps expensive to License and therefore want finer control over who gets to install it. The downside to this functionality is lack of email alerts to the administrator in question when a request comes in (can be resolved via Orchestrator) meaning that an administrator must approve the application in the Configuration Manager console prior to a user getting it.

Note: You cannot request Administrator Approval for Required Applications (Mandatory deployments). If you want to use the administrator approval process then you must deploy the application with an Available purpose.

deployment settings.png

If your application was large (Office) and you wanted time for it to distribute to all your distribution points prior to users seeing the deployment notification, you can schedule it's availability here. If you want to force the schedule to be available as soon as possible and to force an installation deadline then change the deployment purpose to required to see those options.

scheduling.png

you may also want to specify settings for your users in the User Experience screen

Note: Some options may be greyed out or missing completely (for example the hide in software center and all notifications option is missing in Available Deployments but visible in Required deployments) depending on the Deployment purpose (Available versus Required).

User Experience.png

click your way through the rest of the wizard to completion.

deployment processing complete.png

Step 4. Verify the User Experience
Perform the following on a Windows 7 client computer as testuser

Once the deployment to All Users is created, Login to a client computer running Windows 7 X64 as a standard domain user (testuser), click on the start menu and select Software Center from the Microsoft System Center 2012 menu, Software Center is the new version of Run Advertised Programs that you are used to from Configuration Manager 2007.

start software center.png

As you can see Software Center is currently empty, however click on the link to the Application Catalog in the top right corner.

managed by windows-noob.png

The Application Catalog opens and you should see the Mozilla Firefox application listed, note also that it requires approval.

application catalog.png

so go ahead and click on Request and fill in some useful information before clicking submit

submit request.png

you'll get notified of the request submission

your request has been submitted.png

Step 5. The Approval process
Perform the following on the CAS server as SMSadmin

Navigate to the Software Library, click on Approval Requests, notice the Mozilla Firefox request is listed.

approval requests.png

right click on the request and choose Approve

Approve.png

The application request details are listed, you can fill in some text to be included with the approval.

application requests.png

Step 6. Getting the Application installed
Perform the following on a Windows 7 client computer as testuser

The Application has been approved and should now be ready to install, in the Applicatiation Catalog you can click on the My Application Requests tab and refresh (f5) you should see that your application is now approved.

approved.png

and switch back to the Application Catalog tab, notice you have an Install button, click on it.

Install button.png

An Application Installation window pops up, click on Yes to continue

application installation popup.png

before finally getting an Application Installation not started message, this is expected behaviour as we have not met all the requirements on the Application as defined in the requirements tab of the Deployment Type. No need to panic. User Device Affinity can be defined in 6 different ways, we will use one method below to associate this computer with this user.

Application installation not started.png

So what we see happening here is the application is listed in Application Catalog but the requirements are not actually verified until we attempt to install the application.

To resolve this problem click on the My Devices tab in the Application Catalog (if you remember in Step 4 of Part 4 of this guide we created custom client user settings and allowed the users to define their own User Device Affinity.)

You'll see that this computer is not set as a primary computer for this user, place a checkmark in the checkbox

My Devices.png

so that is set as your primary computer like so...

this computer is set as your primary computer.png

go ahead and click on Install again in the Application Catalog tab, this time it will work as the requirements in the Deployment Type are now satisfied :-)

download and installing software.png

and the software get's installed..

software installation is complete.png

If you open Software Center now, the application is listed in the Installed Software tab and you can even choose to Uninstall it.

Installed Software.png

Step 7. Add another application and Deploy it to a Device Collection
Perform the following on the CAS server as SMSadmin

Note: In production if you want to target several computers, create a suitably named collection and use Query based membership rules to populate the members of that collection. Try to avoid deploying to the All Systems collection as that will target everything in your hierarchy.

Device collections contain devices like computers, and as a result targeting devices means the available deployment will show up in Software Center.

If you want your application to be made available to all computers via the Software Center then by deploying it to Device collections instead of User collections will produce a different result to the above. In my example below I've added a new application called 7Zip (MSI in X86 and X64 format available from here) to the Applications part of software library.

I have also created a query based Device Collection called Windows 7 computers.

Right click on our newly added 7Zip application (you will have added it just like we did above) and choose Deploy

Deploy 7zip.png

In the drop down menu choose Device collections, select your appropriate device collection, in my example I have chosen Windows 7 computers.

deploy to windows 7 computers device collection.png

add your distribution point(s)

add dp.png

and notice the difference ? the ability to request approval is greyed out as we are targetting devices and not users

install available require administrator approval greyed out.png

click through to User Experience, and select Display in Software Center and show all notifications

Display in Software Center and show all notifications.png

click through the rest of this wizard to completion.

7zip deployment created.png

Step 8. Getting the application via Software Center
Perform the following on a Windows 7 client computer as testuser

Login to a Windows 7 computer that is a member of the device collection which you targetted the 7Zip application to. You should see the following New Software is available notification appear in the system tray

New Software is available icon.png

click on the notification or open software center manually and you should now see the 7Zip application listed in Software Center.

7zip in software center.png

Note: If you are feeling curious you can open the Application Catalog, the 7Zip application will not appear there as we have only targetted this available deployment to Computers (and not users).

Click on Install in Software Center and the 7Zip application will be installed.

installing 7zip.png

So there you have it, you've learned how to target applications to computers and users and how editing the deployment type and specifying requirements can impact how an application is installed. In addition, you've seen the benefit of using User Device Affinity by associating a user as the primary user of a device via the Application Catalog.

Troubleshooting:

If you want to troubleshoot applications installation then refer to the following log files

  • AppDiscovery.Log - found in C:\Windows\CCM\Logs
  • AppIntenteval.Log - found in C:\Windows\CCM\Logs
  • AppEnforce.Log - found in C:\Windows\CCM\Logs
  • ConfigMgrsoftwareCatalog.Log - found buried in the %UserProfile%
  • SCClient_Domain@user_1.log - found in C:\Windows\CCM\Logs
  • SCNotify_Domain@user_1.log - found in C:\Windows\CCM\Logs

The ConfigMgrSoftwareCatalog log file is found in hidden directories, deeply buried in some random folders such as:

C:\Users\niall\AppData\LocalLow\Microsoft\Silverlight\is\0rglkc4j.syl\fucg35en.q1m\1\s\rwl0r0fam4nbpyvap0mkobagvrar1b3pwcrkul0pggwb3o3mp5aaadca\f\ConfigMgrLogs\ConfigMgrSoftwareCatalog.log

Additional Troubleshooting info (via Technet)

Problem 1 – application download failures:

  • Client stuck downloading an application
  • Client failed to download application
  • Client stuck at 0% while downloading software

Possible solutions and troubleshooting information:

Problem 2 - application deployment compliance stuck at 0%

Possible solution and troubleshooting information:




In the next part of this series we learn how to Deploy Monthly Updates to keep our client systems up to date.

Share this post


Link to post
Share on other sites


Hello, thanks for this informative posting.

 

i am already deploying various applications in SCCM2012, and now i'm at a point where i want to upgrade/supersede one.

for example, i have an application SAP GUI version 7.10 with correct and functional install/uninstall and detection methods.

i now want to replace it with version 7.20. i am unclear if i should create a new deployment type in the existing application or create a new application, and create a supersedence relationship.

 

can you (or anyone else) help?

Share this post


Link to post
Share on other sites

you are on the right track, create the new application and then create a supersedence relationship.

Share this post


Link to post
Share on other sites

thanks, it worked fine.

NOTE: care must be taken that if a third application has "old application" as a requirement, sccm can not uninstall "old application" automatically to install "updated application".

(hope what i wrote makes sense :))

it cost me quite some time to figure out why it didn't work at first.

Share this post


Link to post
Share on other sites

Hi, these guides are fantastic and are essential to anyone who is using SCCM 2012. *Thumbs up

 

When I am trying to create a new application, I get the following error:

 

"Error: The SMS Provider reported an error."

 

No error numbers or the like, can you advise in a direction I should take to fix this issue?

 

Thanks

post-17453-0-59319100-1350573385_thumb.png

Share this post


Link to post
Share on other sites

Hi, these guides are fantastic and are essential to anyone who is using SCCM 2012. *Thumbs up

 

When I am trying to create a new application, I get the following error:

 

"Error: The SMS Provider reported an error."

 

No error numbers or the like, can you advise in a direction I should take to fix this issue?

 

Thanks

 

You could start checking that your site is healthy.

 

Monitoring > System Status > Site Status , and Component Status.

 

Everything green in there?

Share this post


Link to post
Share on other sites

SMS_DISCOVERY_DATA_MANAGER is set to Critical with the following error:

 

Microsoft SQL Server reported SQL message 33009, severity 16: [42000][33009][Microsoft]

[sql Server]The database owner SID recorded in the master database differs from the database owner SID recorded in database 'CM_SCM'. You should correct this situation by resetting the owner of data

Please refer to your Configuration Manager documentation, SQL Server documentation, or the Microsoft Knowledge Base for further troubleshooting information.

Share this post


Link to post
Share on other sites

Hi again :) I have gotten as far as getting the application to show in Software Center, however when trying to install the STATUS is stuck on Downloading (0% complete).

 

the logs mentioned above don't provide an insight to a problem. Any ideas? We can deploy packages with no problems.

Share this post


Link to post
Share on other sites

In our old SCCM 2007 system, we had created a number of AD Secirity Groups for software installations, then a ton of SCCM collections that would query the devices for that security group. We'd then target advertisements to those collections for software deployment.

 

In 2012, I'd like to use the Requirements tab to query for that Security Group, but I'm having some trouble with it. I can query for the OU, but not the actual security group.

Share this post


Link to post
Share on other sites

Hi again :) I have gotten as far as getting the application to show in Software Center, however when trying to install the STATUS is stuck on Downloading (0% complete).

 

the logs mentioned above don't provide an insight to a problem. Any ideas? We can deploy packages with no problems.

 

Hi all,

 

I'm new at this site and also new working with SCCM. As far as I looked for information for that Microsoft's product, this is the best site I found, a really good job you did with these manuals!!

 

At the moment, I'm at the same point as liquidtoon, everything seems to work fine but when the applications are about to download and install on clients, the status stuck on 0%.

 

However, when the limit time for installing the application is reached, the "install" button appears on the Software Center and just clicking on it the installation finishes with no errors.

 

Does anybody else had the same problem? I reviewed the log files but no information found to solve that problem. The ideal thing is to download and install the application automatically without to wait for the limit time and have to click on install button manually.

 

Thanks in advance.

Share this post


Link to post
Share on other sites

did you make your deployment Required or Available ?

Share this post


Link to post
Share on other sites

I have successfully created and deplyed office 2010 application, but it fails when I try to uninstall it.

In CITaskMgr.log I see this:

 

<![LOG[initiating task ContentDownload for CI ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1 (Microsft Office 2010 Standard x32) for target: S-1-5-21-4244177939-1869421508-1653804925-10148]LOG]!><time="16:53:41.317-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="ccitaskmgr.cpp:245">

<![LOG[initiating content download : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.ContentDownload)]LOG]!><time="16:53:41.330-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="citask.cpp:900">

<![LOG[Contents already available.]LOG]!><time="16:53:41.356-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="contentdownload.cpp:449">

<![LOG[Contents download already in Success state : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.ContentDownload)]LOG]!><time="16:53:41.356-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="citask.cpp:900">

<![LOG[state transition to (Success), Param(0) : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.ContentDownload)]LOG]!><time="16:53:41.356-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="citask.cpp:900">

<![LOG[Already completed state (Success) : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.ContentDownload)]LOG]!><time="16:53:41.360-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="citask.cpp:900">

<![LOG[initiating task Enforce for CI ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1 (Microsft Office 2010 Standard x32) for target: S-1-5-21-4244177939-1869421508-1653804925-10148]LOG]!><time="16:53:41.576-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="ccitaskmgr.cpp:245">

<![LOG[submitted new MTC request f79668ae-ea8d-4494-88cf-a54da5a7ed63]LOG]!><time="16:53:41.592-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="mtchelper.cpp:200">

<![LOG[state transition to (WaitSerialize), Param(0) : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.Enforce)]LOG]!><time="16:53:41.592-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="6752" file="citask.cpp:900">

<![LOG[sending ack to MTC for task f79668ae-ea8d-4494-88cf-a54da5a7ed63]LOG]!><time="16:53:41.595-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="9188" file="mtchelper.cpp:239">

<![LOG[starting Enforcement : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.Enforce)]LOG]!><time="16:53:41.605-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="9188" file="citask.cpp:900">

<![LOG[initiated application enforcement. : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.Enforce)]LOG]!><time="16:53:41.613-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="9188" file="citask.cpp:900">

<![LOG[state transition to (InProgress), Param(0) : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.Enforce)]LOG]!><time="16:53:41.613-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="9188" file="citask.cpp:900">

<![LOG[Application enforcement completed : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.Enforce)]LOG]!><time="16:53:42.347-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="9188" file="citask.cpp:900">

<![LOG[Enforcement completion state ExecutionFailure : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.Enforce)]LOG]!><time="16:53:42.350-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="9188" file="citask.cpp:900">

<![LOG[state transition to (ExecutionFailure), Param(1603) : CITask(ScopeId_2FA9CB37-72BA-4C18-B686-1F74D727EEDA/DeploymentType_1c30ce65-d2a2-4628-a0b0-2612087241d4.1.S-1-5-21-4244177939-1869421508-1653804925-10148.Uninstall.Enforce)]LOG]!><time="16:53:42.350-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="9188" file="citask.cpp:900">

<![LOG[Active enforcement task with MTC Id f79668ae-ea8d-4494-88cf-a54da5a7ed63 not found]LOG]!><time="16:53:42.354-120" date="12-05-2012" component="CITaskMgr" context="" type="1" thread="9344" file="ccitaskmgr.cpp:976">

 

So I guess my question is what is MTC Id ?

 

p.s. I deployed office following this guide - http://blogs.technet...012-beta-2.aspx

my uninstall command is: MsiExec.exe /X{90140000-0011-0000-0000-0000000FF1CE}

 

edit: changing uninstall command to "SETUP.EXE /uninstall STANDARD" fixed the problem.

Share this post


Link to post
Share on other sites

Hi,

 

I'm trying to deply a simple application, it gets distributed to the DP's successfully, how ever the intallation is not happening. Execmgr log says : "Auto Install is set to false. Do Nothing" How do I go ahead with this?

 

 

 

Program Clock change to state STATE_ADVANCED_DOWNLOAD content in progress execmgr 12/7/2012 8:33:39 PM 4944 (0x1350)

Execution Request for advert APF20002 package APF00006 program Clock state change from NotExist to AdvancedDownload execmgr 12/7/2012 8:33:39 PM 4944 (0x1350)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 8:33:39 PM 4944 (0x1350)

Mandatory execution requested for program Clock and advertisement APF20002 execmgr 12/7/2012 8:33:39 PM 5876 (0x16F4)

Creating mandatory request for advert APF20002, program Clock, package APF00006 execmgr 12/7/2012 8:33:39 PM 5876 (0x16F4)

Raising event:

[sMS_CodePage(437), SMS_LocaleID(1033)]

instance of SoftDistWaitingContentEvent

{

AdvertisementId = "APF20002";

ClientID = "GUID:CB9A16B6-1513-4F3B-B9DF-61252E483E6B";

DateTime = "20121207150339.398000+000";

MachineName = "DCSCCM";

PackageName = "APF00006";

PackageVersion = "1";

ProcessID = 1920;

ProgramName = "Clock";

SiteCode = "APF";

ThreadID = 5876;

};

execmgr 12/7/2012 8:33:39 PM 5876 (0x16F4)

Successfully raised SoftDistWaitingContentEvent event for program Clock execmgr 12/7/2012 8:33:39 PM 5876 (0x16F4)

Execution Request for advert APF20002 package APF00006 program Clock state change from WaitingDependency to WaitingContent execmgr 12/7/2012 8:33:39 PM 5876 (0x16F4)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 8:33:39 PM 5876 (0x16F4)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 8:33:39 PM 1732 (0x06C4)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 8:33:40 PM 5876 (0x16F4)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 8:34:11 PM 6016 (0x1780)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 9:16:51 PM 252 (0x00FC)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 9:17:26 PM 5664 (0x1620)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 9:33:39 PM 5460 (0x1554)

Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="APF00006",ProgramID="Clock", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 12/7/2012 9:34:09 PM 6000 (0x1770)

CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : START Event execmgr 12/7/2012 10:15:06 PM 256 (0x0100)

CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : END Event execmgr 12/7/2012 10:15:06 PM 5424 (0x1530)

CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : START Event execmgr 12/7/2012 10:15:06 PM 3108 (0x0C24)

CExecutionRequestManager::OnServiceWindowEvent for START execmgr 12/7/2012 10:15:07 PM 256 (0x0100)

CExecutionRequestManager::OnServiceWindowEvent for START execmgr 12/7/2012 10:15:07 PM 3108 (0x0C24)

Auto Install is set to false. Do Nothing. execmgr 12/7/2012 10:15:08 PM 256 (0x0100)

Auto Install is set to false. Do Nothing. execmgr 12/7/2012 10:15:08 PM 3108 (0x0C24)

 

 

Regards,

Mikey.

Share this post


Link to post
Share on other sites

I have installed a unknown computer with a task sequence that included 1 application. Unfortunatly the application was not installed when imaging was done. After that I could start the same sequence again through software center, if i do that and that is finished the application is installed. Why isnt it installed the first time?

Share this post


Link to post
Share on other sites

what do your logs tell you ? (you may have to repeat the process again)

Share this post


Link to post
Share on other sites

Quick question related to deploying software. BACKGROUND-So we have a new installation of SCCM 2012 SP1, which we upgraded to from SCCM 2007.

 

I have packaged and deployed software from 2007 with no problem. Currently I am running into an issue when trying to deploy an Application package from SCCM 2012.

 

I have been able to create Application Package; Deployment Type and Deployments. The software Copies to the DP and makes its wasy to the ccmcache directory where it sits and never installs.

 

The application is an EXE that I created using AutoITScript. It is a very simple script which copies 2 files from network to a directory on server and then launches .CMD to run xml which changes a password for me. I have verified that the script works as expected when I manually copy it to a server and run it.

 

However, I cannot seem to get SCCM to launch it.

CURRENT ERROR:

Deployment Status: Deployment failed Status Type: Error Error Code: 0x87D00324 (-2016410844) Error Description: The application was not detected after installation completed

 

I know this looks like it installed, but it has not. I am getting this same error if I try to push down and install a batch file as well.

 

Any help or guidance is appreciated. If I can provide an additional info that might help, please let me know.

Share this post


Link to post
Share on other sites

Outstanding site! This site has been a life saver. We have a CAS and two Primary Sites at the moment. I'm wondering if our administrators at each site should be creating packages on the CAS or on their respective primary sites? I guess I'm a little confused as to where the day to day operations should be administered from Primary or CAS? Does it matter if some applications are created on the CAS and some are created on the Primary servers?

Share this post


Link to post
Share on other sites

Keep up the good work! :)

I'm a little puzzeld...

 

I'm using av CAS and 2 primary server. I will end up With 8 primary servers.(it's politics).

 

I have a share With Applications on the CAS server. The CAS server will put information in to the contentLB.
Do I need 2 times the Storage? Files and ContentLB ?

 

Hope you understand what I meen.

 

Best regards,

 

Øyvind Skjellin

Share this post


Link to post
Share on other sites

Outstanding site! This site has been a life saver. We have a CAS and two Primary Sites at the moment. I'm wondering if our administrators at each site should be creating packages on the CAS or on their respective primary sites? I guess I'm a little confused as to where the day to day operations should be administered from Primary or CAS? Does it matter if some applications are created on the CAS and some are created on the Primary servers?

 

I'm using the CAS for everything. Central Administration Site. :) Do use roles to delegate what Your co-workers do winthin the SCCM envoriment.

Share this post


Link to post
Share on other sites

Thanks for this informative posting, love the screenshots! I now know what our SCCM guy is looking at :) Here's my dilemma… we are in the process of moving all our Apps into SCCM, for the most part it all seems to be working fine, however we are having issues with Autodesk Products.

 

I’ve been an Autodesk admin for many years now and I’ve created deployments all the time and have not gotten any issues with my deployments even on the laptop I’m using to test SCCM Apps. I’m trying to figure out where the problem is, they’ve taken my deployment from our Autodesk License server and I guess they copy the deployment folder over to SCCM server.

 

The problem started with the download getting stuck on a percent, that got fixed. It then became a problem where it will get to 100$%, the install will start and then it failed within seconds. Now the latest is…. it goes thru the process of downloading and that takes around 60 minutes or so (3.5 gig, he explained to me why it takes that long), it goes thru the process of installing but it never installs, I’ve left it running overnight and same status, I’ve looked at the task manager and it’s displaying 2 services of the setup.exe (Autodesk).

 

The main question I have is, has anyone tried and was successful on creating an Autodesk package?

 

Any feedback will be appreciated

Share this post


Link to post
Share on other sites

I am trying to deploy an windows 7 operating system image and install applications through the same task. It does the install of the operating system but wont install the apps. it just sits as in progress in config man. I can install the apps to the device collection on their own successfully but when I add them into the deploy os task it does not work.

 

i have since checked my logs on the client and it seems like the client package is trying to install to d: which does not exist and it is getting an out of space error. Does anyone know how to remedy this?

Share this post


Link to post
Share on other sites

Thank you for this great informative post. I have a little question about application deployment in sccm 2012.

 

Is there a way to immediately deploy applications and to get control over this?

 

What i want is to deploy an application which i already created in sccm 2012. This application needs to be deployed on an agent right away instead of waiting for sccm 2012 for the right time.

Share this post


Link to post
Share on other sites

you could use client notification to force machine policy retrieval which should do what you want

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×