'Converting HTML + JavaScript to an exe

There is actually a topic asking a very similar thing, however the information there is either out of date (broken links, discontinued solutions) or not suitable for my needs.

I have a showcase for my graduation wherein we have the opportunity to display our work to potential employers. The interface we have to use only allows .jpg, .flv and .exe files, however my project is in HTML / CSS / JavaScript.

Is there any way I can convert my project into a .exe?

(The ways the pre-existing question's answers suggest creating an .exe are now broken links / discontinued as far as I can tell; and alternate answers suggest ways to create standalone applications which do not generate .exes, which are not fit for my purposes)

Cheers!



Solution 1:[1]

Most easiest way is:

1) Download Visual Studio Express Edition(Because it's free).

2) File -> New Project -> Windows Forms Application.

3) Load your current HTML into it.

4) Add WebBrowser control to your project.

5) Deploy your application(Build -> Publish).

Note: The WebBrowser Control use IE by-default. Take a look at this alternative as well.

Solution 2:[2]

Welcome to 2019!

There's all kinds of different ways to accomplish this now. One popular npm package is npm pkg. There's also the popular Electron (this is what vscode was built on), and quite a few others

Solution 3:[3]

You Could always turn the HTML file into a HTA file and then convert it into an exe :)

https://www.vbsedit.com/

Solution 4:[4]

You may try creating a .exe installer to you html file using Inno Setup.

You can use the setup wizard; just select the html file instead of exe when selecting the main exe file

It works somehow like an installed application, it will open in your browser but you can see in the List of Applications. (in control panel)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community
Solution 2 mwilson
Solution 3 Tiago Rangel de Sousa
Solution 4