creating setup c#

只谈情不闲聊 提交于 2019-12-11 18:27:08

问题


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


回答1:


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.

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



来源:https://stackoverflow.com/questions/9849214/creating-setup-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!