Microsoft KB Archive/173666

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:37, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


SMSINST: Office 97 Does Not Show Template Icons

Article ID: 173666

Article Last Modified on 10/27/2006



APPLIES TO

  • Microsoft Systems Management Server 1.0 Standard Edition



This article was previously published under Q173666

SYMPTOMS

When you click New on the File menu in Microsoft Word, Microsoft PowerPoint, or Microsoft Excel, a template dialog box is displayed, which does not show the icons for the templates. However, if you click in the template dialog box you will see the preview for the template.

CAUSE

When you repackage Office 97, Systems Management Server Installer sets an environment variable incorrectly and causes the registry entries to be incorrect. For example, see the value in the following registry key:

   HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\8.0\Common
   \FileNew\LocalTemplates
                
   C:\\Program Files\Microsoft Office\Templates
                

The path is incorrect because of the double backslash.

WORKAROUND

Edit the script and find the block:

   Set variable MAINDIR to
   If System Has Windows 95 Shell Interface Start Block
      Get Registry....
      Get Registry ...
      Set Variable MAINDIR to C:\%MAINDIR%
                

Change the text to:

   Set Variable MAINDIR to C:%MAINDIR%
                

Removing this extra backslash and then recompiling fixes the problem. Note there can be other directories before the MAINDIR variable.

STATUS

Microsoft has confirmed this to be a problem in Systems Management Server Installer version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: prodsms 1.20 smsinst

Keywords: kbbug kbusage KB173666