Microsoft Help Viewer可以用作独立的应用程序吗? [英] Microsoft Help Viewer can be used as an independent Application?

查看:143
本文介绍了Microsoft Help Viewer可以用作独立的应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台装有 Windows 8 的计算机,其中安装了 VS2013 而没有 Help Viewer 和一个 VirtualMachine 具有相同的 OS 和相同的 VS ,但安装了 Help Viewer 程序包(Help Viewer v2.1).

I have a machine with Windows 8 where I've installed VS2013 without Help viewer, and a VirtualMachine with the same OS and the same VS but with the Help Viewer package installed (Help Viewer v2.1).

我已经创建了具有独特用途的 VM ,我希望能够使用 Microsoft帮助查看器 (或其他替代软件,如果有)在我的主机 中,而无需在我的 OS 中重新安装 VS2013

I've create that VM with an unique purpose, I would like to be able to use Microsoft Help Viewer (or other alternative software, if exist) in my host OS without resinstalling VS2013 in my OS.

...因此,出于反向工程的基本目的,以便能够在主机 OS 中使用 Microsoft帮助查看器,我只是从 VM 到我的 PC :

...So in a very basic intent of reverse engineering to be able to use Microsoft Help viewer in my host OS I've just copied these folders from the VM to my PC:

C:\Program Files (x86)\Microsoft Help Viewer

还有

C:\ProgramData\Microsoft\HelpLibrary2

并添加了以下键:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.1]
"AppRoot"="C:\\Program Files (x86)\\Microsoft Help Viewer\\v2.1\\"
"DefaultHelpViewerCLSID"="{FE220E43-FE17-47BE-A57E-84D2B9A5635D}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.1\Catalogs]
"ContentStore"="C:\\ProgramData\\Microsoft\\HelpLibrary2\\Catalogs\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.1\Catalogs\VisualStudio12]
"LocationPath"="%ProgramData%\\Microsoft\\HelpLibrary2\\Catalogs\\VisualStudio12\\"
"LastUpdated"="02/26/2014 06:34:55"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.1\Catalogs\VisualStudio12\en-US]
"SeedFilePath"="C:\\Program Files (x86)\\Microsoft Help Viewer\\v2.1\\CatalogInfo\\VS11_en-us.cab"
"catalogName"="Visual Studio Documentation"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.1\Setup]
"AppRoot"="C:\\Program Files (x86)\\Microsoft Help Viewer\\v2.1\\"
"Install"=dword:00000001
"Version"="2.1.21005"

注意值:

"DefaultHelpViewerCLSID"="{FE220E43-FE17-47BE-A57E-84D2B9A5635D}"

我不知道是什么表示CLSID,但是使用搜索模式FE220E43-FE17-47BE-A57E-84D2B9A5635D在VM的注册表中进行的搜索找不到任何内容(但帮助查看器可以在VM上正常工作):

I don't know what reffers that CLSID but a search on the registry of the VM with the search pattern FE220E43-FE17-47BE-A57E-84D2B9A5635D does not find anything (but the help viewer works properlly on the VM):

然后使用与在虚拟机中获得的参数相同的参数(从命令行)启动帮助查看器:

And I launch the Help Viewer (from commandline) with the same arguments as I get in the VM:

HlpViewer.exe /CatalogName VisualStudio12 /Locale en-US /Sku 3000 /LaunchingApp Microsoft,VisualStudio,12.0 /Manage

但是,当我按下帮助查看器中的Update按钮下载软件包时,什么也不做(什么也没有),没有显示任何错误或其他任何东西,所以我可以不要下载文档或知道我遇到了什么错误.

But when I press the Update button in the Help Viewer to download a package, just does nothing (of nothing) any error is shown or something else, just anything, so I can't download documentation or know what error I'm having.

有解决这个奇怪问题的主意吗?也许我需要一个缺少的组件才能在主机 OS 上复制?

Any idea to resolve this strange problem? maybe I need a missing component to copy on my host OS?

Microsoft帮助查看器可以作为独立应用程序下载并安装吗?

Microsoft Help Viewer can be just downloaded and installed as a standalone application?

