|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB.Net 2003 SetUp ProjectI have added a setup project to my solution to generate the setup files. I
find I can add Textboxes, checkboxes, etc. to this setup solution but how do I use these in the setup project to make decisions such as adding a sample database file or not to the users machine dependent on if he checks the box to add the sample? Would appreciate any help. -- Dennis in Houston 1. Add a predefined checkbox dialog to your install process by using
Custom UI (right click setup project - View - User Interface, right-click Start - Add dialog). User will check if he want's to install the file. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxconcheckboxesuserinterfacedialogbox.asp 2. Set Checkbox1Property to e.g. INSTALL_MY_FILE. 3. Then add your file in File System section as other files but set its Condition property to INSTALL_MY_FILE=1. That's all. The file will be only installed if user checks the option. -- Peter Macej Helixoft - http://www.vbdocman.com VBdocman - Automatic generator of technical documentation for VB, VB ..NET and ASP .NET code Thanks. It was the =1 that I was missing. I suppose <>0 would also work.
-- Show quoteHide quoteDennis in Houston "Peter Macej" wrote: > 1. Add a predefined checkbox dialog to your install process by using > Custom UI (right click setup project - View - User Interface, > right-click Start - Add dialog). User will check if he want's to install > the file. See > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxconcheckboxesuserinterfacedialogbox.asp > > 2. Set Checkbox1Property to e.g. INSTALL_MY_FILE. > > 3. Then add your file in File System section as other files but set its > Condition property to INSTALL_MY_FILE=1. That's all. The file will be > only installed if user checks the option. > > -- > Peter Macej > Helixoft - http://www.vbdocman.com > VBdocman - Automatic generator of technical documentation for VB, VB > ..NET and ASP .NET code >
ListView SortKey
Dynamic variable/object name reference. how to do in VB.NET? Guidance on remoting Problem with DataAdapter Fill method, Ithink Unsigned types and CLS-compliance Image dimensions? How to convert a selectedIndex to SelectedValue for ComboBox Multiple Catches in Try/Catch controls collection ms.public.dotnet.vb.general - an "ex group" |
|||||||||||||||||||||||