Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm using VB 2008

I created an Executable of the program i created by following the instructions..
Right-click on the Project, Selected Properties and After filling the necessary entries, I selected Publish Tab and clicked on Publish Wizard.

After creating an Exe. How will I deploy my new program?

do i need to copy the whole Project's folder to another PC or only the .Exe file?
Posted
Comments
Sergey Alexandrovich Kryukov 18-Jan-12 4:13am    
If you don't know, it means you need to learn the very basics of programming and even of basic computing on the level of the regular user -- you did not get the whole idea of it yet.
--SA

Normally, you need to deploy only what you got in your output directory. Usually, this is not just one executable file (it could be several executable files, EXE and DLL, configuration file, sometimes some other read-only data, etc.). This is the most simple and most welcome way of deployment — for those who understand. :-)

Your project "folder" has source code, which is not what the customers use. You can provide source code of course, but this is alternative to deployment of compiled code. If you provide source code, it usually should be uncompiled — the users what to compile it by themselves.

—SA
 
Share this answer
 
v2
exe and its dependant file (not code file but report file , dlls eTC..)
 
Share this answer
 
Comments
Alan Tuscano 18-Jan-12 3:48am    
After doing that,
then will i just copy the folder to another Computer?
Sergey Alexandrovich Kryukov 18-Jan-12 4:18am    
Yes, if your project is done correctly. You should not create dependencies on hard-coded path names and other stupidities. You should check up that your code work in any directory where you put your output.

Make sure you install all prerequisites on the other computer.
--SA
RDBurmon 18-Jan-12 4:05am    
No , I suspect you should add this all in package . Please googled how to create package for VB.net application, Run that on another computer
Sergey Alexandrovich Kryukov 18-Jan-12 4:19am    
No, OP should not make a package, if the project is done well. It's the best of the project can be kept as simple and reliable as that (copy the output directory in any location and it should work), but there are many cases when many other installation steps are needed. It is not related to packaging in fact. One example: add file type for a new data file type in the system registry.

If a developer can avoid any extra steps, this is the best, but not always possible or acceptable.
--SA
Alan Tuscano 18-Jan-12 4:37am    
This explains.

Tnx SaKryukov

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900