Are you need IT Support Engineer? Free Consultant

Know How to Create exe for the desktop application

  • By Neeraj Singh Rawat
  • March 10, 2021
  • 536 Views

1. Introduction

This document describes how to create the exe for the desktop application.

2. Executable file (exe file)

An executable file (exe file) is a computer file that contains an encoded sequence of instructions that the system can execute directly when the user clicks the file icon.

3. How to create the exe file for application

For creating the exe file for the application:
Go to the solution of the project -press right button of mouse and click on Add option- click on New Project.

Picture1

Search setup in the next window occur -click on Setup Project

Picture2

If the Setup Project option  not found then add the extension while clicking on the extension option in top bar – click on Manage Extensions

Picture3

Add Microsoft Visual Studio Installer Projects extension in visual studios

Picture4

If the Setup Project option is present there -Click on Next

Picture5

Provide the name to the setup -Click on Create

Picture6

A new interface will shown to you

Picture7

Right Click on Application folder -Click on Add – Project Output

Picture8

A new window will open  -Click on Primary Output – Click Ok

Picture9

Multiple files will shown in the right section of the screen

Picture10

Click on User’s Desktop -Right click on right section- click on Create New Shortcut -Double click on Application Folder  -Select Primary Output option  -Click Ok

Picture11

Rename the file. The file name will shown to user when they download the application in their system.

Picture12

Click on User’s Programs Menu- Right click on right section- click on Create New Shortcut- Double click on Application Folder  -Select Primary Output option  -Click Ok

Picture13

Rename the file.

Picture14

Right click on Installer-  Click Add Click Assembly

Picture15

Browse to SQLite.Interop.dll under x86/Debug/x86 folder.

Picture16

Right click on Installer – Click Add -Click File

Picture17

Browse to database of the application to (bin/x86/Debug) – Click Open

Picture18

Click on Installer -Press F4 key- Click on Product Code- Click New Code- Click Ok -Click Upgrade Code – Click New Code -Click Ok

Picture19

Right click on Application Folder- Click Add- Click File -Browse to path of icon image- Click Open.

Picture20

Click on Installer -Press F4 key -Click on AddRemoveProgramsIcons-Click on Browse- Click on Browse-Double click on Application Folder  Select the icon image -Click Ok

Picture21

Click on Installer -Press F4 key- Click on AuthorWrite Company Name (Velocity Software Solutions) -Click on Manufacturer Write Company Name (Velocity Software Solutions)

Picture22

Select Release mode from top bar- select x86 in next drop down
If not present then add x86 by clicking configuration manager

Picture23

Copy the database from bin- Debug to bin-  x86 -Debug folder.

Right click on Installer-  Click Build
Note – Kindly give write permission to folder where the application will be installed through exe.

Picture24Picture25

Neeraj Singh Rawat

Hi, Myself Neeraj Singh Rawat, I am a software engineer at Velsof. I like to share my thoughts on mobile development, web development, e-commerce plugin, and other technologies.