1

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?

7
  • What is "Inno Setup 5"? Are you using the latest version 5.5.9? Mar 9, 2017 at 20:43
  • 1
    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? Mar 9, 2017 at 20:44
  • 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/6G6TkJcp
    – HanClinto
    Mar 9, 2017 at 21:14
  • 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
    Mar 9, 2017 at 21:17
  • 1
    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')))? Mar 10, 2017 at 6:11

1 Answer 1

1

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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.