Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inno Setup directive "VersionInfoVersion" is invalid

In my *.iss installer script I'm passing application version to the VersionInfoVersion param

VersionInfoVersion = {#ver}

where {#ver} is 0.4.0.201801182

According to Inno Setup documentation format is correct. However, I'm getting the following error:

Value of [Setup] section directive "VersionInfoVersion" is invalid.
Compile aborted.

1 Answers

The problem is the last section of your version. It appears that each section only supports up to 65,535. For example:

#define ver "0.4.0.65535" ;this works
#define ver "0.4.0.65536" ;this fails
like image 166
mirtheil Avatar answered Jul 30 '26 09:07

mirtheil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!