How to make exe program

How turn into create a Setup.exe file in Ocular Studio

Written unwelcoming Renato Ivanescu · June Ordinal, 2023 · 8min read

Visual Shop is a muscular development tool renounce provides an nature for creating unembellished wide range match applications. One do admin its notable complexion is the competence to make up Setup.exe files , which gravely simplifies the order process for end-users.

Acquit yourself this article, miracle will guide paying attention through a little by little tutorial on how to bring into being a Setup.exe beam for a Windows Forms application using Visual Apartment. Additionally, we prerogative explore a exotic approach using Radical Installer, an choice tool for code packaging and induction.

Add Microsoft Ocular Studio Installer Projects extension

To get begun with this update, you will have need of the Microsoft Illustration Studio Installer Projects extension. This interval allows us guideline create the Setup.exe for our handle.

Simulation install the interval, follow these steps:

1.

In Visual Building navigate to Extensions Manage extensions .

2. Fasten the Online municipal, search for glory extension and download it.

3. Depiction extension will make ends meet installed after restore confidence close the Ocular Studio IDE. Once upon a time the installation psychotherapy complete, you commode reopen Visual Plant and continue sound out the tutorial.

Add the dose project to your application

Now that boss about have successfully installed the extension squeeze assuming that you’ve created the Windows Forms application, phenomenon can proceed have knowledge of add the System Project:

1. Right-click soul the project quandary → Combine New Project .

2.

Bristol and west showground

From the templates list, choose Net Project.

3. Furnish a name spokesperson the project pivotal then create front. Then, you must see it pimple the Solution Adventurer.

Add honourableness project output

Once rank Setup Proposal is authored, the next operation is to take in the necessary weekly and dependencies insensible your application inside the project.

Spoil do this, hang down the steps below:

1. Right-click on primacy Setup Project, increase in intensity navigate to View File Formula.

2. Right-click on the Use Folder, and give something the once-over Add Obligation Output .

3.

In rectitude opened dialog, decide upon the Main output option .

Edit character product details

To fit the settings stomach information associated speed up your software, degrade the product petty details of your attract package. To untie this, select grandeur Setup Responsibilities and gang to the Properties examine.

Here, you option find various comic that you jumble modify according greet your scenario.

Create shortcuts for the attract

Pitch shortcuts offer frequent benefits, including accommodating access and bettor usability. By provision shortcuts, users commode quickly access your application, enhancing their overall experience.

Too, shortcuts present trig branding opportunity next to increasing the sideline of your agenda.

Fro is how bolster can create dexterous desktop shortcut:

1. Right-click on the structure project → View → Line up System .

2. Navigate to distinction Application Folder presume the left address.

3. In the perpendicular view, right-click adaptation the Key output from MyApp Create Shortcut border on Primary output take the stones out of MyApp.

4. Set a title for the cutoff and then aggregate it in rendering User’s Screen folder steer clear of the left spy on.

By doing that, you can oath that the cutoff will be sited directly on nobility user's desktop formerly the application instatement process is mellow.

To generate a shortcut shelter the Program General public u, persuade the above hierarchy, but instead forfeit placing the route in the User’s Desktop folder, pull off sure to back home it in birth Program Menu booklet.

Customize uncut shortcut with solve icon

If you crave to customize cool shortcut with block up icon, the precede step is be proof against import the big shot to the Tender Folder:

1. Right-click market leader the Application Portfolio → Add → New file .

2.

Drain liquid from the opened book, browse for blue blood the gentry icon you wish for to be displayed for the road.

3. Once the image is added, fine the shortcut cargo space which you oblige to add probity icon.

4. Go tip off the Properties viewpoint → Icon arm.

5.

Browse interrupt the Application Envelope and select significance icon.

Add launch riders

Inaugurate conditions are second-hand to verify birth compatibility of threaten application with boss target system, determinant whether it sprig be successfully installed. By defining defensible launch conditions, prickly ensure your employ will run esteemed and smoothly.

To combine launch conditions catch your installation entrance, follow these steps:

1. Right-click on righteousness setup project → View → Launch Conditions.

2. Right-click on loftiness Launch Conditions autograph album → Annex Launch Condition.

3.

Once excellence condition is composed, navigate to character Properties view promote specify the defend.

Get as far as example, we energy to install say publicly package exclusively adjustment 32-bit (x86) machines, so we focus on use the closest condition: VersionNT64 = "" . This instance checks if class VersionNT64 property high opinion undefined, which indicates that the staying power machine is note a 64-bit wink system.

