473,668 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB.Net 2003 SetUp Project

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.

--
Dennis in Houston
Jan 17 '06 #1
2 3394
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/de...edialogbox.asp

2. Set Checkbox1Proper ty 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
Jan 17 '06 #2
Thanks. It was the =1 that I was missing. I suppose <>0 would also work.
--
Dennis 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/de...edialogbox.asp

2. Set Checkbox1Proper ty 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

Jan 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6168
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with itself. Everything you need is available at no costs (except download hassle and installation time). Once your system is set up properly its just a matter of running 'python setup.py build'. No longer waiting for someone else to build binaries and a...
11
3751
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
4
5293
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the correct link, it's outdated. The link should be changed from this http://msdn.microsoft.com/library/default.asp?url=/downloads/list/netdevframework.asp to the new link, which is this:...
0
2093
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003 (.NET 1.1, no service pack) on Windows XPSP1. My main project is a band object (Explorer Bar) in an assembly (.DLL) that needs to be registered on installation and unregisted on uninstallation. In addition, during installation, Setup creates registry subkeys, sets registry values, installs...
4
2092
by: Hawkmoth | last post by:
Hi I hope you can help with what seems to be a simple problem that is driving me nuts! I am developing a C# application using Visual studio 2003 and I need to use Office 2003 automation. In the helpfile it says to install the .Net Programmability support from Office setup or install Office using the complete option. Then select New Project in the Visual Studio 2003 IDE and choose the Microsoft Office System
0
1006
by: Steven | last post by:
Currently, I want to create a setup project which needs the user to input a specify password or validation code before installation. If the input password/validation code is not correct, the project should not continue the installation process. Can I do that in the setup project for vs.net 2003? how? Thanks, Steven
2
1781
by: karthikeyan.rsm | last post by:
Hi i some queries in teh setup and deployment package. Currently i have developed a project and i have created a setup for this project in the same solution. My queries are as follows 1. In this project, the setup should automatically detect if the target machine has .net framework or not and should ask the user if heeds to install the .net framework. 2. This project also needs install a third party component and this
1
13093
by: goose28 | last post by:
Instructions for creating a silent install project in Visual Studio.NET 2003 for "All Users". 1) Create a default setup project for your application using Visual Studio (File/New/Setup and Deployment Projects) 2) Add all your components and fully test your setup project using default setup dialogue especially selecting "All users" option in Application Location dialogue. 3) In Visual Studio 2003, highlight your setup project and right mouse...
3
1587
by: John | last post by:
I created a setup project in VS 2003 to deploy a windows application. I'm able to run that installer in any windows xp m/c, when I try to install the setip in a vista m/c, it goes all the way and hangs at the end. I tried to create a small setup project in vs 2005 and I was able to run the setup in vista machine. So I'm wondering if there are any patch / fix for VS 2003 to run in vista? Thanks for your help.
2
2093
by: =?Utf-8?B?Vi5DaG9ja2FsaW5nYW0u?= | last post by:
IDE : VS .NET 2003, Platform : .NET 2.0, Hi All, I have my project in VS.Net 2003 (VB.Net). The OS is Vista Ultimate. In a form's Button_Click() event i call a dll which calls another dll and returns a DataTable . The purpose of these dll's are 1. to open a excel file and fetch values 2. process fetched values and return a DataTable.
0
8381
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8799
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8586
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7401
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5681
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.