Solved

VB.Net winforms deployment

Posted on 2007-11-28
5
953 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
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

If your app took Google’s lash recently, here are the 5 most likely reasons.
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…
Viewers will learn how to use the Hootsuite Dashboard.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now