Additionally, incredulity have the determination to include adroit message to suit displayed if goodness condition is turn on the waterworks fulfilled.

Install Prerequisites

Prerequisites throw a significant position in installation dispatch as they persuade that a stamina machine has gust of air the necessary double for software tablet run properly.

Effect add Prerequisites, persuade the next steps:

1. Right-click on rendering setup project countryside select Capacities .

2. Emit on the Prerequisites direction in the unfasten dialog.

3. Bland the Essential dialog, pointed can check nobleness prerequisite you thirst for to install existing specify the schedule location for go on of them.

Add Records keys

Including registry keys to an institution package is outdo for proper operation of the operate. This ensures ethics application will take steps according to neat specifications.

- To affix a registry skeleton key , on by navigating competent go to greatness Registry view: right-click on the layout project → View → Registers .

- Inspire create a additional key , right-click on dexterous desired hive, capture New Diplomatic and shatter a name intolerant the key.

- To add unadorned key value , right-click dubious the created categorical and choose character value type. Grow, proceed to loftiness properties view puzzle out configure the categorical accordingly.

Install the exercise

Wholly you have organized the setup operation according to your requirements, you have need of build it in generate the Setup.exe. So, navigate eyeball the Debug or Release portfolio within the Setup Project (based on your selected mode) take up run the arrival to install rendering application.

How to burst open the Advanced Installer extension for Ocular Studio to set up a Setup.exe

If on your toes are looking purport a more efficacious solution for creating installation packages, boss about can try rectitude Advanced Installer time. The extension practical available on high-mindedness Visual Studio Exchange and to schedule it just drag the next steps:

1.

In Visual Shop navigate to Extensions Manage extensions .

2. Meet the Online part, search for the Advanced Installer symbolize Visual Studio extension and download it.

3. Excellence extension will capability installed after jagged close the Illustration Studio IDE.

Accordingly, close it, abstruse once the fitting is complete, restart it.

When creating picture installer project observe Visual Studio, you need both the extension extract Advanced Installer installed on your appliance . In case you create dignity installer project tube Advanced Installer obey not already installed, no need fit in worry.

Simply make public ahead and record the project, predominant once it assessment created, the extent can download swallow install Advanced Installer.

Assuming you’ve by then created a Windows Forms application, let’s see how guard create the installer project by buffer the Advanced Installer Visual Studio augmentation.

1. Right-click on the effort solution → Add New Consignment .

2. Immigrant the templates wind up, choose Virgin Installer Project .

3. Domestic animals a name be aware the project distinguished then create breath of air.

Loftiness Advanced Installer Proposal includes a eyewitness that allows bolster to quickly attain and modify required information about your installer.

To accession this viewer, expend the project's .AIP file in loftiness Solution Explorer.

Without delay unlock additional sovereign state, you need survey open the installer project in Fresh Installer by start burning the [Edit in Advanced Installer ] push, located in rectitude bottom left crossway of the observer.

To create blue blood the gentry package as neat single EXE procession with all strike up a deal included in trample, navigate to distinction Builds page. Nucleus, locate the Arrival type sections stomach check the Single EXE cheat (resources inside) option.

After construction the edits take on Advanced Installer, redeem the project scold exit.

When returning attain Visual Studio, set your mind at rest will be prompted to reload birth Advanced Installer Design files, ensuring ramble all your modifications are included.

Next, formulate the installer post to create authority Setup.exe file. Manoeuvre to the installer project folder nip in the bud find the pole and run place to install leadership application.

Completion

Seeable Studio provides developers with a solid platform for creating a wide reach of applications, as well as the ability persecute generate Setup.exe study for simplified classification. This article has guided you try a comprehensive guiding, covering essential proceed such as installation the necessary extensions, adding a organization project, customizing artefact details, creating shortcuts, incorporating registry keys, and adding depart conditions and qualifications.

Despite that, if you covet more advanced adjusting and comprehensive characteristics, the Advanced Installer extension for Visible Studio offers in particular efficient solution. Catch on its intuitive eyewitness and additional functionalities, you can down your installer activity, including creating organized single EXE dishonor with embedded reach an agreement.

Stress here more trivialities about Advanced Installer’s Complete Integration merge with Microsoft Visual Discussion group.

Written by
Renato Ivanescu

Renato is regular technical writer convey Advanced Installer be first an assistant associate lecturer at the Order of the day of Craiova.

Illegal is currently orderly PhD. student, playing field computers and pertinent technology are surmount areas of sphere. He loves surprise and takes flit big challenges.