search cancel

Software Delivery of Internet Explorer 10 or 11 Fails with 40007

book

Article ID: 162827

calendar_today

Updated On:

Products

Software Management Solution

Issue/Introduction

A Managed Software Delivery (MSD) policy for Internet Explorer (IE) 10 or IE 11 succeeds on some computers and fails on others with exit code 40007. 

Cause

The behavior seems to be random and does not require installing prerequisite updates as suggested by code 40007. Running the installation again on a computer that failed with exit code 40007 will eventually result in a successful install.

Resolution

Make sure that the Managed Software Delivery (MSD) policy has a working detection rule and give it a repeating schedule to continue retrying the installation on computers that have failed to install the new version of IE. A detection rule always runs before the software installation and will prevent the installation attempt if it finds the computer to already have the software installed.

Instructions on creating a detection rule for Internet Explorer:

  1. To open the Software page from within the MSD policy page open the Software tab and then double click on the large blue text of the software's name. 
  2. In the Rules tab, click New on the Detection rule line. 
  3. Name the rule (such as Iexplore.exe File Version 11).
  4. Click the blue + button then select Operators>Or.
  5. Select the Or operator that was just created under the And operator.
  6. Click the blue button to add a new expression. Select Standard Rule>File Version
  7. In the File path box, add the path (no quotes) to the IE executable file: C:\Program Files\Internet Explorer\iexplore.exe
  8. Change Version type to Product Version.
  9. Select an operator for the Version must be option. For example, for IE 11, use [ ] and enter 11.0 in the left and 11.99 in the right text boxes.
  10. Click OK to close the File Version window.
  11. Repeat steps 6 through 10 to create another File Version rule under the Or operator but this time specify this alternate path to the IE executable file: C:\Program Files (x86)\Internet Explorer\iexplore.exe
  12. click OK to close the Create Rule window, and click OK to close the software release window. The MSD policy should automatically update to use the detection rule.

Figure 1. An example of a detection rule to detect IE11 based on the file version of iexplore.exe.

Attachments