Click here to Skip to main content
15,908,901 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
Hello guys I would like to know how to package a project developed in visual studio 2010 express with access database into exe files, means into executable program, I need your help, I would even like to know which software that can help me to do it properly.

I m failing to deploy or to package my project, I can't see the package deployment, can I get know
any program else I can used to package my project? please help me out

thank you
Posted
Updated 29-Sep-13 23:36pm
v2
Comments
[no name] 27-Sep-13 11:15am    
Wix, InstallShield, InstallAnywhere, actual installer, do some research take your pick, read the documentation. http://en.wikipedia.org/wiki/List_of_installation_software
Sergey Alexandrovich Kryukov 27-Sep-13 14:45pm    
Project?! Why?! Maybe, not the project, but some assembly..?
—SA

Hi David,

You can you in built deployment tool in Visual studio.Follow this steps to create an installer of your project.


1) Click 'File' -> 'Add' -> 'New Project'.
2) Goto 'Other Project Types' and 'Setup and Development'.
3) Choose 'Setup Project'.
4) In the 'Solution Explorer' rightclick on your setup project.
5) Choose 'Properties'.
6) Click 'Prerequisites...' button.
7) Choose your prerequisites (e.g. .NET Framework, Windows Installer).
8) Press 'OK', press 'Apply'.
9) Rightclick on 'Application Folder' in the left File System window.
10) Choose 'Add' -> 'Project Output'
11) When done, rightclick in the Right File System window.
12) Choose 'Add' and whatever you want to add to the application directory during installation like database or any other file.
13) Right click on 'Project output from ....'
14) Select 'Create Shorcut to Primary output from ...'
15) Rightclick on 'Shorcut to Primary output from...'
16) Choose 'Rename'
17) Name it after your application.
18) Select it and drag it to the left to 'User's Program Menu'.
19) (Build solution) Build your setup project.
20) In the setup project directory you'll find the .exe and .msi file to install your application.

You can also set an option to put the prerequisite installers like dot net,crystal report (if required).

Let me know if you have any difficulty.

Thanks & Regards,
Zeeshan.
 
Share this answer
 
Comments
DAVID DUSHIMIMANA 30-Sep-13 3:48am    
Sir, I m lost, I don't see where is the Application Folder. the one i m seeing in publish in publish does not work, please direct me exactly where to find that folder
Ian79 22-Apr-15 12:05pm    
Zeeshan, this is a great quick walk-through for the package and deploying with custom modifications. This is a 5-Star answer and is very helpful. Thanks!
Easiest way is to add an Installation and Deployment project[^] to your solution.
 
Share this answer
 

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