如何在inno安装脚本中设置sql server安装? [英] how to set sql server installation in inno setup script?

查看:228
本文介绍了如何在inno安装脚本中设置sql server安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个桌面应用程序,我需要为客户端PC安装sql server 2008.

我有尝试使用inno脚本创建安装程序。



我试图在inno安装脚本中附加SQL Server 2008(SQLEXPR_x86_ENU.exe)。

和自动安装在客户端PC内启动。它工作正常,但我有安装问题,我需要自动安装前。自动创建实例,用户名和密码。



我不知道如何工作(参数或标志等)



请帮帮我任何人。



谢谢,

Manish

Hello guys,

I have one desktop application and I need to install sql server 2008 for client PC.
and I have trying create setup with inno script.

I am trying to attach SQL server 2008 (SQLEXPR_x86_ENU.exe) inside inno setup script.
and automatically installation is start inside client PC. It's working fine but I have problem with installation, I need to install automatically ex. Create instance, User name and password automatically.

I don't know how to work it (parameter or flag or etc.)

Please help me any guys.

Thanks,
Manish

推荐答案

请先阅读我对这个问题的评论。



完整样本,你会在这里找到:https://innosetupnet.codeplex.com/ [ ^ ]

http://stackoverflow.com/questions/454431/how-to-install-sql-server-2008-express-with-inno-setup [ ^ ]



注意:我不建议安装MS SQL Serv呃通过InnoSetup原因。其中两个是:

1)用户需要拥有管理员权限,

2)SQL服务器应该安装在服务器机器而不是本地。
Please, read my comment to the question first.

Complete sample, you'll find here: https://innosetupnet.codeplex.com/[^]
http://stackoverflow.com/questions/454431/how-to-install-sql-server-2008-express-with-inno-setup[^]

Note: i do not recommend to install MS SQL Server via InnoSetup for set of reason. Two of them are:
1) user need to have admin privileges,
2) SQL server should be installed on server machine instead of local.


这篇关于如何在inno安装脚本中设置sql server安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