I just wanted to briefly point out something that caused setups of my apps on Windows, created with InnoSetup, to suddenly crash. However, this only happened after they were installed, not in the debugger, and not when launched from the build folder.
TLDR: There’s a new “locales” folder that also needs to be installed during installation!
According to the event log, the crash was caused by errors related to the libcef.dll library.
After a brief investigation, I noticed that my apps were missing the new “locales” folder after installation.
After adding the following line to my InnoSetup scripts:
Source: "..\Builds - YOURAPPNAME\Windows 64 bit\YOURAPPNAME\locales\*"; DestDir: "{app}\locales\"; Flags: ignoreversion recursesubdirs createallsubdirs replacesameversion
everything works as aspected again.
This will be a requirement since this change in the 2025r1 release:
Windows built-in ICU Libraries: Eliminates manual ICU updates and reduces app file sizes.
BTW: This is not specific to InnoSetup and applies to every Installer.