Create a Windows installer for your Web Apps.

In order to install new software on your computer, you often need to run an installer program. This program unpacks compressed data included with the installer and writes new information to your hard drive. While some installers do not use compressed data, most use some level of compression since it reduces the size of the files included with the installer. This is especially helpful when downloading programs or software updates from the Internet. Windows Installer enables the efficient installation and configuration of your products and applications running on Windows. However there are different ways to create Installer but In this article, I will tell you an easy method to create it using visual studio.

Image for post
Image for post
credit: Christian Engvall

What do you need?

  1. A .exe file of your web application.
  2. Download Visual Studio
  3. Download Installer Extension.

Getting Started

Open Visual Studio > Create a new project > Setup project.

Image for post
Image for post

Now provide name and location for your installer and click on create.

Image for post
Image for post

Click on the Application folder and add all your application files including its node dependencies.

Image for post
Image for post

Now it’s time to create a desktop shortcut for your application. Click on the user’s desktop option. Right-click in blank space then select create a new shortcut. Specify the path of .exe file of your app and click ok.

Image for post
Image for post

Now if you want then you can set the name/icon for your application shortcut, after that click on your project on the left side and then click the properties tab on the right panel to add some more info for your app.

Image for post
Image for post

Now right-click on your project to build (this process will take some time). After a successful build, you can check the location of the build.

Image for post
Image for post

In the debug folder you will find the setup/windows installer of your application.

Still, if you need any help then watch my video.

Front End Developer, Gamer, Student.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store