On Thu, Jan 25, 2007 at 07:37:21AM -0500, Ilya Kogan wrote:
> Magnus Hagander wrote:
> > To me this sounds like the theme is broken. Especially since we only use it to look for terminal services stuff
iirc.it'd be interesting to see if this can be
> > reproduced on a different non standard
> > theme.
> >
> > /Magnus
> >
> >
> > ------- Original message -------
> > From: Ilya Kogan <ikogan@cs.ohiou.edu>
> > Sent: 1-14-'07, 20:05
> >
> >
> >> The following bug has been logged online:
> >>
> >> Bug reference: 2893
> >> Logged by: Ilya Kogan
> >> Email address: ikogan@cs.ohiou.edu
> >> PostgreSQL version: 8.1.6
> >> Operating system: Windows XP Pro SP-2
> >> Description: Non-standard theme explodes the installer.
> >> Details:
> >>
> >> I was trying to install 8.1.6 via the MSI installer and would keep getting
> >> "Could not get system metrics: 8" when trying to get past "Installation
> >> Notes" screen. After reading a bit about GetSystemMetrics, I decided to
> >> switch from my non-standard theme (Some msstyle downloaded from something
> >> that was googled) to Windows Classic.
> >>
> >> Surprisingly, the error went away and I was free to finish installing.
> >>
> >> I also tried installing 8.2 previously and that went without a hitch.
> >>
> >> ---------------------------(end of broadcast)---------------------------
> >> TIP 2: Don't 'kill -9' the postmaster
> >>
> You are correct, using the first theme that was a pure msstyle that you
> get when searching google for "msstyle",
> http://www.deviantart.com/deviation/30092322/, seemed to not cause the
> problem. It seems odd though that this occurs with 8.1.6 and not 8.2,
> nor does it happen with any other program I have so far run on this
> system. Is that installer really the only thing that uses
> GetSystemMetrics() in that way?
Not really. We don't call GetSystemMetrics() on XP anymore in 8.2, that
codepath only runs on Windows 2000.
//Magnus