zoukankan      html  css  js  c++  java
  • 通过参数离线安装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.

  • 相关阅读:
    [Javascript]史上最短的IE浏览器判断代码
    初学者必看:精心整理的Javascript操作JSON总结
    用实例一步步教你写Jquery插件
    学习一种新编程语言要做的14个练习
    一些实战中总结的 javascript 开发经验
    JavaScript开发规范
    jQuery性能优化
    不到30行JS代码实现的Excel表格
    javascript 执行顺序详解
    Java基础知识强化之IO流笔记58:内存操作流
  • 原文地址:https://www.cnblogs.com/redroot/p/2243472.html
Copyright © 2011-2022 走看看