在安装安装程序(MSIInstaller)之前运行类库文件(.dll) [英] Run class library file(.dll) before installing Setup (MSIInstaller)

查看:82
本文介绍了在安装安装程序(MSIInstaller)之前运行类库文件(.dll)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有人可以建议我,我想在安装安装程序之前运行一些库文件(或),同时安装安装程序(当我单击Setup.exe文件时)....

Hi,

Can anybody suggest me, I want to run some libraries files before installing my Setup (or) while installing Setup(When i click on Setup.exe file)....

推荐答案

您可以使用自定义"操作添加自己的例程:.
设置过程分为四个阶段:
1.安装:在安装开始之前发生.
2.提交:安装成功后发生.
3.回滚:在卸载开始之前发生.
4.卸载:卸载成功后发生.

如果使用的是VS安装项目,请在解决方案资源管理器中右键单击该项目,选择查看",然后单击自定义操作".
You can use Custom actions to add your own routines:.
There are 4 phases of the setup process:
1. Install: Occurs before installation starts.
2. Commit: Occurs after installation succeed.
3. Rollback: Occurs before uninstallation starts.
4. Uninstall: Occurs after uninstallation succeed.

If you are using a VS setup project, right click the project in the Solution Explorer, select View, and click Custom Actions.


这篇关于在安装安装程序(MSIInstaller)之前运行类库文件(.dll)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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