创建设置c# [英] creating setup c#

查看:314
本文介绍了创建设置c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想以这样的方式进行设置有两个单选按钮在我的设置,将要求完全安装或自定义安装。在完全装箱这包括所有文件夹,但在海关安装1或2文件夹没有安装在计算机.....我已经进行了完全安装设置,但是IAM不能进行自定义安装。所以请帮助我做出要求定制或完全安装的设置。例如Ms office问完整或自定义安装如果我们打勾自定义,那么我们要安装我们想要的而不是完整的软件

I want to make setup in such a way there are two radio button in my setup that will ask full installation or custom install. IN full intallation this include all folders but in customs installlation 1 or 2folder not installed in Computer.....I have made setup of Full Installation but iam not able to make custom installation. so please help me to make setup which ask custom or full installation. for example Ms office ask full or custom installation if we tick custom then we are to install software which we want instead of Full

推荐答案

检查部分7)有用的自定义操作示例:配置数据库连接字符串
在链接
http://weblogs.asp.net/scottgu/archive/2007/06/15/

Check the section 7) Useful Custom Action Example: Configuring Database Connection String in the link http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx

您应该能够创建自定义的用户界面具有两个用于自定义和完全安装的选项按钮。

You should be able to create custom UI with two option buttons for Custom and Full installation.

有您自己的 Installer.cs 文件,您可以根据用户选择获取用户选择和复制所需的文件夹。

Have your own Installer.cs file where you can get the user choice and copy the required folders based on user selection.

这篇关于创建设置c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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