0% found this document useful (0 votes)
45 views

Process of Create The New CIGAS Executable File

1. The document discusses how to create an executable (.exe) file from a VB.NET project in Visual Studio 2010 by building the project and finding the executable in the Debug folder. 2. It then explains how to create a setup project to package and deploy the Windows application, including adding the application output and any necessary files like a database. 3. The setup project allows configuring options like adding a desktop shortcut and customizing the shortcut icon.

Uploaded by

kalana heshan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Process of Create The New CIGAS Executable File

1. The document discusses how to create an executable (.exe) file from a VB.NET project in Visual Studio 2010 by building the project and finding the executable in the Debug folder. 2. It then explains how to create a setup project to package and deploy the Windows application, including adding the application output and any necessary files like a database. 3. The setup project allows configuring options like adding a desktop shortcut and customizing the shortcut icon.

Uploaded by

kalana heshan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

1. Process of create the New CIGAS executable file (.

exe file)

Easy way to convert in .exe in VB.NET-2010:

1. Select Build->Start Build


Your Project .exe created Your Project Save Path:

1. Select CIGAS application


2. Select bin Folder
3. Select Debug Folder
And in Debug folder your .exe File is ready.

Even though you are asking the exe file creation that will not sufficient for the
new installation further I am going to explain how to create setup and
deployment project for winforms windows application using visual studio 2010.

Similar approach can be applied for creating setup project for web application as
well.

Right click on solution explorer root and select Add > New project

How to create setup file for .Net Application?

Now we can create set up file for this application with MS Access database.
Go to File - > Add-> New project in the Existing opened Project Visual Studio screen.

Page 1 of 12
Then Select "Setup and Deployment" and right side select "Set up Project" (under visual
studio installed templates) in the dialogue box. Give the name for your set up file.

Page 2 of 12
After enter name click Ok button. Screen look like below. Check it that set up file added in your
solution explorer (right side)

Page 3 of 12
Now right click on the application folder select Add->Project Output.

Page 4 of 12
Page 5 of 12
After select New pop up appear in that window select "Primary Ouput" Click Ok.

How add database to the Set up file?

I have placed access database in my application "Data" directory so I need to


create directory for same like this in application folder. Right Click of the
application folder and choose Add - > New folder and name it for that folder
"Data"

Page 6 of 12
Double click that "Data" folder in the application folder to open, now right click
and choose Add->File

Page 7 of 12
After select new dialogue box is appear and ask for your database location.
Select your database path and click ok in that dialogue box. After added it check
your database attached in Application folder look like this.

Page 8 of 12
How to add Desktop Shortcut in setup file?

Select Application folder in File System and right click of the Primary Output
file to create short cut for that file.

Page 9 of 12
Rename of that shortcut and cut that shortcut file

Page 10 of 12
After cut that shortcut go to File System (left side) user's desktop, double click
that folder and open it and paste that shortcut

If you want change the icon of short cut then select that short cut right click ->
choose properties window. In that property window choose icon option to set
icon for your desktop shortcut. Make sure if you want add icon in the short cut
then you must add that icon in the application folder before.

Page 11 of 12
Page 12 of 12

You might also like