Jump to content


  • 0
xerxes2985

How to Deploy Software packages that are EXE?

Question

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,

 

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

Is there a guide to create a software package that is an EXE?

Here's the steps I've followed and when I try to install via software center it just says installing.... and doesn't ever install (been sitting on my test machine for 14 hours now). 

 

https://gallery.technet.microsoft.com/Deploying-Mozilla-Firefox-4fb31f19

 

Share this post


Link to post
Share on other sites

  • 0

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

Share this post


Link to post
Share on other sites

  • 0

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

Share this post


Link to post
Share on other sites

  • 0
3 minutes ago, GarthMJ said:

ok, maybe I need more coffee but what is unclear with the error message?

 

I am only on my 2nd cup lol. Maybe I need more coffee. I see "Failed in accessing working directory C:\Program Files (x86)\Mozilla\Firefox\uninstall, error 80070003." But what I don't see or know how to find is what account it is attempting to use to access that directory.

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
Answer this question...

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