Commit 671267a1 authored by Vitaly Lipatov's avatar Vitaly Lipatov Committed by Alexandre Julliard

Add ScreenX, ScreenY, ColorBits installer properties.

parent 5c4116bc
...@@ -229,12 +229,15 @@ static VOID set_installer_properties(MSIPACKAGE *package) ...@@ -229,12 +229,15 @@ static VOID set_installer_properties(MSIPACKAGE *package)
static const WCHAR szVersionMsi[] = { 'V','e','r','s','i','o','n','M','s','i',0 }; static const WCHAR szVersionMsi[] = { 'V','e','r','s','i','o','n','M','s','i',0 };
static const WCHAR szFormat2[] = {'%','l','i','.','%','l','i',0}; static const WCHAR szFormat2[] = {'%','l','i','.','%','l','i',0};
/* Screen properties */
static const WCHAR szScreenX[] = {'S','c','r','e','e','n','X',0};
static const WCHAR szScreenY[] = {'S','c','r','e','e','n','Y',0};
static const WCHAR szColorBits[] = {'C','o','l','o','r','B','i','t','s',0};
static const WCHAR szScreenFormat[] = {'%','d',0};
/* /*
* Other things I notice set * Other things I notice set
* *
ScreenY
ScreenX
SystemLanguageID SystemLanguageID
ComputerName ComputerName
UserLanguageID UserLanguageID
...@@ -251,7 +254,6 @@ CaptionHeight ...@@ -251,7 +254,6 @@ CaptionHeight
BorderTop BorderTop
BorderSide BorderSide
TextHeight TextHeight
ColorBits
RedirectedDllSupport RedirectedDllSupport
Time Time
Date Date
...@@ -359,6 +361,14 @@ Privileged ...@@ -359,6 +361,14 @@ Privileged
sprintfW( msiver, szFormat2, MSI_MAJORVERSION, MSI_MINORVERSION); sprintfW( msiver, szFormat2, MSI_MAJORVERSION, MSI_MINORVERSION);
MSI_SetPropertyW( package, szVersionMsi, msiver ); MSI_SetPropertyW( package, szVersionMsi, msiver );
/* Screen properties. FIXME: need to get correct values from system */
sprintfW( msiver, szScreenFormat, 800);
MSI_SetPropertyW( package, szScreenX, msiver );
sprintfW( msiver, szScreenFormat, 600);
MSI_SetPropertyW( package, szScreenY, msiver );
sprintfW( msiver, szScreenFormat, 24);
MSI_SetPropertyW( package, szColorBits, msiver );
} }
UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage) UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment