1
votes

I'm creating installers to run on Windows Embedded Standard (which is basically Windows XP Embedded). However, on these XP devices, the installer displays with a horizontally squished window.

This is what an installer built with Inno Setup 4 looks like: Inno Setup 4 squished window

And this is what an installer built with Inno Setup 5 installer looks like: Inno Setup 5 squished window

Inno Setup is the only program I've ever had this sort of trouble with. Any ideas on how I can get the installer window to show up so that the text is visible? I don't care if it's maximized or hardcoded or whatever -- I just need the window to show up with a visible size. Anyone have ideas?

1
What is "Inno Setup 5"? Are you using the latest version 5.5.9?Martin Prikryl
Try to add this to the [Code] section: procedure InitializeWizard(); begin Log(Format('X=%d Y=%d', [ScaleX(10), ScaleY(10)])); end; What output would it produce in the log?Martin Prikryl
Hi @MartinPrikryl, thanks so much for the helpful reply! The log file shows: 2017-03-10 05:13:01.875 X=0 Y=10 I have attached the full log here: pastebin.com/6G6TkJcpHanClinto
I will also note that I've tried to change the screen resolution, and confirmed that this window scaling issue happens at different sizes. My monitor's DPI setting is currently at 96 dpi.HanClinto
Did you try using Unicode version of Inno Setup? + What does this produce? Log(Integer(FontExists('Microsoft Sans Serif'))) and Log(Integer(FontExists('MS Sans Serif')))?Martin Prikryl

1 Answers

1
votes

As you have tested yourself, Unicode version of Inno Setup works correctly.

It is built using a newer version of Delphi IDE, what likely fixes some rare bug, that occurs with your machines.

And you should use Unicode version anyway!