是否有其他软件可以替代 Microsoft帮助查看器?

Any alternative Software to replace Microsoft Help Viewer?

我尝试使用 H3Viewer ,但似乎它仅适用于VS2010,当我尝试使用库管理器时,程序提示我尚未安装VS2010帮助.

I've tried to use H3Viewer but seems that it's only for VS2010, when I try to use the library manager the program says that I have not VS2010 Help installed.

更新:

我已经通过下载VM上的文档并将其复制到我的OS中解决了该问题,但是无论如何我都想知道解决此问题的方法.

I've solved the issue by downloading the documentation on the VM and copying them into my OS, but anyways I would like to know a solution for this problem.

推荐答案

我最近遇到了同样的问题:我不想安装"Visual Studio 2015"只是为了能够运行随附的帮助查看器(v2.2 )应用程序.

I recently faced the same problem: I didn't want to install "Visual Studio 2015" just to be able to run the accompanying Help Viewer (v2.2) application.

花了一些时间,但是最后我设法按照以下步骤使其运行:

It took a little bit of time, but in the end I managed to get it running by following these steps:

  • 在已安装VS2015的计算机上,我使用SysInternals 句柄4.0 确定HlpViewer.exe可执行文件需要哪些文件
  • 然后我运行了 LessMSIérables1.40 ,并使用了
  • On a computer with VS2015 already installed, I used SysInternals Handle 4.0 to determine which files are required by the HlpViewer.exe executable
  • I then ran Less MSIérables 1.40 and used its l -t File argument to iterate over all MSI packages, which revealed that most of the required files can essentially be found in two packages: help3_vs_net.msi and vs_minshellcore.msi.
  • To install these manually, one needs to pass some additional command line arguments:
    msiexec.exe /i help3_vs_net.msi VS_SETUP=1
    msiexec.exe /i vs_minshellcore.msi MSIFASTINSTALL="7" VSEXTUI="1"

遗憾的是,在某些文件仍然丢失之后……为了简单起见,我从(上述)有效安装中复制了其余文件:

Regrettably, after that some files are still missing ... to keep things simple, I copied the rest of them from the (aforementioned) working installation:

  • C:\ ProgramData \ Microsoft \ HelpLibrary2
    本质上只包含一个 CatalogType.xml 和一些空目录.
  • C:\ Program Files(x86)\ Microsoft帮助查看器\ v2.2 \ CatalogInfo \ VS11_en-us.cab
  • C:\ProgramData\Microsoft\HelpLibrary2
    Essentially only contains a CatalogType.xml and some empty directories.
  • C:\Program Files (x86)\Microsoft Help Viewer\v2.2\CatalogInfo\VS11_en-us.cab

此外,有必要通过导入以下.reg文件为应用程序提供有效的 ContentStore 路径:

Moreover, it's necessary to provide the application with a valid ContentStore path by importing the following .reg file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.2\Catalogs\VisualStudio14]
"LocationPath"="%ProgramData%\\Microsoft\\HelpLibrary2\\Catalogs\\VisualStudio14\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.2\Catalogs\VisualStudio14\en-US]
"SeedFilePath"="C:\\Program Files (x86)\\Microsoft Help Viewer\\v2.2\\CatalogInfo\\VS11_en-us.cab"
"catalogName"="Visual Studio Documentation"

最后,我创建了一个新的应用程序快捷方式,并将其 Target:更改如下:
"C:\Program Files (x86)\Microsoft Help Viewer\v2.2\HlpViewer.exe" /catalogName VisualStudio14 /launchingApp Microsoft,VisualStudio,14

Finally, I created a new Application Shortcut and changed its Target: to read as follows:
"C:\Program Files (x86)\Microsoft Help Viewer\v2.2\HlpViewer.exe" /catalogName VisualStudio14 /launchingApp Microsoft,VisualStudio,14

Etvoilà,带有HlpViewer.exe的程序最终可以正常运行!

Et voilà, with that HlpViewer.exe finally executes without any problems!

这篇关于Microsoft Help Viewer可以用作独立的应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