473,385 Members | 1,341 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,385 software developers and data experts.

VB.NET Deployment of multiple EXEs referencing DLLs

Jon
I have 3 VB.net executables that reference the same 3 VB.Net DLLs.
How is the best way to distribute the EXEs without putting 3 copies of
of DLL on a user's machine. I looked into Private assemblies and the
Global Assembly but I am having a hard time figuring them out.
Ideally, I would like to have one install that puts all 3 EXEs and all
3 DLLs on the workstation. Any recommendations would be appreciated.

Jonathan
Jul 21 '05 #1
6 7712
try to look at "copy local" property for all 3 dlls under
project->references node.

Rajesh Patel

"Jon" <jf******@lbmc.com> wrote in message
news:cf*************************@posting.google.co m...
I have 3 VB.net executables that reference the same 3 VB.Net DLLs.
How is the best way to distribute the EXEs without putting 3 copies of
of DLL on a user's machine. I looked into Private assemblies and the
Global Assembly but I am having a hard time figuring them out.
Ideally, I would like to have one install that puts all 3 EXEs and all
3 DLLs on the workstation. Any recommendations would be appreciated.

Jonathan

Jul 21 '05 #2
Is there some reason why you can't have the three exes and a single copy of the
Dll in the same application folder?
--
Phil Wilson [MVP Windows Installer]
----
"Jon" <jf******@lbmc.com> wrote in message
news:cf*************************@posting.google.co m...
I have 3 VB.net executables that reference the same 3 VB.Net DLLs.
How is the best way to distribute the EXEs without putting 3 copies of
of DLL on a user's machine. I looked into Private assemblies and the
Global Assembly but I am having a hard time figuring them out.
Ideally, I would like to have one install that puts all 3 EXEs and all
3 DLLs on the workstation. Any recommendations would be appreciated.

Jonathan

Jul 21 '05 #3
Jon
I am fine with aving everything in 1 Application folder. How would I
create a setup project for that though?

Jonathan
"Phil Wilson" <ph*********@unisys.spamcom> wrote in message news:<OD**************@TK2MSFTNGP10.phx.gbl>...
Is there some reason why you can't have the three exes and a single copy of the
Dll in the same application folder?
--
Phil Wilson [MVP Windows Installer]
----
"Jon" <jf******@lbmc.com> wrote in message
news:cf*************************@posting.google.co m...
I have 3 VB.net executables that reference the same 3 VB.Net DLLs.
How is the best way to distribute the EXEs without putting 3 copies of
of DLL on a user's machine. I looked into Private assemblies and the
Global Assembly but I am having a hard time figuring them out.
Ideally, I would like to have one install that puts all 3 EXEs and all
3 DLLs on the workstation. Any recommendations would be appreciated.

Jonathan

