I'm trying to create installers through Inno Setup 6.2.2 but I ran into an issue where when changing the language, the installer icon is invisible in the taskbar. This only occurs in Windows 10. And also only in the unicode versions of the inno setup. How could I solve this? The inno setup installer itself has this problem in its original installer.
I noticed that if you pass the same value to "SetupAppTitle" the problem disappears but the languages have the same language value.
[Messages]
english.SetupAppTitle=Setup - {#MyAppName}
brazilianportuguese.SetupAppTitle=Setup - {#MyAppName}
chinesesimplified.SetupAppTitle=Setup - {#MyAppName}
french.SetupAppTitle=Setup - {#MyAppName}
german.SetupAppTitle=Setup - {#MyAppName}
italian.SetupAppTitle=Setup - {#MyAppName}
japanese.SetupAppTitle=Setup - {#MyAppName}
korean.SetupAppTitle=Setup - {#MyAppName}
polish.SetupAppTitle=Setup - {#MyAppName}
russian.SetupAppTitle=Setup - {#MyAppName}
spanish.SetupAppTitle=Setup - {#MyAppName}
thai.SetupAppTitle=Setup - {#MyAppName}
To recap, the bug occurs in all versions of Windows 10, except the Home Single Language version of any language. But I found a way around using VclStylesinno.dll:
[Files]
Source: "D:\Repacks\Setup - Sekiro\VclStylesinno.dll"; DestDir: {app}; Flags:
dontcopy
[Code]
// Import the LoadVCLStyle function from VclStylesInno.DLL
procedure LoadVCLStyle(VClStyleFile: String); external
'LoadVCLStyleW@files:VclStylesInno.dll stdcall';
// Import the UnLoadVCLStyles function from VclStylesInno.DLL
procedure UnLoadVCLStyles; external 'UnLoadVCLStyles@files:VclStylesInno.dll
stdcall';