473,378 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Help with setup program

Hello I have a "solution" that has 7 VB.Net projects in it. Some of
the VB.Net projects are dll librarys but 3 are applications (so there
are 7-3=4 dlls) I want to install with a setup program/application.

I have created a Setup application as part of my "solution" using the
wizard.

One of the windows in my Setup application has a check box that says
"Install Application 1". Another checkbox says "Install Application
2". The last one says "Install Application 3".

All the applications share the 4 dlls.

The standard functionality installs all 3 applications. I would like
to modify it so that an application is only installed if the checkbox
is ticked. In all cases the 4 dlls should be installed.

I don't know where to begin (I have been using VB.Net for about 3
months). At the moment the autogenerated setup application code
installs all 3 applications and all 4 dlls using default behaviour. I
do not want to setup applications

Help really appreciated.

Thank you

Harry
Sep 21 '08 #1
1 1474
On Sep 21, 8:06*pm, harry_noble1...@live.co.uk wrote:
Hello I have a "solution" that has 7 VB.Net projects in it. Some of
the VB.Net projects are dll librarys but 3 are applications (so there
are 7-3=4 dlls) I want to install with a setup program/application.

I have created a Setup application as part of my "solution" using the
wizard.

One of the windows in my Setup application has a check box that says
"Install Application 1". Another checkbox says "Install Application
2". The last one says "Install Application 3".

All the applications share the 4 dlls.

The standard functionality installs all 3 applications. I would like
to modify it so that an application is only installed if the checkbox
is ticked. In all cases the 4 dlls should be installed.

I don't know where to begin (I have been using VB.Net for about 3
months). At the moment the autogenerated setup application code
installs all 3 applications and all 4 dlls using default behaviour. I
do not want to setup applications

Help really appreciated.

Thank you

Harry

Hello.

Navigate to your setup application, click on the "Primary output from
yourProject", and in the "Condition" property enter 1=1 for the
Projects you want the installer to install, or 1=0 for the Projects
you do not want installed. Rebuild the setup application and execute.
The Projects with "Condition" value 1=1 will be installed, the
Projects with "Condition" value 1=0 will not be. This part of my
answer details how you can use the "Condition" property to selectively
install one or more Projects that make up your VS Solution.

Once you have satisfied yourself you understand this functionality,
substitute 1=1 or 1=0 with one of your checkbox property names. For
example, if you have added the stock installer dialog titled
"Checkboxes (C)" to your setup application, you will have a stock form
containing 4 checkboxes by default (named CHECKBOXC1, CHECKBOXC2,
CHECKBOXC3, and CHECKBOXC4). Substitute the "Condition" property value
"1=0" for the value "CHECKBOXC1" on the primary output for your
Project; during installation if the checkbox is checked, the Project
will be installed, if not, it won't be. This meets your requirements.

Regards
Mike
TESSELLA Mi***********@tessella.com
__/__/__/ Tessella Support Services plc
__/__/__/ 3 Vineyard Chambers, ABINGDON, OX14 3PX, England
__/__/__/ Tel: (44)(0)1235-555511 Fax: (44)(0)1235-553301
www.tessella.com Registered in England No. 1466429

Sep 22 '08 #2

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

Similar topics

0
by: kschnee | last post by:
Hi. I've got a neat artificial intelligence project I want to distribute as an EXE. I'm using Python, Pygame, and Numeric. My problem is: When I use py2exe, I'm told "The following modules appear...
2
by: Jim Hubbard | last post by:
I want to develop an installation watcher to watch over programs as they install themselves to the PC. The FileSystemWatcher will enable me to see all files created or changed within any...
3
by: JimC | last post by:
I have .NET Frame projects that can be downloaded from the Web in setup.exe files. These files are less than a megabyte in size. They are demos for clients. If the user's computer doesn't have...
4
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
0
by: KjartanM-S | last post by:
Hi I've developed an application in VB.NET. I'm now trying to deploy it to another computer which has XP pro and .NET Framework 1.1 installed. I included a Setup & Deployment wizard project to...
2
by: JM | last post by:
Hi, I have created a windows application which uses Microsoft.mshtml.dll for displaying browser window in the application for showing html. When I am creating a setup program, I have to...
1
by: raysmith26 | last post by:
hi i am using inno setup complier to make my setup file. i have two files, one is .exe file and another is .dll file and couple of .jpg files. i want to run the .exe file whenever the user starts...
6
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.