2013-03-04 107 views
5

我有Visual Studio 2012旗舰版,我从MSDN下载了Visual Studio 2012 ISO。 当试图安装文档:在Visual Studio 2012中更新帮助文件时权限不足

我打开Visual Studio作为管理员

Visual Studio Open As Admin

按照以下说明按照安装的自述文件

On the menu bar for Visual Studio 2012, choose Help, Add and Remove Help Content.

Help Viewer 2.0 starts, showing the Manage Content tab. On the Manage Content tab, choose the Disk option button, choose the Browse (…) button, and then navigate to the DVD drive.

Choose the helpcontentsetup.msha file, and then choose the Open button.

Under Available Documentation, the list of available content sets from the DVD appears.

Choose the Add link next to the content set that you want to install onto your local computer. The items that you specify appear in the Pending Changes column. You can remove an item from the Pending Changes column by choosing the “X” next to the item. Choose the Update button.

Update Ready

而且点击更新。

当我点击更新,它的进展约3-4秒,然后失败,出现错误:

The following errors occurred while performing the requested tasks:

An error occurred while updating content. You have insufficient privileges to complete this task.

insufficient privileges

我怎样才能解决这个问题?

更新

我在管理员模式下运行帮助查看器。

enter image description here

回答

-1

提取ISO文件的内容到C:\用户\ [您的用户名] \应用程序数据\本地\微软\ HelpViewer2.0 \ VisualStudio11_en美

+0

您可以请添加一个解释,为什么这个作品和VS/Windows处理用户权限的方式资源? – 2013-05-30 12:57:11

+0

这不起作用。每次启动HelpViewer时,它都会删除从ISO提取到此位置的所有文件。 – rism 2013-08-03 02:06:07

+0

无效,正如@rism所说,每次启动HelpViewer时都会删除内容。 – Lester 2013-08-12 15:44:48

0

更改您的计算机日期和再试一次。在我的案例中使用“oct/01/2012”。

1

试试这个。它解决了我的问题。

  1. 更改vs2012doc.iso的安全权限以完全控制您的帐户。
  2. 安装它
  3. 安装文档一个接一个。记得一个一个。

可能会帮助它...

0

这是使用Visual Studio 2013,但很可能是类似的Visual Studio 2012和2015年可能是我还没有尝试过,所以你告诉我的帮助。

我在VS2013的帮助下直接获得了ISO的ISO。现在我不记得地址了,所以我没把它放在这里。与谷歌寻找很容易。

当我以本地安装方式使用Microsoft Help Viewer 2.1时,出现以下错误:权限不足并且没有安装书籍。

我将描述的是,您可以更容易地做到这一点。但是我无法验证它,然后描述了我遵循的步骤。

我做的第一件事是ISO的全部内容我的情况下复制到文件夹在我的硬盘安慰我是C:\T

通过命令提示符导航到它是从ISO复制的文件夹内容和C:\T\Packages运行以下内容winrar t * .cab

这会导致测试winrar使所有cab文件和抗议,无论他们中的任何一个损坏。

这是得分那些不得不再次走下来的文件,在我的情况只与问题

.cab文件

v2Visual_Studio_2011_NET_Framework_4_B1545_VS_100_en-us_13(b0ba5cce-2b72-f582-80f3-8a6165ef6b9b).CAB

以下是在这个方向直接从Microsoft下载, http://packages.mtps.microsoft.com/v2Visual_Studio_2011_NET_Framework_4_B1545_VS_100_en-us_13(b0ba5cce-2b72-f582-80f3-8a6165ef6b9b).cab

其它所有包,我认为是有太多。

接下来的事情是用新的和最后一步替换损坏的文件是进入Visual Studio帮助文件所在的文件夹,在我的情况下,我总是用这个文件夹放在一个舒适的地方我。

D:\VS_2012_2013_HLP\VisualStudio12 

此文件夹中还有另外两个\Incoming\Cab,我们必须确保驾驶室文件夹完全是空的。

最后一件事是进入Microsoft Help Viewer 2.1并说新的发电厂是我们复制ISO内容(D:\T\helpcontentsetup.msha)的地方。其余的只是安装书籍..