从 VS 安装项目安装 SQL Server Express 2005 - 命名实例

发布于 2024-10-07 06:50:08 字数 138 浏览 0 评论 0原文

我正在从 Visual Studio 2008 安装项目安装 SQL Server Express 2005。

这工作正常并安装实例“SQLExpress”。

有谁知道是否可以通过某种命令行来安装或更改属性以赋予其不同的实例名称?

I'm installing SQL Server Express 2005 from my Visual Studio 2008 setup project.

This works fine and installs the instance "SQLExpress".

Does anyone know if you can pass it some kind of command line to install or change a property to give it a different instance name?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

完美的未来在梦里 2024-10-14 06:50:08

如果您从安装程序调用 SQL Server 的 setup.exe,我相信您可以将实例名称作为参数传递,如下所示:setup.exe INSTANCENAME=YourInstance

请参阅此处了解更多信息:http://technet.microsoft.com/en-us/library/ ms144259(SQL.90).aspx

If you are calling out to SQL Server's setup.exe from your installer I believe you can pass the instance name as an argument, like this: setup.exe INSTANCENAME=YourInstance

See here for more info: http://technet.microsoft.com/en-us/library/ms144259(SQL.90).aspx

溺孤伤于心 2024-10-14 06:50:08

请参阅这篇文章,了解如何编辑在安装过程中安装 SQL 的引导程序。确实有一个 INSTANCENAME 属性(您还可以传递 DEFAULTDATABASE 和各种有用的命令行参数)。

http:// /www.windowsdevelop.com/clickonce-setup--deployment-projects/generic-bootstrapper--sql-express-named-instance-18693.shtml

See this article on how to edit the bootstrapper that installs SQL as part of the setup. There is indeed an INSTANCENAME attribute (and you can also pass DEFAULTDATABASE and all sorts of useful command line parameters).

http://www.windowsdevelop.com/clickonce-setup--deployment-projects/generic-bootstrapper--sql-express-named-instance-18693.shtml

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文