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
3730300a
Commit
3730300a
authored
Sep 02, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Set the MsiAMD64 and Msix64 properties on 64-bit.
parent
18ebf2c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
package.c
dlls/msi/package.c
+8
-0
No files found.
dlls/msi/package.c
View file @
3730300a
...
...
@@ -684,6 +684,8 @@ static VOID set_installer_properties(MSIPACKAGE *package)
static
const
WCHAR
szColorBits
[]
=
{
'C'
,
'o'
,
'l'
,
'o'
,
'r'
,
'B'
,
'i'
,
't'
,
's'
,
0
};
static
const
WCHAR
szIntFormat
[]
=
{
'%'
,
'd'
,
0
};
static
const
WCHAR
szIntel
[]
=
{
'I'
,
'n'
,
't'
,
'e'
,
'l'
,
0
};
static
const
WCHAR
szMsiAMD64
[]
=
{
'M'
,
's'
,
'i'
,
'A'
,
'M'
,
'D'
,
'6'
,
'4'
,
0
};
static
const
WCHAR
szMsix64
[]
=
{
'M'
,
's'
,
'i'
,
'x'
,
'6'
,
'4'
,
0
};
static
const
WCHAR
szUserInfo
[]
=
{
'S'
,
'O'
,
'F'
,
'T'
,
'W'
,
'A'
,
'R'
,
'E'
,
'\\'
,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
'\\'
,
...
...
@@ -845,6 +847,12 @@ static VOID set_installer_properties(MSIPACKAGE *package)
sprintfW
(
bufstr
,
szIntFormat
,
sys_info
.
wProcessorLevel
);
msi_set_property
(
package
->
db
,
szIntel
,
bufstr
);
}
else
if
(
sys_info
.
u
.
s
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_AMD64
)
{
sprintfW
(
bufstr
,
szIntFormat
,
sys_info
.
wProcessorLevel
);
msi_set_property
(
package
->
db
,
szMsiAMD64
,
bufstr
);
msi_set_property
(
package
->
db
,
szMsix64
,
bufstr
);
}
/* Screen properties. */
dc
=
GetDC
(
0
);
...
...
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