•
|
在開發計算機上安裝 Visual Studio .NET 框架引導程序插件,並使用 Setup 項目使 .NET 框架可執行文件與應用程序一起安裝。
|
•
|
指示用戶手動安裝 .NET 框架可執行文件。
|
•
|
|
•
|
網絡管理員可以使用電子軟件分發工具重新分發 Dotnetfx.exe。有關詳細信息,請參閱白皮書 Redistributing the .NET Framework 中的“Distributing Dotnetfx.exe Using an Electronic Software Distribution Tool”。
|
1.
|
從 Control Panel 中,單擊 Add or Remove Programs。
|
2.
|
在 Add or Remove Programs 對話框中,檢查 Microsoft Visual Studio .NET 2003 Bootstrapper Plug-in 的 Currently installed programs 列表。
|
1.
|
確保 Visual Studio .NET 框架引導程序插件已安裝。
|
2.
|
在 Solution Explorer 中選擇 Setup 項目。在 Project 菜單上,選擇 Properties。
|
3.
|
將 Bootstrapper 屬性設置爲 Windows Installer Bootstrapper。
編譯 Setup 項目時,.NET 框架可重新分發軟件包將與該 Setup.exe 一起打包。
|
1.
|
確保 Visual Studio .NET 框架引導程序插件已安裝。
|
2.
|
在 Solution Explorer 中選擇 Setup 項目。從 View 菜單指向 Editor,並選擇 Launch Conditions。
|
3.
|
選擇 Requirements on Target Machine 節點。從 Action 菜單,選擇 Add Registry Launch Condition。
|
4.
|
選擇 Search for RegistryEntry1 節點。在 Properties 窗口中,選擇 RegKey 屬性,並鍵入 Software/Microsoft/DataAccess。
|
5.
|
選擇 Root 屬性,並選擇 vsdrrHKLM。
|
6.
|
選擇 Value 屬性,並鍵入 FullInstallVer。
|
7.
|
選擇 Property 屬性,並鍵入 MDACSEARCH。
|
8.
|
在 Launch Conditions Editor 中,選擇 Condition1 節點。在 Properties 窗口中,選擇 Condition 屬性,並選擇 MDACSEARCH>="2.6"。
|
9.
|
在 Solution Explorer 中選擇 Setup 項目。在 Project 菜單上,選擇 Properties。
|
10.
|
將 Bootstrapper 屬性設置爲 Windows Installer Bootstrapper。
編譯 Setup 項目時,.NET 框架可重新分發軟件包和 MDAC 將同時與該 Setup.exe 一起打包。
|
•
|
在 Solution Explorer 中,選擇部署項目。
|
•
|
在 View 菜單上,單擊 Editor,然後單擊 Launch Conditions。
|
•
|
在 Launch Conditions Editor 中,選擇 MsiNetAssemblySupport 節點。
|
•
|
在 Properties 窗口中,選擇 Message,並替換爲您的自定義消息文本。
注 默認消息將自動翻譯爲安裝程序的本地化版本。如果自定義文本,則需要由您自己將它翻譯成任何本地化版本。
|
•
|
在 Properties 窗口中,選擇 InstallUrl,並輸入可重新分發文件位置的 HTTP 路徑、網絡路徑或相對路徑。
|
1.
|
在 Solution Explorer 中選擇部署項目。從 View 菜單指向 Editor,並選擇 Launch Conditions。
|
2.
|
選擇 Requirements on Target Machine 節點。從 Action 菜單選擇 Add Registry Launch Condition。
|
3.
|
選擇 Search for RegistryEntry1 節點。在 Properties 窗口中,選擇 RegKey 屬性,並鍵入 Software/Microsoft/DataAccess。
|
4.
|
選擇 Root 屬性,並選擇 vsdrrHKLM。
|
5.
|
選擇 Value 屬性,並鍵入 FullInstallVer。
|
6.
|
選擇 Property 屬性,並鍵入 MDACSEARCH。
|
7.
|
在 Launch Conditions Editor 中,選擇 Condition1 節點。在 Properties 窗口中,選擇 Condition 屬性,並選擇 MDACSEARCH>="2.6"。
|
8.
|
選擇 Message 屬性,並鍵入 MDAC version 2.6 or later must be installed prior to installing this application。可從 Universal Data Access Web site Web 站點下載 MDAC。
注可以根據您的特定情況修改消息文本。例如,可以指向 MDAC 所在的網絡共享。
|
1.
|
在 Solution Explorer 中,選擇部署項目。
|
2.
|
在 Project 菜單上,單擊 Properties。
|
3.
|
在 Property Pages 對話框中,選擇 Bootstrapper屬性,並將它設置爲 None。
|
1.
|
在文本編輯器(例如 Notepad)中打開文件 settings.ini。
|
2.
|
找到 Msi=mySetup.msi 條目,並將默認路徑替換爲您的 .msi 文件的路徑。例如,如果 mySetup.msi 位於本地計算機上 Setup.exe 所在的相同文件夾中,則路徑將是 Msi=mySetup.msi。如果 mySetup.msi 位於網絡共享上名爲 myProjectFolder 的文件夾中,則示例路徑是 Msi=//myNetworkShare/myProjectFolder/mySetup.msi。如果 mySetup.msi 位於名爲 myInstallerFiles 的文件夾中,並與 Setup.exe 在同一張 CD 上,則示例路徑是 Msi=myInstallerFiles/mySetup.msi。
|
3.
|
查找 FxInstallerPath=c: 條目,並將默認路徑替換爲 .NET 框架可重新分發軟件包 Dotnetfx.exe 所在的正確路徑。例如,如果 Dotnetfx.exe 位於本地計算機上名爲 myProjectFolder 的文件夾中,則路徑將是 FxInstallerPath=c:/myProjectFolder/。如果 Dotnetfx.exe 位於網絡共享上名爲 myProjectFolder 的文件夾中,則示例路徑可能是 FxInstallerPath=//myNetworkShare/myProjectFolder/
<script src="http://hi.images.csdn.net/js/blog/tiny_mce/themes/advanced/langs/zh.js" type="text/javascript"></script>
<script src="http://hi.images.csdn.net/js/blog/tiny_mce/plugins/syntaxhl/langs/zh.js" type="text/javascript"></script>
pan style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 140%">。如果 Dotnetfx.exe 位於名爲 myExecutables 的文件夾中,並與 Setup.exe 在同一張 CD 上,則示例路徑是 FxInstallerPath=myExecutables/。
|
4.
|
保存 settings.ini 文件。
Setup.exe 示例引導程序會對安裝在目標計算機上的 .NET 框架和要安裝的應用程序所宿主的 .NET 框架這二者執行內部版本號比較。如果內部版本號不匹配,則 Setup.exe 將安裝應用程序所宿主的 .NET 框架版本。
|
•
|
安裝與 Windows 的語言相同的語言包。例如,在 Windows 98 日語版上安裝日語語言包。
|
•
|
在 Windows 本地化版本上安裝語言包的本地化版本,其中,兩種語言的系統代碼頁是相同的。例如,在 Windows98 德語版上安裝法語語言包。
|
•
|
在任何 Windows 本地化版本上安裝 .NET 框架 1.1 版。如果系統代碼頁和字體不支持所安裝的 .NET 框架語言包的語言,則對話框將無法正確顯示。例如,在 Windows 98 英語版上安裝日語語言包時,設置對話框就無法正確顯示文字。
此限制僅適用於 Windows 98 和 Windows Me 系統。可以在 Windows 2000、Windows NT 4.0、Windows XP 或 Windows Server 2003 系列的任何語言版本上安裝任何 .NET 框架語言包。
|
1.
|
確保已安裝 Visual Studio .NET 框架引導程序插件的正確版本。例如,如果希望安裝德語語言包,必須首先下載德語版本的 Visual Studio .NET 框架引導程序插件,並將它安裝在開發計算機上。
|
2.
|
在 Solution Explorer 中選擇 Setup 項目。在 Project 菜單上,選擇 Properties。
|
3.
|
將 Localization 屬性設置爲希望安裝的語言版本。
|
4.
|
將 Bootstrapper 屬性設置爲 Windows Installer Bootstrapper。
編譯 Setup 項目時,.NET 框架可重新分發軟件包和語言包將與該 Setup.exe 一起打包。
注還必須啓用 .NET 框架的啓動條件;默認情況下,引用 .NET 框架的任何項目都啓用了該條件。要檢查啓動條件,請從 View 菜單指向 Editor,並選擇 Launch Conditions,然後查找名爲 .Net Framework 的啓動條件。
|
1.
|
在文本編輯器(例如 Notepad)中打開 settings.ini 文件。
|
2.
|
找到 'LanguagePack= 條目。將對應於要安裝的語言版本的條目取消註釋。例如,如果想要安裝法語語言包,則將 LanguagePack=1036 'French 行取消註釋。
|
•
|
Microsoft Windows 98
|
•
|
Microsoft Windows 98 Second Edition
|
•
|
Microsoft Windows Millennium Edition (Windows Me)
|
•
|
帶有 Service Pack 6a 的 Microsoft Windows NT 4(Workstation 或 Server)
|
•
|
帶有最新的 Windows Service Pack 和關鍵更新的 Microsoft Windows 2000(Professional、Server 或 Advanced Server),從 Microsoft Security Web 站點下載最新的 Windows Service Pack 和關鍵更新。
|
•
|
Microsoft Windows XP(Home 或 Professional)
|
•
|
Microsoft Windows Server 2003 系列
|
1.
|
|
2.
|
注如果不滿足建議使用的軟件要求,安裝程序不會阻止安裝,也不會警告您這些軟件不存在。
|
1.
|
|
2.
|
Windows 2000、Windows XP (Professional) 和 Windows Server 2003 等服務器上的 Internet Information 服務 (IIS),這是使用 ASP.NET 應用程序所必需的。
|
方案
|
所需 CPU
|
所需 RAM
|
客戶端
|
Pentium 90 MHz*
|
32 MB**
|
服務器
|
Pentium 133 MHz*
|
128 MB**
|
方案
|
建議使用的 CPU
|
建議使用的 RAM
|
客戶端
|
Pentium 90 MHz 或更快
|
96 MB 或更高
|
服務器
|
Pentium 133 MHz 或更快
|
256 MB 或更高
|