Solved

VB.Net winforms deployment

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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
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…

628 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