Closed skillingt closed 6 years ago
Sorry, extra_preamble doesn't do what you think - it's run when the user launches your application, not when building or running the installer. You'll probably need to go down the wrapper script route.
Thanks for your quick response. I've used AppVeyor in the past which allows scripts to be run before and after building (in which I included a script just like one I mentioned). This would be a great addition to your application as well. Thank you for your work already, this is a very useful utility.
extra_preamble in the config file application section doesn't appear to do anything.
installer.cfg
bakeKeys.py
Text file is never written to, not during creation of installer or during installation itself. This is a trivial example, what I want to do is replace a string with a secret key that is located in the build template to avoid uploading an API key to source control. Would like to use the functionality of extra_preamble instead of a wrapper script for the installer.