Creating an Installer to your Project Application.

Steps:
1.     On MS Visual Studio->Create->Project->Other Project Types->Setup and Deployment
2.     On the name field->type the name of your system (i.e. QuickSave Sales System)
3.     On the Solution Explorer->right click your project->click Add->select File
4.     Browse the executable file of your system. It is found on the->Bin Folder->Debug Folder of your project. (ie MarioSoft.Sales\bin\debug\MarioSoft.Sales.exe)
5.     On the Solution Explorer->right click your project again->click Add->Merge Module
6.     Select these modules (Microsoft_VC90_CRT_x86.msm, Microsoft_VC90_DebugCRT_x86.msm, Microsoft_VC90_DebugMFC_x86.msm, Microsoft_VC90_MFC_x86.msm)
7.     On the Solution Explorer->right click your project again->click Add->select File- to add shortcut icon of your application.( image should in .ico format )
8.     On the File System Window->Click Application Folder->right click the .exe file and choose create shortcut.
9.     Rename the shortcut to clearly represent your application (i.e. QuickSave)
10.   On the properties window of the selected shortcut-> click icon property->browse the icon you added.
11.   Right click the shortcut again->choose cut->paste it to the User’s Desktop Folder.
12.   Select User’s Programs Menu Folder->create folder inside (ie MarioSoft Solutions)
13.   Repeat steps 8 to 10.
14.    Right click the shortcut again->choose cut-> paste it the sub folder you created under User’s Programs Menu Folder (i.e MarioSoft Solutions)
15.   Your Setup and Deployment Project would somehow look like this:

16.   On the menu->select Build->click Build….(wait as indicated on the status bar of the project.)
17.   Once finished building, you can view your installer on the debug folder of your setup and deployment project file.
18.   Feel free to try installing your setup file on your computer.
19.   Once installation is done, copy and paste your database as indicated by your path on your program. EnjoyJ




No comments:

Post a Comment