serving .exe files in IIS 6.0

From: bigdog (msurel@comshare.com)
Date: 01/13/03


From: msurel@comshare.com (bigdog)
Date: 13 Jan 2003 12:54:16 -0800

I am having problems setting up a page to allow the download or run of
an EXE to do an installation routine with IIS 6.0 on .NET server RC2.
If I zip the file and then put that on the same page, the ZIP file is
fine but the EXE gives me the following error

Internet Explorer cannot download esinst.exe from myserver

Internet Explorer was not able to open this Internet site. The
requested site is either unavailable or cannot be found. Please try
again later.

I tried adding .exe as a MIME type for the directory the file resides
in, and that doesn't change the behavior. The log file gives me a 404
error that looks like the following

2003-01-13 20:26:46 W3SVC1 MYSERVER 130.211.4.184 GET
/myserver/esinst.exe - 80 user1 130.211.4.184 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.0.3705;+.NET+CLR+1.1.4322)
- - myserver 404 2 1260 1830 264

In looking at other related messages in this group and others, I
haven't found anything that should show this error. In fact, one of
the messages says that a user was having problems with MSI files, they
changed the extension to EXE, and everything was then downloadable.

I had a similar problem with a file that had a .DAT extension and
setting the MIME type in the directory cleared up that problem. If
anybody can give me any clue as to what the problem is, I would
appreciate it.

Thanks.



Relevant Pages

  • Re: Releasing my VB.NET app over the intranet
    ... of the primary EXE and when compiled I am copying the contents ... the directory and open a browser on the web server and type ... > another dll, we need to put the dll in the same directory, so that the clr ... > The executable will be downloaded to the assembly download cache on the ...
    (microsoft.public.dotnet.framework)
  • Re: self-autoupdate vb exe
    ... I have two exe files...the main executable and another file I call ... TpaPhx.exe and it operates only with a valid command line. ... same folder on my server as the updated file to download. ... the update as MyApp.exe and the phx script into the same directory. ...
    (microsoft.public.vb.winapi)
  • Re: serving .exe files in IIS 6.0
    ... there is a 404 with suberror 3 that indicates that IIS tried to download the ... then adding .exe as a MIME type would have corrected it. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Cantt download "exe" file because of IIS version
    ... .EXE are automatically downloadable by any browser. ... IE does have some code to detect download type, extension, and content-type, ... exe to download in IIS6? ...
    (microsoft.public.inetserver.iis)
  • Re: Cantt download "exe" file because of IIS version
    ... I removed the MIME type for EXE. ... Went back to IIS Manager and started at the top of the Web Site Hierarchy ... > IE does have some code to detect download type, extension, and content-type, ...
    (microsoft.public.inetserver.iis)