安装程序包括另一个安装 [英] Setup include another installation

查看:227
本文介绍了安装程序包括另一个安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我有一个使用sql本地数据库的应用程序.因此,必须将其安装在运行我的应用程序的计算机上.
我已经通过vb.net进行了自己的设置(没有任何设置制作工具)
我想在我的设置中在后台安装sqllocaldb.有什么办法吗?

(这是sqllocaldb的设置: https://www.microsoft.com/betaexperience/pd/SQLEXPLDB/enus / [ ^ ]

Hi.
I have an application which uses sql local database. So, it must be installed on the computer which my application will be running.
I have made my own setup via vb.net (without any setup maker)
I want to install sqllocaldb in background in my setup. Is there any way to do it?

(This is the setup of sqllocaldb: https://www.microsoft.com/betaexperience/pd/SQLEXPLDB/enus/[^]

推荐答案

感谢Maciej Los的帮助,最后我做到了.
这适用于sql:
Thanks for help Maciej Los, finally i did it.
This works for sql:
Shell("msiexec.exe -i C:\Users\user\Desktop\SqlLocalDB.msi /quiet IACCEPTSQLLOCALDBLICENSETERMS=YES", AppWinStyle.Hide, True)



我们可以更改qb而不是quick,以显示正在运行的安装程序的基本ui



We can change qb instead of quiet, to show a basic ui for setup that is working


这里是一个完整的答案:如何在Visual Studio 2008中通过添加一些其他内容来创建安装程序 [
Here is a complete answer: how to create installer in visual studio 2008 with adding some additional things[^]


这篇关于安装程序包括另一个安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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