通过参数离线安装SharePoint 2010[转]

The new SharePoint 2010 prerequisites installer installs all the software required to install SharePoint 2010. The default behaviour of this prerequisites installer is to download the files from Internet. However, you can install the prerequisites from a network share.

Today I was looking to install the prerequisites offline from local path. Installing from a local path, like C:\, is required when you are in a VM.

I copied all the software to a local path in my VM which is C:\SERVER14\PrerequisiteInstallerFiles. Followed theTechNet article and created the PrerequisiteInstaller.Arguments.txt, used the same format for the arguments as specified in the article:

/SQLNCli: "C:\SERVER14\PrerequisiteInstallerFiles\sqlncli.msi"/ChartControl: "C:\SERVER14\PrerequisiteInstallerFiles\MSChart.exe"/W2K8SP2: "C:\SERVER14\PrerequisiteInstallerFiles\Windows6.0-KB948465-X64.exe"/NETFX35SP1: "C:\SERVER14\PrerequisiteInstallerFiles\dotnetfx35setup.exe"/PowerShell: "C:\SERVER14\PrerequisiteInstallerFiles\Windows6.0-KB968930-x64.msu"/KB976394: "C:\SERVER14\PrerequisiteInstallerFiles\Windows6.0-KB976394-x64.msu"/KB976462: "C:\SERVER14\PrerequisiteInstallerFiles\Windows6.1-KB976462-v2-x64.msu"/IDFX: "C:\SERVER14\PrerequisiteInstallerFiles\Windows6.0-KB974405-x64.msu"/Sync: "C:\SERVER14\PrerequisiteInstallerFiles\Synchronization.msi"/FilterPack: "C:\SERVER14\PrerequisiteInstallerFiles\FilterPackx64.exe"/ADOMD: "C:\SERVER14\PrerequisiteInstallerFiles\SQLSERVER2008_ASADOMD10.msi"/ReportingServices: "C:\SERVER14\PrerequisiteInstallerFiles\rsSharePoint.msi"/Speech: "C:\SERVER14\PrerequisiteInstallerFiles\SpeechPlatformRuntime.msi"/SpeechLPK: "C:\SERVER14\PrerequisiteInstallerFiles\MSSpeech_SR_en-US_TELE.msi"



As you can see, I have replaced the network share with my local path C:\SERVER14\PrerequisiteInstallerFiles

Unfortunately, this didn't work for me. After several attempts of reviewing the log file, the following worked:

 1 /SQLNCli:"c:\SERVER14\PrerequisiteInstallerFiles\sqlncli.msi" 
2 /ChartControl:"c:\SERVER14\PrerequisiteInstallerFiles\MSChart.exe"
3 /NETFX35SP1:"c:\SERVER14\PrerequisiteInstallerFiles\dotnetfx35setup.exe" /KB976462:"c:\SERVER14\PrerequisiteInstallerFiles\Windows6.1-KB976462-v2-x64.msu"
4 /IDFXR2:"c:\SERVER14\PrerequisiteInstallerFiles\Windows6.1-KB974405-x64.msu"
5 /Sync:"C:\SERVER14\PrerequisiteInstallerFiles\Synchronization.msi"
6 /FilterPack:"C:\SERVER14\PrerequisiteInstallerFiles\FilterPack64bit.exe"
7 /ADOMD:"C:\SERVER14\PrerequisiteInstallerFiles\SQLSERVER2008_ASADOMD10.msi"
8 /ReportingServices:"C:\SERVER14\PrerequisiteInstallerFiles\rsSharePoint.msi"
9 /Speech:"C:\SERVER14\PrerequisiteInstallerFiles\SpeechPlatformRuntime.msi"
10 /SpeechLPK:"C:\SERVER14\PrerequisiteInstallerFiles\MSSpeech_SR_en-US_TELE.msi"



So, what are the differences? - There is no space where highlighted Yellow and a space where highlighted Orange. 

/SQLNCli: "\\o14-sf-admin\SP_prereqs\sqlncli.msi"/ChartControl: "\\o14-sf-admin\SP_prereqs\MSChart.exe"/W2K8SP2: "\\o14-sf-admin\SP_prereqs\Windows6.0-KB948465-X64.exe"/NETFX35SP1: "\\o14-sf-admin\SP_prereqs\dotnetfx35setup.exe"/PowerShell: "\\o14-sf-admin\SP_prereqs\Windows6.0-KB968930-x64.msu"/KB976394: "\\o14-sf-admin\SP_prereqs\Windows6.0-KB976394-x64.msu"/KB976462: "\\o14-sf-admin\SP_prereqs\Windows6.1-KB976462-v2-x64.msu"/IDFX: "\\o14-sf-admin\SP_prereqs\Windows6.0-KB974405-x64.msu"/Sync: "\\o14-sf-admin\SP_prereqs\Synchronization.msi"/FilterPack: "\\o14-sf-admin\SP_prereqs\FilterPackx64.exe"/ADOMD: "\\o14-sf-admin\SP_prereqs\SQLSERVER2008_ASADOMD10.msi"/ReportingServices: "\\o14-sf-admin\SP_prereqs\rsSharePoint.msi"/Speech: "\\o14-sf-admin\SP_prereqs\SpeechPlatformRuntime.msi"/SpeechLPK: \\o14-sf-admin\SP_prereqs\MSSpeech_SR_en-US_TELE.msi



One other thing to note is the IDFX parameter, for installing Windows Identity Foundation, should be IDFXR2 if you are installing the prerequisites in Windows Sever 2008 R2 or Windows Server 2008 R2 SP1 - So make sure your arguments file is relevant to the OS you have.

转载于:https://www.cnblogs.com/redroot/archive/2011/11/09/2243472.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值