Jump to content


DaaT

Software Center keeps removing and trying to re-add application

Recommended Posts

Hi,

 

I'm using SCCM 2012 R2 CU3 to deploy software (as well as Windows Updates) and for the most part it works fine, however there are a couple of apps causing some problems, specifically Notepad++ and Filezilla. To deploy them, I'm wrapping their installation into a MSI file using 'MSI Wrapper' and when testing I'm able to install and remove them without any issues.

 

I then deploy them via SCCM and the first install goes without a hitch as well, however I've noticed that Notepad++ (more than FileZilla) gets removed by Software Center and after that, every morning when I come in it's trying to re-install it but fails (or if I retry manually). The error code is 0x87D01106 and if I check the appenforce.log I see this:

<![LOG[+++ Starting Uninstall enforcement for App DT "Setup" ApplicationDeliveryType - ScopeId_0865844B-CFA2-4B04-8EA1-3BC55818EE0B/DeploymentType_1dcaec19-e6b1-4f63-ae75-4d7e5e9d887e, Revision - 1, ContentPath - C:\Windows\ccmcache\4b, Execution Context - System]LOG]!><time="11:57:33.209+00" date="02-12-2015" component="AppEnforce" context="" type="1" thread="5872" file="appprovider.cpp:1702">
<![LOG[    A user is logged on to the system.]LOG]!><time="11:57:33.283+00" date="02-12-2015" component="AppEnforce" context="" type="1" thread="5872" file="appprovider.cpp:2083">
<![LOG[    Performing detection of app deployment type Setup(ScopeId_0865844B-CFA2-4B04-8EA1-3BC55818EE0B/DeploymentType_1dcaec19-e6b1-4f63-ae75-4d7e5e9d887e, revision 1) for user.]LOG]!><time="11:57:33.287+00" date="02-12-2015" component="AppEnforce" context="" type="1" thread="5872" file="appprovider.cpp:2148">
<![LOG[+++ Discovered application [AppDT Id: ScopeId_0865844B-CFA2-4B04-8EA1-3BC55818EE0B/DeploymentType_1dcaec19-e6b1-4f63-ae75-4d7e5e9d887e, Revision: 1]]LOG]!><time="11:57:33.310+00" date="02-12-2015" component="AppEnforce" context="" type="1" thread="5872" file="localapphandler.cpp:287">
<![LOG[    App enforcement environment: 
	Context: Machine
	Command line: Uninstall.exe /S
	Allow user interaction: No
	UI mode: 1
	User token: not null
	Session Id: 1
	Content path: C:\Windows\ccmcache\4b
	Working directory: c:\Program Files (x86)\Notepad++]LOG]!><time="11:57:33.310+00" date="02-12-2015" component="AppEnforce" context="" type="1" thread="5872" file="appcontext.cpp:85">
<![LOG[    Prepared working directory: c:\Program Files (x86)\Notepad++]LOG]!><time="11:57:33.312+00" date="02-12-2015" component="AppEnforce" context="" type="1" thread="5872" file="appcontext.cpp:189">
<![LOG[Invalid executable file Uninstall.exe]LOG]!><time="11:57:33.313+00" date="02-12-2015" component="AppEnforce" context="" type="3" thread="5872" file="appcontext.cpp:303">
<![LOG[ScriptHandler::EnforceApp failed (0x87d01106).]LOG]!><time="11:57:33.313+00" date="02-12-2015" component="AppEnforce" context="" type="3" thread="5872" file="scripthandler.cpp:137">
<![LOG[AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x87d01106).]LOG]!><time="11:57:33.313+00" date="02-12-2015" component="AppEnforce" context="" type="3" thread="5872" file="appprovider.cpp:1786">
<![LOG[CommenceEnforcement failed with error 0x87d01106.]LOG]!><time="11:57:33.313+00" date="02-12-2015" component="AppEnforce" context="" type="3" thread="5872" file="appprovider.cpp:1825">
<![LOG[Method CommenceEnforcement failed with error code 87D01106]LOG]!><time="11:57:33.314+00" date="02-12-2015" component="AppEnforce" context="" type="3" thread="5872" file="appprovider.cpp:2390">
<![LOG[++++++ Failed to enforce app. Error 0x87d01106. ++++++]LOG]!><time="11:57:33.316+00" date="02-12-2015" component="AppEnforce" context="" type="3" thread="5872" file="appprovider.cpp:2467">

Notice the "Invalid executable file Uninstall.exe" bit, however since the install was wrapped onto a MSI, I don't see where/why it's picking that up, it's not anywhere in the Deployment Type.

 

FileZilla seems to have stabilized on its own.

 

Thanks in advance for your time.

 

Edit: Just to note, I've wrapped other applications which have been fine since installed.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.