管理员模式部署
Microsoft Visual Studio 2010 提供了以下两种方法来简化部署到现场客户端的操作:
- 管理员安装模式
利用此方法,用户可以通过 Microsoft Systems Management Server (SMS) 或其他软件分发工具进行部署。最初由网络管理员运行安装程序以选择要部署的功能。系统根据管理员的选择创建一个 .ini 文件,然后,通过在无人参与模式下运行安装程序并指向生成的 .ini 文件来进行部署。在无人参与模式下运行时,安装程序将安装指定的选项,而不进行提示。如果发生错误,安装程序将失败并退出且不发出任何提示。
- Active Directory 部署
此方法使网络管理员可以借助 Active Directory 来部署 Visual Studio。网络管理员首先将所需的包解压缩到不同的文件夹中,然后按指定的顺序来部署所需的 Visual Studio 组件。接着,将 .msi 文件添加到为 Visual Studio 部署创建的 Active Directory 组策略中。所有后续组件都应该按照它们的部署顺序添加到该组策略中。启用此组策略后,属于该组策略的所有客户端都将在启动时自动安装这些组件。如果发生错误,安装程序将失败并退出且不发出任何提示。
有关详细说明,请访问 http://go.microsoft.com/fwlink/?LinkID=132183