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 174669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:33:49+00:00 2026-05-11T13:33:49+00:00

I used to be able to launch a locally installed helper application by registering

  • 0

I used to be able to launch a locally installed helper application by registering a given mime-type in the Windows registry. This enabled me to allow users to be able to click once on a link to the current install of our internal browser application. This worked fine in Internet Explorer 5 (most of the time) and Firefox but now does not work in Internet Explorer 7.

The filename passed to my shell/open/command is not the full physical path to the downloaded install package. The path parameter I am handed by IE is

'C:\Document and Settings\chq-tomc\Local Settings\Temporary Internet Files\   EIPortal_DEV_2_0_5_4[1].expd' 

This unfortunately does not resolve to the physical file when calling FileExists() or when attempting to create a TFileStream object.

The physical path is missing the Internet Explorer hidden caching sub-directory for Temporary Internet Files of 'Content.IE5\ALBKHO3Q' whose absolute path would be expressed as

'C:\Document and Settings\chq-tomc\Local Settings\Temporary Internet Files\    Content.IE5\ALBKHO3Q\EIPortal_DEV_2_0_5_4[1].expd' 

Yes, the sub-directories are randomly generated by IE and that should not be a concern so long as IE passes the full path to my helper application, which it unfortunately is not doing.

Installation of the mime helper application is not a concern. It is installed/updated by a global login script for all 10,000+ users worldwide. The mime helper is only invoked when the user clicks on an internal web page with a link to an installation of our Desktop browser application. That install is served back with a mime-type of 'application/x-expeditors'. The registration of the '.expd' / 'application/x-expeditors' mime-type looks like this.

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.expd]  @='ExpeditorsInstaller' 'Content Type'='application/x-expeditors'  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ExpeditorsInstaller] 'EditFlags'=hex:00,00,01,00  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ExpeditorsInstaller\shell]  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ExpeditorsInstaller\shell\open] @=''  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ExpeditorsInstaller\shell\open\command] @='\'C:\\projects\\desktop2\\WebInstaller\\WebInstaller.exe\' \'%1\''  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type\application/x-expeditors] 'Extension'='.expd' 

I had considered enumerating all of a user’s IE cache entries but I would be concerned with how long it may take to examine them all or that I may end up finding an older cache entry before the current entry I am looking for. However, the bracketed filename suffix '[n]' may be the unique key.

I have tried wininet method GetUrlCacheEntryInfo but that requires the URL, not the virtual path handed over by IE.

My hope is that there is a Shell function that given a virtual path will hand back the physical path.

  • 1 1 Answer
  • 0 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. 2026-05-11T13:33:50+00:00Added an answer on May 11, 2026 at 1:33 pm

    Some follow-up to close out this question.

    Turned out the real issue was how I was creating the file handle using TFileStream. I changed to open with fmOpenRead or fmShareDenyWrite which solved what turned out to be a file locking issue.

    srcFile := TFileStream.Create(physicalFilename, fmOpenRead or fmShareDenyWrite);
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 85k
  • Answers 85k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Ctrl-S ? This is not known to me. In Vim/Gvim,… May 11, 2026 at 5:07 pm
  • Editorial Team
    Editorial Team added an answer Have a look at FinalBuilder May 11, 2026 at 5:07 pm
  • Editorial Team
    Editorial Team added an answer The unfortunate problem with VHDL is that there are loads… May 11, 2026 at 5:07 pm

Related Questions

What I'm trying to accomplish My app generates some tabular data I want the
I can't believe I'm the only person to run up against this problem. I've
I am coding a feature in a program where users can edit documents stored
I have a linux box with a bank of modems and need to create

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.