VB.Net 2003 SetUp Project

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I 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.
 
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/d...tml/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.
 
Back
Top