Feature Request: Add compile/build time variables

Hi

It would be really great if PB could read for example the version of one of the packaged files and then use that as #Version in the package resources and package file name so I don’t have to remember to manually change it for a new version.

Thank

You can indirectly do that thanks to the Directives feature: https://www.installpackbuilder.com/help/directives
For instance:

[DirectiveVariables]
MYVERSION=1.0

[General]
Title=My archive {$MYVERSION$} 

Hm…I should maybe be able to incorporate that into the build process to change the version number…
Definitely much better than changing things manually all over the place and great that it supports variables in these files :smiley:

Sure. And you can even use our console compiler for your build process :wink:

Once I use it enough to make it worth to upgrade to the commercial version, definitely.
Right now it’s more about not forgetting where to look because it has been so long since the last time I compiled the package :stuck_out_tongue_winking_eye:

1 Like