Bagikan melalui


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 2010 and the 2007 Microsoft Office system. For more information, see Features Available by Office Application and Project Type.

Adding a MIME Type to IIS 6.0

Adding the .vsto MIME type to IIS 6.0

  1. On the server that is running IIS 6.0, click Start, point to All Programs and Administrative Tools, and then click Internet Information Services (IIS) Manager.

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

  3. Click MIME Types.

  4. In the MIME Types window, click 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 wait for the worker process to recycle for the changes to take effect. Flush the browser's disk cache, and try opening the .vsto file again.

Adding a MIME Type to IIS 7.0

Adding the .vsto MIME type to IIS 7.0

  1. On the server that is running IIS 7.0, click Start, point to All Programs, and then click Accessories.

  2. Right-click Command Prompt, and then click Run as administrator.

  3. In the Open box, type the following path and then click OK.

    %windir%\system32\inetsrv 
    
  4. Type 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 wait for the worker process to recycle for the changes to take effect. Flush the browser's disk cache, and try opening 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

IIS 7.0 Beta: Edit a MIME Type

Deploying Office Solutions