exe
Requirements
Usage
Add make_config.yaml
to your project windows/packaging/exe
directory.
# 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-AF079F21A65Dpublisher: LeanFlutterpublisher_url: https://github.com/leanflutter/flutter_distributordisplay_name: Hello 世界create_desktop_icon: true# See: https://jrsoftware.org/ishelp/index.php?topic=setup_defaultdirname# install_dir_name: "D:\\HELLO-WORLD"locales: - en - zh
Run:
flutter_distributor package --platform windows --targets exe
Advanced usage
Custom Inno Setup template
By default, flutter_distributor
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.