exe
Requirements
Usage
Add make_config.yaml
to your project windows/packaging/exe
directory.
yaml
# The value of AppId uniquely identifies this application.
# Do not use the same AppId value in installers for other applications.
app_id: 5B599538-42B1-4826-A479-AF079F21A65D
publisher: LeanFlutter
publisher_url: https://github.com/leanflutter/fastforge
display_name: Hello 世界
create_desktop_icon: true
# See: https://jrsoftware.org/ishelp/index.php?topic=setup_defaultdirname
# install_dir_name: "D:\\HELLO-WORLD"
# This path is relative to the root directory of your project; The format of icon file must be ico, can not be png or others
# setup_icon_file: windows\runner\resources\app_icon.ico
locales:
- en
- zh
Run:
fastforge package --platform windows --targets exe
Advanced usage
Custom Inno Setup template
By default, fastforge
will generate an Inno Setup configuration (.iss
) based on an internal template on build time, and populate it with the values provided in make_config.yaml
. If you need more control over the Inno Setup configuration, you can provide a custom template using the script_template
option.
For example:
- Add
script_template: inno_setup.iss
to yourmake_config.yaml
- Create the
inno_setup.iss
in the same directory - Copy the original template from the source code and adjust it.