When you deploy Office 2010 over an existing install of Office 2003, one thing that will happen is that user settings in Microsoft Word (auto-text, styles, macros,etc.) will not translate forward. This is because as part of the migration process, the Normal.dot for Office 2003 is renamed to Normal11.dot. The following article details this:
- How to automatically migrate your Normal.dot during an upgrade to Office Word 2007
(http://support.microsoft.com/kb/2000271)
The article outlines a set of steps to manually replace the original Normal.dot. However, it does not provide a means to perform this step during setup/deployment or as a script to be deployed as part of a post-install or login.
The following is a JavaScript sample that performs the steps outlined in the KB article above:
shell = new ActiveXObject('WScript.Shell');
userPath = shell.ExpandEnvironmentStrings('%UserProfile%');
var path = userPath + "\\AppData\\Roaming\\Microsoft\\Templates\\";
var fs = new ActiveXObject("Scripting.FileSystemObject");
var newNormal = fs.GetFile(path + "normal.dotm");
newNormal.Move(path + "new_normal.dotm");
var oldNormal = fs.GetFile(path + "normal11.dot");
oldNormal.Move(path + "normal.dot");