Skip to content

Variable in "Setup File" #36

@the-moog

Description

@the-moog

Description
If I place a pre defined constant variable, e.g. <AppVersion> in the path name for "Setup File" on the "Build" tab the build fails with an error. "ERROR: Could not create setup package!" "ERROR: Could not build setup package!"
A full list of valid constants are loated in https://docs.installforge.net/how-tos/using-predefined-constants/#setup-constants_1

Environment
InstallForge version: 1.6.1.39
Operating system of the affected build or target system:
Windows 11

Steps to Reproduce
Steps to reproduce the behavior:

  1. Go to the build tab
  2. add to the file name of the installer executable to be created
  3. Press Build
  4. See error above

Observed Behavior
Build fails

Expected Behavior
Where <AppVersion> is valid and expands to 1.2.3.4
and the path is output/my-app-<AppVersion>-installer.exe
The installer file should be generated with name my-app-1.2.3.4-installer.exe

Screenshots
n/a

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions