Solved

VB.Net winforms deployment

Posted on 2007-11-28
5
957 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 350 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 150 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
Viewers will learn how to use the Hootsuite Dashboard.

756 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