Auto-Install and Auto-Assemble Files Being Saved as ZIP Files

From HotDocs Wiki

Jump to: navigation, search

Problem

When downloading HotDocs auto-install (.HDI) or auto-assemble files (.HDA) from a server, files are saved to disk in ZIP format. Additionally, attempting to open or run the file results in HotDocs prompting the user for a ZIP file password.

Solution

The first possible (and less likely) problem is that HDI file associations are not set up properly on the workstation. To test whether this is true, create an HDI file, close HotDocs, and then double-click the .HDI file in Windows Explorer. If HotDocs starts and then launches the installation, HDI files are properly associated.

Following are two solutions that should correct the problem:

  • Solution 1: See HotDocs Won't Run Auto-Install or Auto-Assemble Files.
  • Solution 2: Repair your installation of HotDocs. To Do this, go to Start > Settings > Control Panel > Add or Remove Programs. Select your version of HotDocs in the list of programs and click Change/Removed. When prompted to either repair or uninstall HotDocs, choose Repair and complete the installation.

The second possible (and more likely) problem occurs because Windows XP examines files being downloaded. If they appear to be in the ZIP format (which both HDI and HDA files are), then regardless of the download extension, Windows concludes they are ZIP files and applies a .ZIP file name extension. Even though you have a proper file association set up on your computer, Windows XP makes the change.

To set the correct MIME types on the server

  1. Bring up IIS management tool (i.e. Start > Programs > Administrative Tools > Internet Services Manager).
  2. Choose the web site whom MIME types you need to change.
  3. Right-click and choose Properties from the shortcut menu.
  4. Click the HTTP Headers tab.
  5. Click the File Type button.
  6. Click the New Type button. (You will do this for both HDIs and HDAs.)
  7. Enter the following information for each file type: