如何为VS 2008安装项目中用于控制安装的自定义操作编写DLL? [英] How do I write a DLL for a custom action for controlling installation in a VS 2008 setup project?

查看:66
本文介绍了如何为VS 2008安装项目中用于控制安装的自定义操作编写DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为VS 2008安装项目中用于控制安装的自定义操作编写DLL?


我有这些可执行文件集,希望为其开发安装程序.
我希望安装项目将根据用户在安装对话框中的选择来控制可执行文件的安装.用户可以根据需要决定安装一个,多个或所有可执行文件.

我该如何实现?具体来说,我该如何编写将执行此操作的DLL?
我使用哪种参数,如何引用DLL中的可执行文件?

How do I write a DLL for a custom action for controlling installation in a VS 2008 setup project?


I have these set of executables that I wish to develop an installer for.
I wish that the setup project will control the installation of the executables according to users choices in installation dialogue box. Users can decide to install one,more or all of the executables as they wish.

How do I achieve this? Specifically how do I write the DLL that will do this?
What kind of parameter do I use, how do I make reference to the to the executables in my DLL?

推荐答案

为什么要重新发布问题?我已经在您的旧帖子上发布了一些解决方案.

你不麻烦检查给定的链接吗?

无论如何,重新发布链接:

http://www.codeproject.com/Articles/335516/Custom-Action-in-Visual-Studio-setup-projects
Why are you re-posting the questions? I already had posted some solution on your old post.

Didn''t you bother to check the given link?

Anyway, re-posting the link :

http://www.codeproject.com/Articles/335516/Custom-Action-in-Visual-Studio-setup-projects


这篇关于如何为VS 2008安装项目中用于控制安装的自定义操作编写DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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