Settings
Settings Instructions
Basic Settings
- Format Settings
You can choose to package a green version EXE or an installation package program.
Green version EXE: A standalone EXE file will be generated, which can be run directly without installation.
Installation package program: After the user opens it, installation is required. After installation, an icon will be generated on the desktop, and the program can be opened by double-clicking it. If the file to be packaged is larger than 2G, you can check the installation package sub-package option to ensure that the packaged file can be generated correctly.
- Kernel Settings
Use Chrome kernel: By default, packaging will use the Chrome kernel, which supports the latest browser features and has good compatibility.
Use IE kernel: You can choose to use the IE kernel, making the packaged file smaller (Note: IE kernel does not support installation package form).
- Window Settings
Width and height are used to set the initial size of the window, with a default width of 1280 px and a height of 800 px.
- Software ID
The software ID is used to distinguish different applications. You can fill in letters or numbers as the software ID. Applications with the same software ID will overwrite each other during installation when using the installation package form. If the activation code option is checked during packaging, applications with the same software ID will share the same set of activation codes.
- Custom UA
Custom UA can be used to simulate other browsers. For example, if you want the packaged EXE to simulate the 360 browser, you can enter the custom UA: Mozilla/4.0(compatible;MSIE7.0;WindowsNT5.1;360SE).
- Custom Header
You can configure custom Header information so that all requests in the packaged web page will carry this Header information.
For example, you can set the Basic Auth Header as follows:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Advanced Settings
- Full Screen
You can check the full screen option to make the packaged EXE automatically enter full screen mode when launched.
- Allow Window Scaling
After checking the allow scaling option, the software window can be resized by dragging. If this option is not checked, the window cannot be resized.
- Disable Cache
By default, the software will cache loaded resources to speed up opening. After checking this option, caching will not be used. It is recommended to check this option when packaging frequently updated URLs to ensure that the latest resources are loaded after the website is updated.
- Exit Prompt
After checking the exit prompt option, a dialog box will pop up before the packaged EXE is closed, asking the user to confirm whether to close it.
- Compression
Checking this option will compress the generated EXE file.
Tip: Checking this option will affect the performance of the EXE during startup and operation, and some systems may not be able to open it. Use this option with caution.
- Support Flash
If the packaged HTML page contains Flash elements, you can check the support Flash option to ensure that Flash elements are displayed correctly.
Tip: Checking the Flash option will affect the loading speed and performance of the EXE. Therefore, if there are no Flash elements in the web page, do not check this option.
- Improve Stability
If the packaged file is too large and some elements cannot be loaded correctly or load errors occur, please check the last option.
Tip: Checking this option will affect performance. If there are no issues with normal packaging, do not check this option.
- Disable Debugging
By default, pressing F12 in the packaged software will open the debugging tool, which can be used to check for errors in the packaged software. After checking this option, the debugging tool will be disabled, enhancing the security of the packaged EXE.
- Return to Home Button
After checking this option, a return to home button will be added to the upper right corner of the packaged EXE. Clicking this button will return to the homepage.
- Disable Content Scaling
After checking this option, the web content of the packaged EXE will not be allowed to scale.
- Single Window Mode
After checking this option, the packaged EXE will not pop up new windows, and all pop-up windows will open in the current window.
- Maximize Window
After checking this option, the EXE will open in maximized mode by default.
- Right-Click Menu
After checking this option, the packaged EXE will have a right-click menu, including options such as "Refresh", "Return to Homepage", "Open Debugging Tool", and "Clear Cache".
- Singleton Mode
After checking this option, the generated EXE can only be opened once. Multiple openings will only run one EXE.
- Clear Data on Exit
After checking this option, the user's cache data will be automatically cleared when exiting the EXE. It is recommended to check this option when the website is frequently updated.
- Start on Boot
After checking this option, the EXE will automatically set itself to start on boot when opened.
- Open Pop-ups in Browser
After checking this option, all pop-up windows will open in the system's default browser.
- Minimize to Tray
After checking this option, minimizing the EXE will automatically hide it in the system tray, similar to the QQ icon.
- Always on Top
After checking this option, the window will always stay on top.
- Enable API Support
After checking this option, API support will be enabled, allowing you to call the APIs provided by the EXE in JavaScript. The supported APIs can be found in subsequent documentation.
- English Support
After checking this option, the packaged EXE will display English prompt information, suitable for release abroad.
- Close to Tray
After checking this option, clicking the close button will minimize the EXE to the tray.
- Incognito Mode
After checking this option, each time the EXE is opened, it will use an independent storage space, and login information will not interfere with each other.
- Enable Local Server
After checking this option, a local server will be enabled when packaging local HTML projects, suitable for some local pages that require a server to run.
- Local Server Port Setting
You can enter a port number from 1 to 65535. If not filled, a random port number will be used.
- No Network Homepage Prompt
After checking this option, if the EXE cannot connect when opened, a prompt page will be displayed, allowing you to refresh or exit.
- Borderless Window
After checking this option, the packaged EXE will have no borders (no minimize or maximize buttons).
- Do Not Embed Local Project in EXE
After checking this option, when packaging local HTML projects, the HTML project will not be embedded in the EXE file but will be placed in the PackerRoot directory at the same level as the EXE.
- Disable Screenshot (New in 1.9.95)
After checking this option, the generated EXE file cannot be screenshot during operation. When using third-party screenshot software, the EXE file will display a black screen.
Encryption Settings
- Activation Code Required
After checking this option, the generated EXE will require an activation code to open normally. When the EXE is opened for the first time, it will prompt for an activation code and allow the user to copy the machine code. After obtaining the machine code, you can calculate the activation code using the "Activation Code Calculator". When calculating the activation code, you must fill in the software ID used during packaging. If not filled in during packaging, leave it blank.
- Auto Close After 24 Hours
After checking this option, the packaged software will automatically close after running for 24 hours.
- Usage Days Limit
You can fill in the usage days limit (integer). After filling in, the packaged EXE can only run within the limited time. After the time limit is exceeded, it cannot be opened again.
- Usage Times Limit
You can fill in the usage times limit (integer). After filling in, the packaged EXE can only be opened a limited number of times. After the number of openings is exceeded, it cannot be opened again.
Copyright Settings
The copyright settings page allows you to set the property information of the generated EXE, such as the EXE version number, company name, etc.
One Machine One Code Network Verification (Add Card Secret) Instructions
In version 1.9.97 of the HTML (web page) packaging EXE software, a network verification function was added. It allows you to add network verification functions to the packaged EXE file, that is, add a card secret. When the packaged EXE file is opened for the first time, it will prompt for an activation code (card secret). Only after entering the correct code can it be used normally.
Detailed usage steps and instructions can be found in the following document: