Method to create a single html EXE file.

1

Stats

13,976 visits, 19,036 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 6 Jun, 2013. Last updated 19 Feb, 2019

This is one way to make a single install file that users can double click and install on their computer. I am hoping to get more ideas to tidy it up and add more features. But here's the basics to get you started. (Please note these are XP screenshots if you are running Iexpress2 on Windows7 this will not work unless you run it as administrator.)

C:\Windows\System32\iexpress.exe Right click the file to get the run as administrator option.

I spent hours trying to work out why it was not working on my win7 comp until I discovered this I hope this tip saves you the same frustration.

1. Open a text and make this Bat file it will give the users a Start game ICON. Please note you can play with the directory and bat icon to make it nicer for the user but here is the basics.

Prep:

Select your html 5 image folder and zip it.

Reason why is Iexpress will not import it as a folder so you will end up with an exe without your image files.

Just call it image.zip**

(New step 07/06/2013)

Make 2 .BAT files by opening a txt or notepad and renaming the extension to .bat

Bat 1. Call it [install.bat]

In the text file paste this:

unzip images.zip

exit

Bat 2. Call it [play.bat]

In the text file paste this:

start firefox Index.html

exit

**Make sure you import both these files when the time comes in this process I have not updated the screenshots note that its step 8.

**

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

12.

13.

14.

15.Now when you double click on your exe you can install it anywhere and even direct your Bat file to place a start ICON on the desktop.

(The iexpress comes standard with Windows.)

I hope this is helpful to get you started. Please share alternative .bat solutions in the comments :).

  • 0 Comments

Want to leave a comment? Login or Register an account!