Skip to content

How to Deploy Software packages that are EXE?

Featured Replies

Hey all,

I need some advice, tips, tricks, and help. Currently, I have no issues deploying Software Packages or Applications that are MSI based. However, there are a lot of software's out there that I want to install in a TS, as well as have it show up in Software Center. The software I am trying to create a package/application for are so far, Firefox and Dropbox. I assume however, once I get one package working, I can duplicate the process for the rest.

Thanks in advance,

 

You will need to review the logs as to why it is not installing. it should only take a few minutes to install. Are you sure that you program is setup correctly?

  • Author

I am not at all sure if its setup correctly. That's the issue I believe I'm having. I can provide screen shots of how I set everything up in about an hour. 

  • Author

OK, so here is the error code I receive. However, the application is actually installing.

For detection method on my application I am checking the registry to see if the following key exists: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Mozilla\Mozilla Firefox

The application installs, then throws this error in the Software Center

The software change returned error code 0x87D00324(-2016410844).

I've attached the AppEnforce.log

AppEnforce.log

  • Author

OK, so now I've got the check working and the software installs just fine. However, my uninstall code is not working. This is what I have for my uninstall line, and when I try to do it, I get the following code error.

(see the attached picture)


And here's the log,

<![LOG[+++ Starting Uninstall enforcement for App DT "Firefox ESR" ApplicationDeliveryType - ScopeId_6BC60758-14AB-484E-8AF3-71922ADE2F4A/DeploymentType_92ffe391-dedc-4fe2-a905-20ff94034c34, Revision - 6, ContentPath - C:\WINDOWS\ccmcache\9, Execution Context - System]LOG]!><time="14:55:39.844+300" date="04-21-2017" component="AppEnforce" context="" type="1" thread="8828" file="appprovider.cpp:1702">
<![LOG[    A user is logged on to the system.]LOG]!><time="14:55:39.846+300" date="04-21-2017" component="AppEnforce" context="" type="1" thread="8828" file="appprovider.cpp:2083">
<![LOG[    Performing detection of app deployment type Firefox ESR(ScopeId_6BC60758-14AB-484E-8AF3-71922ADE2F4A/DeploymentType_92ffe391-dedc-4fe2-a905-20ff94034c34, revision 6) for system.]LOG]!><time="14:55:39.850+300" date="04-21-2017" component="AppEnforce" context="" type="1" thread="8828" file="appprovider.cpp:2148">
<![LOG[+++ Discovered application [AppDT Id: ScopeId_6BC60758-14AB-484E-8AF3-71922ADE2F4A/DeploymentType_92ffe391-dedc-4fe2-a905-20ff94034c34, Revision: 6]]LOG]!><time="14:55:39.867+300" date="04-21-2017" component="AppEnforce" context="" type="1" thread="8828" file="localapphandler.cpp:287">
<![LOG[    App enforcement environment: 
	Context: Machine
	Command line: helper.exe -ms
	Allow user interaction: No
	UI mode: 0
	User token: null
	Session Id: 1
	Content path: C:\WINDOWS\ccmcache\9
	Working directory: %ProgramFiles(x86)%\Mozilla\Firefox\uninstall]LOG]!><time="14:55:39.867+300" date="04-21-2017" component="AppEnforce" context="" type="1" thread="8828" file="appcontext.cpp:85">
<![LOG[Failed in accessing working directory C:\Program Files (x86)\Mozilla\Firefox\uninstall, error 80070003]LOG]!><time="14:55:39.870+300" date="04-21-2017" component="AppEnforce" context="" type="3" thread="8828" file="appcontext.cpp:873">
<![LOG[CMsiHandler::EnforceApp failed (0x80070003).]LOG]!><time="14:55:39.870+300" date="04-21-2017" component="AppEnforce" context="" type="3" thread="8828" file="msihandler.cpp:284">
<![LOG[AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x80070003).]LOG]!><time="14:55:39.871+300" date="04-21-2017" component="AppEnforce" context="" type="3" thread="8828" file="appprovider.cpp:1786">
<![LOG[CommenceEnforcement failed with error 0x80070003.]LOG]!><time="14:55:39.871+300" date="04-21-2017" component="AppEnforce" context="" type="3" thread="8828" file="appprovider.cpp:1825">
<![LOG[Method CommenceEnforcement failed with error code 80070003]LOG]!><time="14:55:39.872+300" date="04-21-2017" component="AppEnforce" context="" type="3" thread="8828" file="appprovider.cpp:2392">
<![LOG[++++++ Failed to enforce app. Error 0x80070003. ++++++]LOG]!><time="14:55:39.873+300" date="04-21-2017" component="AppEnforce" context="" type="3" thread="8828" file="appprovider.cpp:2469">

It looks like a permissions error, but I am not sure?

 

Thanks

 

Capture.PNG

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.