How to: Prepare IIS for Deployment of Office Solutions

Users can install Microsoft Office solutions by opening the deployment manifest from the web. However, a secured installation of Internet Information Services (IIS) will block the .vsto file name extension. The MIME type must be defined in IIS before you deploy Office solutions by using IIS.

Applies to: The information in this topic applies to document-level projects and application-level projects for Microsoft Office 2013 and Microsoft Office 2010. For more information, see Features Available by Office Application and Project Type.

To add the .vsto MIME type to IIS 6.0

  1. On the server that is running IIS 6.0, choose Start, All Programs, Administrative Tools, Internet Information Services (IIS) Manager.

  2. Choose the computer name, the Web Sites folder, or the web site that you are configuring. Choose Action and then choose Properties. Choose the HTTP Headers tab.

  3. Choose MIME Types.

  4. In the MIME Types window, choose New.

  5. In the MIME Type window, enter .vsto as the extension and application/x-ms-vsto as the MIME type.

  6. Apply the new settings.

    Note

    You must restart the World Wide Web Publishing Service, or you must wait for the worker process to recycle for the changes to take effect. You must then flush the browser's disk cache and try to open the .vsto file again.

To add the .vsto MIME type to IIS version 7.0 and above

  1. On the server that is running IIS 7.0, choose Start, All Programs, Accessories.

  2. Open the shortcut menu for Command Prompt, and then choose Run as administrator.

  3. In the Open box, enter the following path and then choose the OK button.

    %windir%\system32\inetsrv 
    
  4. Enter the following command.

    set config /section:staticContent /+[fileExtension='.vsto',mimeType='application/x-ms-vsto']
    
  5. Apply the new settings.

    Note

    You must restart the World Wide Web Publishing Service, or you must wait for the worker process to recycle for the changes to take effect. You must then flush the browser's disk cache and try to open the .vsto file again.

See Also

Concepts

Preparing Computers to Run or Host Office Solutions

Other Resources

IIS 6.0 does not serve unknown MIME types

Edit a MIME Type (IIS 7) Type

Deploying Office Solutions