I was researching a way of putting the app version number on the setup window title of my InnoSetup installer and I found this question: Add Version to SetupWindowTitle of Inno Setup.
On the comments section of the question, @MartinPrikryl stated:
The %1 in SetupWindowTitle is replaced with AppVerName, which defaults to "AppName version AppVersion". So SetupWindowTitle actually contains AppVersion. You must have something wrong in your script.
But in my case the AppVersion
property was always set and the version number never showed up on the window title. I thought it had something to do with the language package I was using (Languages\BrazilianPortuguese.isl) but it turns out it's not.
I've made a simple test script to reproduce the behavior:
[Setup]
AppName=Test
AppVersion=1.0
VersionInfoVersion=1.0
DefaultDirName=C:\Test\
I'm using Inno Script Studio version 2.2.2.32 with Inno Setup Compiler version 5.5.9.
When I compile that simple test I get this result:
No AppVersion
on window title, just the AppName
.
What can it be?