Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
671267a1
Commit
671267a1
authored
Dec 16, 2004
by
Vitaly Lipatov
Committed by
Alexandre Julliard
Dec 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ScreenX, ScreenY, ColorBits installer properties.
parent
5c4116bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
package.c
dlls/msi/package.c
+13
-3
No files found.
dlls/msi/package.c
View file @
671267a1
...
...
@@ -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
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
*
ScreenY
ScreenX
SystemLanguageID
ComputerName
UserLanguageID
...
...
@@ -251,7 +254,6 @@ CaptionHeight
BorderTop
BorderSide
TextHeight
ColorBits
RedirectedDllSupport
Time
Date
...
...
@@ -359,6 +361,14 @@ Privileged
sprintfW
(
msiver
,
szFormat2
,
MSI_MAJORVERSION
,
MSI_MINORVERSION
);
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment