Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4019804
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:09:00+00:00 2026-05-20T10:09:00+00:00

I have an ActiveX control that is delivered as a CAB. I have an

  • 0

I have an ActiveX control that is delivered as a CAB. I have an HTML page that is just an OBJECT tag with the cab name and clsid (so nothing else on the page yet).

This causes IE to ask about installing the ActiveX control, which I allow. It downloads the CAB, extracts the installer and starts to run it.

While MSIEXEC is running and trying to install the control, IE decides to delete the files in the temp directory where the .MSI file is. Sometimes, the file is locked by the process and deleting fails and then installing succeeds, but most of the time deleting succeeds and then MSIEXEC logs an error that the MSI file isn’t there.

I can see all of this happening in PROCMON, but I have no idea why. It is reproducible in multiple versions of Windows and IE. It’s not just deleting the MSI — it’s deleting the files in the temp directory.

The only clue I have is that the modified date of the file is the date it was created on the build machine. This isn’t something that I can keep updating though (it’s inside of a CAB on a webserver) — I can’t just build this CAB every five minutes to keep the modified dates fresh — so, I don’t think that’s it, but wanted to mention it as a clue.

Why is IE deleting the files in the temp and is there any way to stop it from doing that?

  • 1 1 Answer
  • 4 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T10:09:01+00:00Added an answer on May 20, 2026 at 10:09 am

    Finally figured this out. If you have a hook in your CAB to start apps, they must not return back to the caller until they exit. Console apps do this by default — GUI apps do not.

    Our installer is a normal setup.exe GUI inside the CAB — so it returns immediately to IE right after it starts running. IE then starts cleaning up the temp files of the CAB.

    We made a console app that takes a command-line argument for a system call to make and then doesn’t exit until the process started by the system call exits. This stops IE from cleaning up until the setup.exe is completely done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .Net 2.0 activex control that is embedded within an HTML page
I have an activeX control on my classic ASP page. That page also includes
I have an ActiveX control that runs on a website, where the old version
I have an ActiveX control that I'm loading with JavaScript in Internet Explorer. It
I have got an ActiveX Control that gets an image from a fingerprint device
I have the unenviable task of maintaining an ActiveX control that expects OLE_Colors as
I have an ActiveX control written in C++ that runs in Internet Explorer 8.
I have an ActiveX control that has both 32 and 64 bit versions for
I have an MFC ActiveX control embedded in a web page. Some of the
I have a web application that uses an ActiveX COM component, for example: <OBJECT

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.