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.

  • 相关阅读:
    DataInputStream与DataOutputStream类
    BluetoothChat例程分析
    Android中的Handler机制
    我的IT之路2012(二)
    菜鸟学Java(二)——Filter解决中文乱码问题
    菜鸟学Java(一)——Ajax异步检查用户名是否存在
    FTP文件操作之创建目录
    FTP文件操作之获取文件列表
    使用powershell计算性能计数器的均值
    收缩临时库 shrink tempdb
  • 原文地址:https://www.cnblogs.com/redroot/p/2243472.html
Copyright © 2011-2022 走看看