autoplot / installers

Builders for Autoplot binary distributions
0 stars 0 forks source link

Setting Autoplot version number in the INNO setup file #2

Open cpiker opened 4 years ago

cpiker commented 4 years ago

There is no obvious way to pass the version number into the INNO 5 setup file, Autoplot.iss for the java packager.

Examples of the configuration keys that need the version number follow:

AppVersion=v2020a_10
AppVerName=Autoplot v2020a_10
OutputBaseFilename=Autoplot-v2020a_10
jbfaden commented 3 years ago

Could a bash script write the file?

jbfaden commented 3 years ago

(Sorry, but bash. I meant .bat)

cpiker commented 3 years ago

I don't see why not, though the syntax is even worse then bourne shells, batch files usually have enough features to get a job done.

Almost all useful binary utilities such as awk, grep, etc. are missing on Windows. AFAIK the going assumption in the Windows developer community is that a person would use powershell scripts instead of batch for more complicated tasks, but since powershell is not enabled by default (and enabling it takes admin rights), I'd prefer to avoid depending on it.