2008-08-15 93 views

回答

3

這裏是一個MSDN forum post其中MSFTie表明它可能並且細節即將出現。另一張海報傳達了她幾乎成功的嘗試結果。看起來這很快就會實現。

相關:how to slipstream Team Foundation Server 2008 SP1 (TFS 2008 SP1)

+0

這是一個錯誤的解決方案,我花了很多時間想知道爲什麼Visual Studio安裝不好(你會發現一段時間!)。傷心,但沒有解決辦法。如果有人不信任我,它應該只是運行一個文件比較檢查(也不要忘記檢查註冊表) – sorin 2009-09-22 20:34:51

3

下面是整合安裝的Visual Studio 2008的Service Pack 1

  1. 考慮你有Visual Studio 2008的ISO文件或DVD安裝G的步驟:驅動器。如果你的驅動器號不同,那麼別擔心。我會回到步驟4.

  2. 你有足夠的空間在硬盤分區說D說:約8GB。

  3. 提取的Visual Studio 2008的Service Pack 1到d:\ VS \ SP1文件夾

  4. 複製下面的命令,一個批處理文件,命名爲 「integrate.bat」,並將其放置在「d:\ VS \「文件夾。如果您的DVD驅動器號不同,那麼適當修改批處理文件中的G:與相應的驅動器號。

    ::Extract the original visual studio 2008 installation to directory VS2k8WithSP1. 
    msiexec.exe /a "g:\vs_setup.msi" TARGETDIR="%CD%\VS2k8WithSP1" 
    
    ::Copy some file to make slipstream integration successful. 
    copy "VS2k8WithSP1\Program Files\Microsoft Visual Studio 9.0\Common7\1033\*.chm" "VS2k8WithSP1\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\" 
    
    ::Extract each .msp files to directory VS2k8WithSP1. 
    msiexec.exe /a "%cd%\VS2k8WithSP1\vs_setup.msi" /p "%cd%\SP1\vs90sp1\VS90sp1-KB945140-X86-ENU.msp" 
    msiexec.exe /a "%cd%\VS2k8WithSP1\vs_setup.msi" /p "%cd%\SP1\vs90sp1\VC90sp1-KB947888-x86-enu.msp" 
    msiexec.exe /a "%cd%\VS2k8WithSP1\vs_setup.msi" /p "%cd%\SP1\vs90sp1\VC90sp1-KB948484-x86_x64-enu.msp" 
    msiexec.exe /a "%cd%\VS2k8WithSP1\vs_setup.msi" /p "%cd%\SP1\vs90sp1\VC90sp1-KB948560-x86_IA64-enu.msp" 
    
    
    ::Copy the product key file 
    copy "VS2k8WithSP1\Setup\Setup.sdb" 
    
    ::Copy the setup bootstrapper files 
    copy "VS2k8WithSP1\Program Files\Microsoft Visual Studio 9.0\CSetupMM\*.*" "VS2k8WithSP1\Setup" 
    
    ::Copy VC runtime files 
    md VS2k8WithSP1\wcu\VCRuntimes 
    copy SP1\vs90sp1\vc_*runtime.exe VS2k8WithSP1\wcu\VCRuntimes 
    
    ::copy SQL Server Database Publishing Wizard 
    copy SP1\vs90sp1\SqlPubWizInstaller.exe VS2k8WithSP1\wcu\SqlPub 
    
    ::copy SQL Server 2008 Management Objects and SQL Server System CLR Types configuration. 
    md VS2k8WithSP1\wcu\SMO 
    copy SP1\vs90sp1\SharedManagementObjects.msi VS2k8WithSP1\wcu\SMO 
    copy SP1\vs90sp1\SQLSysClrTypes.msi VS2k8WithSP1\wcu\SMO 
    
    ::copy SQL Server Compact 3.5 SP1 English with the Microsoft SQL Server Compact 3.5 SP1 Design Tools English. 
    copy /Y SP1\vs90sp1\SSCERuntime-enu.msi VS2k8WithSP1\wcu\SSCE 
    copy /Y SP1\vs90sp1\SSCEVSTools-enu.msi VS2k8WithSP1\wcu\SSCE 
    
    ::Extract the dotnetfx35.exe manually to a %tmp% folder. Copy all files and subdirectories from %tmp%\wcu\dotnetframework to vs2k8WithSP1\wcu\dotnetframework and overwrite files 
    ::Sorry I could not able to automate this step as /extract option is disabled in the dotnetfx35.exe file. 
    
  5. 轉到命令提示符並導航到「D:\ VS \」。

  6. 將「D:\ VS」作爲當前目錄執行integrate.bat批處理文件。這將需要大約1小時。所以放鬆,並與其他東西並行工作。

  7. 批處理文件執行完畢後,手動將dotnetfx35.exe解壓到「D:\ VS \ tmp文件夾」。將所有文件和子目錄從「D:VS \ tmp \ wcu \ dotnetframework」複製並覆蓋爲「D:\ VS \ vs2k8WithSP1 \ wcu \ dotnetframework」

  8. 現在,您已成功地將visual studio 2008與服務pack1結合起來。現在D:\ VS \ VS2k8WithSP1文件夾包含visual studio 2008的整合後的副本。現在您可以刪除ISO文件(如果有)以及D:\ VS \ VS2k8WithSP1以外的任何其他文件或文件夾。

0

::複製一些文件,使滑流集成成功。複製 「VS2k8WithSP1 \ Program Files文件\微軟的Visual Studio 9.0 \ Common7 \ 1033 *的.chm」 「VS2k8WithSP1 \ Program Files文件\微軟的Visual Studio 9.0 \ Common7 \ IDE \」

這裏有一個錯誤,應該是:

::複製一些文件,使滑流集成成功。複製「VS2k8WithSP1 \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ 1033 \ *。chm」「VS2k8WithSP1 \ Program Files \ Microsoft Visual Studio 9。0 \ Common7 \ IDE \」

‘\’必須在這種情況下增加一倍,怎麼他們中的一個用作轉義字符‘上述工作貼*’

2

的步驟,有一些小的調整:

::Copy some file to make slipstream integration successful. 
copy "VS2k8WithSP1\Program Files\Microsoft Visual Studio 9.0\Common7\1033*.chm" "VS2k8WithSP1\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\" 

我建議在手動1033文件夾複製多個文件。這裏只有他們兩個人。似乎有一些混亂周圍的批處理文件中使用星號(*)。

我還建議複製手動跟蹤文件:

::Copy the setup bootstrapper files 
copy "VS2k8WithSP1\Program Files\Microsoft Visual Studio 9.0\CSetupMM*.*" "VS2k8WithSP1\Setup" 

和SQL發佈嚮導1.3:

::copy SQL Server Database Publishing Wizard 
copy SP1\vs90sp1\SqlPubWizInstaller.exe VS2k8WithSP1\wcu\SqlPub 

Visual Studio 2008的安裝程序會告訴你在安裝結束該組件安裝失敗。

VS70pgui: [2] DepCheck indicates Microsoft SQL Publishing Wizard 1.3 is not installed. 

然而,在檢查事件查看器以及Visual Studio安裝日誌,這是不是真的。所有跡象表明它已成功安裝。真正使用嚮導的真正考驗,效果很好。

除此之外,本教程效果很好!

非常感謝作者(s)。

相關問題