Office 95 Used on Windows NT or Windows 95 with ProfilesLast reviewed: December 5, 1997Article ID: Q159212 |
3.51 4.00
WINDOWS
kbsetup kbusage kbinterop kbhowto
The information in this article applies to:
SUMMARYThe use of the registry for application information (instead of INI files) is new to Microsoft Office in version 7.0. Between user profiles and Registry Security under Windows NT, several issues have been encountered. The scope of this article is to identify and propose a resolution or workaround for each issue.
MORE INFORMATION
Two Categories of IssuesThe problems occur when Office 95 is not installed under the user's login ID. With Windows NT 3.51, there are two primary categories of issues that will affect all such users; with Windows 95 with profiles, there is one. The category shared by both is that of missing registry entries.
Missing Registry EntriesThe applications rely on information stored in Current User and Local Machine registry entries. Currently, Setup configures approximately 158 keys in the Current User section. Microsoft Word and Microsoft Excel migrate some of these keys, but for users who have not run Setup, about 100 keys or so will be missing. Most of the missing keys for Microsoft Word or Microsoft Excel are for more advanced functionality, but, for Microsoft PowerPoint, the loss of functionality is more noticeable. Solution: Setup /y /r Because more than just a few registry keys are involved, modifying the registry directly is not recommended. Therefore, the only solution is to have each user run some form of setup. When Setup is combined with specific command-line switches, the user is inconvenienced only once for about 3 to 5 minutes. The command-line switches used are /y, which specifies a setup without file copying, and /r, which bypasses the maintenance mode dialog box and goes directly into a [Reinstall]. This presents the user with no dialog boxes, but writes all the necessary entries into the Current User section of the registry. Because a maintenance mode [Reinstall] will be performed and will install without copying files, it is essential that a normal installation (including the copying of all necessary files) have been done on the workstation.
Adding Office Setup to a Login ScriptThe least obtrusive way to have all users run Setup is to place it in their login script. In order to prevent multiple executions of Setup, you can use a procedure that uses two BAT files in addition to the login script modification. Add the following to the login script (see your network documentation for information on creating login scripts). This modification does not need to be, but can be, removed later. (The items %homeshare% and %username% are environment variables available to a Windows NT login script.)
REM ******** Office 95 Setup routine ******** IF NOT EXIST %homeshare%\%username%\OFFICE95.BAT COPY \\<ServerA>\<ShareA>\OFFICE95.BAT %homeshare%\%username%\OFFICE95.BAT %homeshare%\%username%\OFFICE95.BAT REM ********This procedure copies the batch file, if it does not exist, and then runs it. The first time Office95.bat runs, it will start Setup with the preferred switches and then replace itself with a harmless, non-action batch file.
OFFICE95.BAT REM ******** Office 95 Setup Batch file ******** \\<Server>\<Share>\<Path to Office 95>\SETUP.EXE /y /r COPY \\<ServerA>\<ShareA>\POSTOFF.BAT %homeshare%\%username%\OFFICE95.BAT REM ********Note that the path <Server>\<Share>\<Path to Office 95> is replaced with the location where you installed the administration copy of Office 95 and that <ServerA>\<ShareA> can be any common share point that contains these two original BAT files.
POSTOFF.BAT REM ******** Post Office 95 Setup Batch file ******** REM Office95 has been installed for this user REM ******** Caveats of Using Re-Install
Inappropriate Permission Requests of Registry EntriesThere are four known scenarios where Office 95 applications try to access information in the Registry, requesting Full Control when Read/Write is all that is needed. This causes the request to fail and the function may seem to not be installed.
|
KBCategory: kbsetup kbusage kbinterop kbhowto
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |