请在Visual Studio设置项目(VS2008)中如何创建对话框? [英] Please, how are dialog boxes created in a visual studio setup project.(VS2008)?

查看:150
本文介绍了请在Visual Studio设置项目(VS2008)中如何创建对话框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问,如何在Visual Studio设置项目(VS2008)中创建对话框?我正在处理此设置项目.我通过自定义操作DLL添加了自定义操作.

确实,我的意图是创建一个安装项目,该项目可以根据用户的选择(例如Microsoft Office)安装一个或多个该可执行文件.我打算使用MsiInstallProduct函数.我已经编写了DLL,但需要o创建一个包含多个复选框的对话框,用户可以使用它们选择一个或多个选项.我需要将对话框连接到自定义操作DLL,但不知道该怎么做.通常,如何使用自定义对话框来控制安装项目中的安装.我做了一个,但是不能用它来影响设置.

Please, how are dialog boxes created in a visual studio setup project.(VS2008)? There is this setup project I am working on. I added custom actions via a custom action DLL.

Really my intention is to create a set up project that can install one or more that one executable depending on the users choice(like Microsoft office). I intend to use MsiInstallProduct function. I have written the DLL but need o make a dialog box consisting of several check boxes with which users can select one or more choices. I need to wire the dialog box to the custom action DLL but do not know how to do it. Generally, how does one use custom dialog boxes to control installation in a setup project. I made one but could not use it to influence setup.

How does one wire up a dialog box selection or event to custom action DLL''s?

推荐答案

这里是一篇文章,介绍了如何执行此操作:

扩展Visual Studio安装项目 [ WIX [
Here is an article that explains how to do this:

Extending Visual Studio Setup Project[^]

As I Googled this topic for you, I learned that Microsoft has dropped the installer in VS. They now recommend that you use Install Shield or WIX[^]


这篇关于请在Visual Studio设置项目(VS2008)中如何创建对话框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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