如何安装VS2010中的MSDN
MSDN Blogs > Microsoft Help 3.0 Team Blog > How to: Repair a Help Viewer (Help 3) Beta
2 Installation
How to: Repair a Help Viewer (Help 3) Beta 2 Installation
Help3Team
21 Oct 2009 2:12 PM
, Comments0
Summary: How to repair the local content store when a previous version of Help 3 was installed.
Issue: If you install the Microsoft Help 3 Beta 2 release and reuse the local content folder that was created by a previous version of Microsoft Help 3, your local content store may be left in a corrupted state. To remove the corrupted local store you can do the following:
, Locate the existing local store folder.
, Delete the content in the existing local store (details below).
, Configure Help Library Manager to rebuild the store.
We strongly advise that you backup your computer before performing this or any
procedure that modifies files on your computer.
By default the local store folder is %PROGRAMDATA%\Microsoft\Help3. For example, on a machine running Vista, the default store is c:\ProgramData\Microsoft\Help3. Use the following steps to locate or confirm the current local store folder.
1 Launch Help Library Manager from the Visual Studio 2010 IDE by clicking the Help>
Manage Help Settings. Help Library Manager will launch. If Help Library Manager
cannot be run due to the current state of the local store, see the note at the end
of this post.
2 In Help Library Manager, click the Settings link located on the top right side of the
application window. The settings window will display:
The location of your local store is show in the lower half of the screen. Make note of this folder. The following steps will remove the existing local store files.
3 Exit Help Library Manager.
4 If the Help Listener tray application is running, right click the icon and click "exit".
The following image shows the icon for the tray application:
5 Using Windows Explorer, navigate to the local store folder.
6 Remove all files and directories except the vs_100_en-us.cab file.
7 From the Start menu, find notepad.exe. Right click notepad.exe and click “Run as
administrator”.
8 From notepad, open the file named HelpLibManager.exe.config. This file is stored
with the Help Viewer binary files. It will be located in \Program Files
(x86)\Microsoft Help\v3.0\ or \Program Files\Microsoft Help\v3.0\, depending
on your machine.
9 Edit the configuration file to set the FirstTimeRun attribute value to “True” :
10 Save and close the file.
11 Launch Help Library Manager. (See step 1). You will be prompted to enter a
location for the local store.
Click OK or select a new location. You can now install content using the “Find
content on disk” or “Find content online” options shown in the main window.
If Help Library Manager cannot be run due to the current state of the local store, you can still recover by performing these actions in a slightly different order:
, Perform steps 7 - 11 described above.
, Note the folder name and click cancel to exit Help Library Manager. This is
the location of your local content store.
, Perform steps 4 -6. (You will skip steps 7-10 because you already did them.)
, Perform step 11 again to confirm the location or select a new location. Click
OK.
You are now ready to install content.
Regards,
The MS Help System Team