473,407 Members | 2,359 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,407 software developers and data experts.

deploying vb.net exe - where does assembly fit in?

Hello,

So I develop a vb.net exe on my (win2k) workstation. I have to deploy it to
another workstation (actually several - all win2k). Each receiving
workstation will have .Net Framework 1.1 (or higher). I place the vb.net exe
on the workstation. In vb6 I used to have to run setup if there were any
fancy controls on the vb6 exe. So, in order to correctly deploy a vb.net
exe what all is involved besides having .Net Framework on each workstation
and placing the vb.net exe on the workstation? I briefly ran into something
(an article that I barely noticed) saying something about using the assembly
for deployment. Any clarification appreciated.

Thanks,
Rich
Nov 21 '05 #1
5 1882
June 16, 2005

One of the great things about .Net is that you can just copy the assembly
and run it! :-) You should just be able to copy the .exe directly and run it
from there. If there are registry keys, files that it is dependent on, or
other things that are EXTERNAL to the assembly, then those would have to
probably be created, modified, etc in an install program. As for the
assembly itself, you can just copy it! :-)

--
Joseph Bittman
Microsoft Certified Application Developer

Web Site: http://71.35.110.42
Dynamic IP -- Check here for future changes

"Rich" <Ri**@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
Hello,

So I develop a vb.net exe on my (win2k) workstation. I have to deploy it
to
another workstation (actually several - all win2k). Each receiving
workstation will have .Net Framework 1.1 (or higher). I place the vb.net
exe
on the workstation. In vb6 I used to have to run setup if there were any
fancy controls on the vb6 exe. So, in order to correctly deploy a vb.net
exe what all is involved besides having .Net Framework on each workstation
and placing the vb.net exe on the workstation? I briefly ran into
something
(an article that I barely noticed) saying something about using the
assembly
for deployment. Any clarification appreciated.

Thanks,
Rich

Nov 21 '05 #2
thanks for your reply. But now I am confused. What exactly constitutes the
assembly? I guess that is really what I should have asked? like in my
project I have an assemblyInfo.vb file, in the bin I have my .exe file. What
do I copy over to the new workstation? And --- how do I create an
install/setup program in vb.net? In vb6 you had the package utility. How to
do in vb.net?

Thanks

"Joseph Bittman MCAD" wrote:
June 16, 2005

One of the great things about .Net is that you can just copy the assembly
and run it! :-) You should just be able to copy the .exe directly and run it
from there. If there are registry keys, files that it is dependent on, or
other things that are EXTERNAL to the assembly, then those would have to
probably be created, modified, etc in an install program. As for the
assembly itself, you can just copy it! :-)

--
Joseph Bittman
Microsoft Certified Application Developer

Web Site: http://71.35.110.42
Dynamic IP -- Check here for future changes

"Rich" <Ri**@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
Hello,

So I develop a vb.net exe on my (win2k) workstation. I have to deploy it
to
another workstation (actually several - all win2k). Each receiving
workstation will have .Net Framework 1.1 (or higher). I place the vb.net
exe
on the workstation. In vb6 I used to have to run setup if there were any
fancy controls on the vb6 exe. So, in order to correctly deploy a vb.net
exe what all is involved besides having .Net Framework on each workstation
and placing the vb.net exe on the workstation? I briefly ran into
something
(an article that I barely noticed) saying something about using the
assembly
for deployment. Any clarification appreciated.

Thanks,
Rich


Nov 21 '05 #3
June 16, 2005

:-) What is great is the .Net compiles Everything you need directly into
the .exe! This means that you ONLY have to copy the .exe! :-) Excluding
external files such as registry keys or things like that, you don't have to
copy any of the assemblyinfo files or codes files or such. To add an
installer, just right click your solution and click add new project... then
select the setup wizard or setup project. Basically, you will right click
the Application Directory (I think this is the name) folder in the window
that pulls up and add the Project Output (the .exe file). Then just build
this and you will have an installer! :-) Very simple to do..... :-) Ask more
questions if you have any! Hope this helps!

--
Joseph Bittman
Microsoft Certified Application Developer

Web Site: http://71.35.110.42
Dynamic IP -- Check here for future changes

"Rich" <Ri**@discussions.microsoft.com> wrote in message
news:F1**********************************@microsof t.com...
thanks for your reply. But now I am confused. What exactly constitutes
the
assembly? I guess that is really what I should have asked? like in my
project I have an assemblyInfo.vb file, in the bin I have my .exe file.
What
do I copy over to the new workstation? And --- how do I create an
install/setup program in vb.net? In vb6 you had the package utility. How
to
do in vb.net?

