Incorrect Screen Size - Advanced Installer Community
btmi
Posts: 4
Joined: Wed Feb 23, 2011 4:36 am

Incorrect Screen Size

I have an application built around AI 8.0.2 that has a limit on the destination screen size (800 x 600) which has never been a problem until today when a computer I am trying to install to (I think it is a Virtual XP Box) incorrectly reports that the screen size in too small.

Before I remove this requirement from the installation do you know of any circumstances where incorrect values of the screen size are reported? Could it be a permissions problem?

Peter

PS - I forgot to mention that I am RDPing into the client which is why I am not sure of the actual specifications of the box, and how I know the screen resolution is OK.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Incorrect Screen Size

Hi Peter,

This could be caused by a Windows Installer bug, I have met similar situations in the past.

I managed to create a work around back then that you can try, here are the steps:
-- I've created two public properties in the Install Parameters page
(SCREEN_X and SCREEN_Y)
-- in the InstallUISequence, under Begin standard action I've saved the
values of Windows Installer private properties (ScreenX and ScreenY)
into my public properties using two "Property Set with Formatted" custom
actions.
-- then, in the InstallExecuteSequence, under Begin phase I've restored
these two values into ScreenX and ScreenY private properties using the
same custom action.

What happened was that Windows Installer was loosing their values when
passing from InstallUISequence to InstallExecuteSequence.

If this does not help please send us the aip file and verbose log of the installation to support at advancedinstaller dot com so we can investigate this further more.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”