Navigation: Learn About All Features > Application Output > EXE Icon / Version |
|
Customizing Icons and Version Information in HTML Executable Applications
When compiling your HTML application or ebook, HTML Executable generates a single executable (.EXE) file that's ready to be distributed. A standard feature of most Windows executable files (PE format) is a resource section that houses important assets like version information, icons, cursors, string tables, and more. HTML Executable provides you with the ability to modify some of these resources, allowing you to incorporate your own logo and copyright information.
Changing the EXE File Icon
HTML Executable offers the capability to replace the default icon of the executable file. By indicating the path to an alternative icon file (which must be a proper icon file with a .ico extension), you can customize your application's icon to suit your needs. HTML Executable can support any icon image, whether it's 32x32 with 16 colors or 48x48 with 256 colors.
For straightforward icon creation or extraction, consider using GConvert, a companion tool that facilitates extracting icons or converting images into icons.
Icons with 32-bit PNG data are also compatible.
Remember, the icon file should be accessible as an external file during the compilation of the publication. Path variables such as [PROJECTPATH] are permitted. You can find some usable icon files in the Resources subfolder of HTML Executable.
Adding Custom Version Information
The version information in an executable file is a specialized resource section that holds critical details about the file, such as its version number, targeted operating system, original filename, copyright information, and more. This information is integrated into the compiled code, and users can view it by right-clicking the program icon and selecting Properties (or by pressing ALT+ENTER in Explorer).
HTML Executable lets you inject your personalized version information into the EXE file. This includes:
•Company Name: The name of your company.
•Legal Copyright: Your own copyright statement, such as "Copyright 2023 by Your Company. All rights reserved."
•File Description: A description of your application's content.
•Web Homepage: A URL to your company's website or homepage.
•Version number: The current release number of your .exe file. The format must be X.X.X.X where X represents a numerical value, such as 1.20.34.45.
•Product number: The release number of your application, following the same format as the version number.
•Legal Trademarks: Text that will appear in the "Legal Trademarks" field. This field is editable only if you've purchased the "No Branding" option.
These pieces of information, along with the default logo file, can be configured in the Environment Options. With this setup, your preferred settings will be applied every time you create an application.
In conclusion, HTML Executable provides you with the flexibility to tailor the ebook's appearance and information of your HTML applications. With simple .EXE customization, your application can effectively represent your brand and provide essential details to your users.