Thanks

"Joseph Bittman MCAD" wrote:
June 16, 2005

One of the great things about .Net is that you can just copy the
assembly
and run it! :-) You should just be able to copy the .exe directly and run
it
from there. If there are registry keys, files that it is dependent on, or
other things that are EXTERNAL to the assembly, then those would have to
probably be created, modified, etc in an install program. As for the
assembly itself, you can just copy it! :-)

--
Joseph Bittman
Microsoft Certified Application Developer

Web Site: http://71.35.110.42
Dynamic IP -- Check here for future changes

"Rich" <Ri**@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
> Hello,
>
> So I develop a vb.net exe on my (win2k) workstation. I have to deploy
> it
> to
> another workstation (actually several - all win2k). Each receiving
> workstation will have .Net Framework 1.1 (or higher). I place the
> vb.net
> exe
> on the workstation. In vb6 I used to have to run setup if there were
> any
> fancy controls on the vb6 exe. So, in order to correctly deploy a
> vb.net
> exe what all is involved besides having .Net Framework on each
> workstation
> and placing the vb.net exe on the workstation? I briefly ran into
> something
> (an article that I barely noticed) saying something about using the
> assembly
> for deployment. Any clarification appreciated.
>
> Thanks,
> Rich


Nov 21 '05 #4
"Rich" <Ri**@discussions.microsoft.com> wrote in message
news:F1**********************************@microsof t.com...
thanks for your reply. But now I am confused. What exactly constitutes
the
assembly? I guess that is really what I should have asked? like in my
project I have an assemblyInfo.vb file, in the bin I have my .exe file.
What
do I copy over to the new workstation? And --- how do I create an
install/setup program in vb.net? In vb6 you had the package utility. How
to
do in vb.net?


Just copy the exe from your bin folder. That is the assembly.
An assembly can be an exe or a dll depending on whether you
set the output type to application or class library. (note vb.net
standard cannot make dll's by default, but can be made to)

The assemblyinfo.vb file contains version info for the assembly.
Use this to set the version no. and related info. for your program.
The info in this file is displayed on the desktop when you right-click
your program exe and select properties/version

lookup "assembly manifest" in the help for info on this file and
how version numbering works etc

hth
Steve
Nov 21 '05 #5
Rich,

In VSNet is a deployment part.

This is a walkthrough (that is for me right behind the walkthroughs of
multithreading the most awful walkthrough that I have seen on MSDN. However
it is usable to get an idea.)

http://msdn.microsoft.com/library/de...pplication.asp

Know that with deployment.
To set the project options you have to select a project in the deployment
project and than not use the right click properties, because than you get a
strange properties, however click on the property box from VSNet.

To edit things, the View Tab gets an extra tab when you are in a deployment
project.

I hope this helps,

Cor

Nov 21 '05 #6

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

Similar topics

3
by: Keith | last post by:
I am using the built-in setup installer which comes with VS 2003. I am always having problems running the application on other machines other than my development machines with VS. It seems like...
20
by: | last post by:
Back in the Old days, I compile a C++ executable, copy the dll's used by this executable to the same folder. Go to another computer, copy that folder locally, double click on the exe file and off...
0
by: Tomas Vera | last post by:
Hello All, I've developed a Commerce Server application and am having deployment problems. The issue is not Commerce Server specific, so I'll ask here, since questions get answered here. The...
1
by: Prem | last post by:
Hi All I have a portal application that we have built that contains links to different modules. There is no static binding to these dlls from the application so that we can deploy some modules...
2
by: Kenneth Jonsson | last post by:
I have an COM server in an assembly. When it is deployed on a target computer it needs to be registred with RegAsm. I created a custom action in the deploy project, starting RegAsm with the...
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
1
by: Daniel Knöpfel | last post by:
Hello Im triying to create an installer using ClickOnce and visual studio 2005. This works fine on my computer, but as soon as i start the created installer on another pc I get the following...
1
by: brianedow | last post by:
I do not know why this happen, and it does not happen ALL the time, but it does happen on a fairly regular basis, and when it does, it causes real problems. If anyone can tell me how to prevent...
3
by: Leon_Amirreza | last post by:
Hi, Suppose in a scenario that security is not an issue; if I deploy a copy of the Whole assembly that contains remote objects to clients which of the following would happen? 1- The calls to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...

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.