使用安装程序类获取安装目录 [英] Get setup directory with installer class

查看:106
本文介绍了使用安装程序类获取安装目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想使用.net中的安装程序类来开发我的应用程序.
如何在安装程序类中获取安装目录(包含.msi文件的文件夹).

非常感谢.
祝你有美好的一天.

Hi
I want to develop my application with installer class in .net .
How can I get setup directory (folder that contains .msi file) in installer class.

thanks a lot.
have a good day.

推荐答案

使用安装屏蔽创建安装文件,您可以在其中在首选位置创建安装目录,并且运行各种脚本(例如sql脚本)来设置数据库的主值.

安装屏蔽下载
Use install shield to create setup file where by you can create a setup directory at your preferred location and also run various scripts like sql scripts to setup master values for your database.

Install shield download


这篇关于使用安装程序类获取安装目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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