SharePoint2013修复报错

     今天项目组的Sharepoint2013不小心被卸载了,本想着直接修复,谁知道在修复的时候一直报错,说找不到什么文件。报的就是类似于这样的错误:

Product: ######### -- Error 1706. An installation package for the product ######### cannot be found. Try the installation again using a valid copy of the installation package '#########.msi'.

      截了一个图,如下:

image

      在网上一看,才知道原来是因为以前是通过光驱来安装的,系统当时把镜像文件解压到一个临时的文件夹中去了,现在找不到这个文件夹。在网上找到一种解决办法,说是找到这个临时文件夹目录,把安装文件拷贝到这个目录下,描述如下:

That could be an indication that you have installed SharePoint previously from a network location or a CDdrive, then the installer unpacked the setup files in a temp folder that no longer exists.

In order to correct that situation go to the setup folder and find one of the MSIs that it complains about. For example search for 'mewa.msi' then right click on it and choose repair, that is going to prompt you with original location of that MSI which it was installed from before. Copy that location somewhere and cancel the repair. That’s the location where you need to copy your setup bits to. Once you do this everything will work fine.

但是我采用这样的方法只找到了一个文件夹的名字,没有找到整个路径,所以不知道在哪里建立这个目录。也就不能通过这个方法解决,最后只要重新通过光驱安装一下就行了。刚好我们的环境是在虚拟机里面,所以直接把镜像文件加载到CDROM就行。加载好后直接安装,果然没有问题。一切OK。

这篇文章是我找到的一篇参考文章:http://blogs.msdn.com/b/how24/archive/2013/05/09/unable-to-reinstall-sharepoint-in-dev-error-1706.aspx

原文地址:https://www.cnblogs.com/xiaoxiangfeizi/p/3244256.html