Jul 21 '05 #4
You just add the three exes and the Dll to the Application Folder in a Setup and
Deployment Project (if you're using Visual Studio). Maybe you've not used setup
projects before, but yours seems pretty straightforward unless I'm missing
something.
--
Phil Wilson [MVP Windows Installer]
----
"Jon" <jf******@lbmc.com> wrote in message
news:cf*************************@posting.google.co m...
I am fine with aving everything in 1 Application folder. How would I
create a setup project for that though?

Jonathan
"Phil Wilson" <ph*********@unisys.spamcom> wrote in message

news:<OD**************@TK2MSFTNGP10.phx.gbl>...
Is there some reason why you can't have the three exes and a single copy of the Dll in the same application folder?
--
Phil Wilson [MVP Windows Installer]
----
"Jon" <jf******@lbmc.com> wrote in message
news:cf*************************@posting.google.co m...
I have 3 VB.net executables that reference the same 3 VB.Net DLLs.
How is the best way to distribute the EXEs without putting 3 copies of
of DLL on a user's machine. I looked into Private assemblies and the
Global Assembly but I am having a hard time figuring them out.
Ideally, I would like to have one install that puts all 3 EXEs and all
3 DLLs on the workstation. Any recommendations would be appreciated.

Jonathan

Jul 21 '05 #5
I thought the setup project was based off a single app.
I ran the Wizard and it asked me what type of app. I
tell it Windows app and it pulls all the info from my App
that is open. Should I create a new project outside my
Windows app Solution? Is there a document of how to do
this or am I making it more complicated than I should?
Also, I need to include the files for Crystal Repotrs
also. I found the document on Crystal's web site, so I
know what needs to be done. I just want to make sure
this will not mess me up?

Jonathan

-----Original Message-----
You just add the three exes and the Dll to the Application Folder in a Setup andDeployment Project (if you're using Visual Studio). Maybe you've not used setupprojects before, but yours seems pretty straightforward unless I'm missingsomething.
--
Phil Wilson [MVP Windows Installer]
----
"Jon" <jf******@lbmc.com> wrote in message
news:cf*************************@posting.google.c om...
I am fine with aving everything in 1 Application folder. How would I
create a setup project for that though?

Jonathan
"Phil Wilson" <ph*********@unisys.spamcom> wrote in
messagenews:<OD**************@TK2MSFTNGP10.phx.gbl>... > Is there some reason why you can't have the three exes and a single copy of
the
> Dll in the same application folder?
> --
> Phil Wilson [MVP Windows Installer]
> ----
> "Jon" <jf******@lbmc.com> wrote in message
>

news:cf*************************@posting.google.co m... > > I have 3 VB.net executables that reference the same 3 VB.Net DLLs. > > How is the best way to distribute the EXEs without putting 3 copies of > > of DLL on a user's machine. I looked into Private assemblies and the > > Global Assembly but I am having a hard time figuring them out. > > Ideally, I would like to have one install that puts all 3 EXEs and all > > 3 DLLs on the workstation. Any recommendations would be appreciated. > >
> > Jonathan

.

Jul 21 '05 #6
"Jonathan" <jf******@lbmc.com> wrote in news:2ab1601c39275$7d0515a0
$a*******@phx.gbl:
I thought the setup project was based off a single app.
I ran the Wizard and it asked me what type of app. I
tell it Windows app and it pulls all the info from my App
that is open. Should I create a new project outside my
Windows app Solution? Is there a document of how to do
this or am I making it more complicated than I should?
Also, I need to include the files for Crystal Repotrs
also. I found the document on Crystal's web site, so I
know what needs to be done. I just want to make sure
this will not mess me up?

Jonathan


Once the wizard has created your initial setup project with for one EXE you
can add the other EXE's to the output. The following assumes all the exe
projects are part of the same solution.

1) Right-Click on the setup project in the solution explorer and select
menu item "View->File System"
2) In the resulting window right click on "Application Folder" and select
"Add-> Project Output..." Dialog "Add Project Output Group" will open.
3) select the project from your solution that contains the next exe you
want to include
4) Select "Primary Output" from the list view.
5) click "Ok"

If you want to add an EXE to the output that is not part of the solution
change step (2) to "Add-File..." The setup project will not make sure the
project that generates the "file" is compiled from the latest source code.
Using the add "Project output" the exe will be based on the latest source
code (compiled before setup project is compiled if necassary).

Hope this helps!

Michael Lang, MCSD
Jul 21 '05 #7

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

Similar topics

0
by: Jony Joe | last post by:
Dear All; I am now making a deployment package using the .net deployment setup project. It is a desktop application that its solution contains 7 projects that generate DLLs and EXEs...
0
by: Mark | last post by:
Hi, I have some components which I have purchased and I do have a distribution license. I use the dlls in my application by simply registering them via Visual Studio.NET and therefore they are...
2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
6
by: Jon | last post by:
I have 3 VB.net executables that reference the same 3 VB.Net DLLs. How is the best way to distribute the EXEs without putting 3 copies of of DLL on a user's machine. I looked into Private...
5
by: MJB | last post by:
I have several dlls that have app.config files tied to them. When adding their primary output to a Setup project everything works fine, but only the app.config for the .exe gets added to the Setup...
3
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source...
0
by: cgold | last post by:
i have a vb application that we have upgraded from vb6 to vb.net. we cannot upgrade all modules at the same time so, i upgraded the calling menu program to vb.net 2005 and continue to call vb6 dlls....
0
by: Dave | last post by:
Hello all, Firstly I hate Citrix, especially their programming interface MFCOM. There are multiple versions, that seem to need to match an SDK Version <----Citrix Server Version This is bad...
3
by: softndesk | last post by:
Sagekey is almost there but below is the more advanced solution, although no software is hackers free as they claimed. But for ms access access deployment, I think nothing bet this product as of...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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.