Chris Stauffer at myITForum.com

You want me to do What?

Syndication

News

Links to blogs i like

Links

MMS 2008 DVD in a non office 2007 world

I got my new DVD and copied it to a share so that we could use it like a website to view the material as instructed here as instructed by Shaun Cassells.

 

But I could not open any of the files because they where office 2007 files but instead of being named pptx they are named ppt. So the compatibility pack for office 2007 doesn't recognize that they are Powerpoint 2007 files.

 

So here is what I had to do to get the issue fixed.

First:

 

First you will need to add PPTX to the mime cataloged for IIS6

Here are the directions for that: I found them here

 

  1. Open Computer Management. (Right-click My Computer... Manage...)
  2. Right-click Internet Information Services (IIS) Management... Properties...
  3. Click MIME Types...
  4. Click New... and add the following (see below):
  5. Restart IIS

 

Extension MIME Type
.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
.potx application/vnd.openxmlformats-officedocument.presentationml.template
.ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
.sldx application/vnd.openxmlformats-officedocument.presentationml.slide
.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
.xlam application/vnd.ms-excel.addin.macroEnabled.12
.xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12

These MIME types were added to IIS7 as noted in KB936496.

 

Second

you will need to edit the xcgi.js file located in the root folder of each disk.

1. Do a search for ppt and rename it to pptx. there should be 2 instances.

 

Third

you will need to rename all of the ppt file in the MMS_2008\Disk1\assets\slides folder to pptx.

you can use this script to do that

 

'==========================================================================
' NAME: Renameppt to pptx
'
' AUTHOR: Chris Stauffer
' DATE  : 8/20/2008
'==========================================================================

strComputer = "enhbgsccm01"
Strlocation = "F:\MMS_2008\Disk2\assets\slides"
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colFileList = objWMIService.ExecQuery _
    ("ASSOCIATORS OF {Win32_Directory.Name='"& Strlocation &"'} Where ResultClass = CIM_DataFile")

For Each objFile In colFileList
    strNewName = objFile.Drive & objFile.Path & objFile.FileName & "." & "PPTX"
    errResult = objFile.Rename(strNewName)
    WScript.Echo strNewName
Next

 

 

Enjoy

Chris Stauffer

Published Wednesday, August 20, 2008 9:33 AM by cstauffer

Comments

No Comments