?
Solved

VB.Net winforms deployment

Posted on 2007-11-28
5
Medium Priority
?
960 Views
Last Modified: 2013-12-12
Dear Sir/ Madam,
I am trying to deploy a VB.Net 2003 winforms application.

Can I just send the exe file from the projects bin directory to the users to be able to use the application, or should I create a set up & deployment package for the same?

Please advise.

Thanks.
0
Comment
Question by:vdesai_8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 15

Accepted Solution

by:
Solar_Flare earned 1400 total points
ID: 20369548
you can just send the .exe file and any required dll files from the build directory, but if you want to place shortcuts on the user's dekstop or start menu then use an installer.
0
 
LVL 55

Assisted Solution

by:Jaime Olivares
Jaime Olivares earned 600 total points
ID: 20369641
if you compile all in a single project, then you could deploy the single .exe file. But consider the target machine should have the .net framework preinstalled.
As it is VS 2003 (.net 1.x) I assume it is intalled in every XP SP2/Vista machine.
0
 

Author Comment

by:vdesai_8
ID: 20369810
I placed the .exe file on the "Test Server" & placed shortcuts to it on the Users desktop but it gives an error message like this:

"Request for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version =1.0.5000.0, culture=neutral, PublicKeyToken=b77a5c561934e089 failed."

Please advise how can this be corrected. I will try creating an installer like Solar_Flare suggested.

will keep you updated, meanwhile please let me know if you have any suggestions.

Thanks.
0
 
LVL 4

Expert Comment

by:JunnickYso
ID: 20371551
I placed the .exe file on the "Test Server" & placed shortcuts to it on the Users desktop but it gives an error message like this:

"Request for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version =1.0.5000.0, culture=neutral, PublicKeyToken=b77a5c561934e089 failed."


Maybe the target machine required any associated DLL of your exe(Project) to be resgistered in the registry. i should suggest that you should make a deployment package and customize easily your required installer.
heres how:

http://www.c-sharpcorner.com/Code/2003/April/SetupProjects.asp

this section describe the key areas in creating a deployment projects:
0
 

Author Closing Comment

by:vdesai_8
ID: 31411545
Thanks!
0

Featured Post

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question