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
044669e7
Commit
044669e7
authored
Jul 02, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Check the x86 program directory first for installed files.
parent
d0f60b05
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
automation.c
dlls/msi/tests/automation.c
+2
-1
install.c
dlls/msi/tests/install.c
+2
-1
patch.c
dlls/msi/tests/patch.c
+2
-1
No files found.
dlls/msi/tests/automation.c
View file @
044669e7
...
...
@@ -308,7 +308,8 @@ static BOOL get_program_files_dir(LPSTR buf)
return
FALSE
;
size
=
MAX_PATH
;
if
(
RegQueryValueEx
(
hkey
,
"ProgramFilesDir"
,
0
,
&
type
,
(
LPBYTE
)
buf
,
&
size
))
if
(
RegQueryValueEx
(
hkey
,
"ProgramFilesDir (x86)"
,
0
,
&
type
,
(
LPBYTE
)
buf
,
&
size
)
&&
RegQueryValueEx
(
hkey
,
"ProgramFilesDir"
,
0
,
&
type
,
(
LPBYTE
)
buf
,
&
size
))
return
FALSE
;
RegCloseKey
(
hkey
);
...
...
dlls/msi/tests/install.c
View file @
044669e7
...
...
@@ -3246,7 +3246,8 @@ static BOOL get_system_dirs(void)
return
FALSE
;
size
=
MAX_PATH
;
if
(
RegQueryValueExA
(
hkey
,
"ProgramFilesDir"
,
0
,
&
type
,
(
LPBYTE
)
PROG_FILES_DIR
,
&
size
))
{
if
(
RegQueryValueExA
(
hkey
,
"ProgramFilesDir (x86)"
,
0
,
&
type
,
(
LPBYTE
)
PROG_FILES_DIR
,
&
size
)
&&
RegQueryValueExA
(
hkey
,
"ProgramFilesDir"
,
0
,
&
type
,
(
LPBYTE
)
PROG_FILES_DIR
,
&
size
))
{
RegCloseKey
(
hkey
);
return
FALSE
;
}
...
...
dlls/msi/tests/patch.c
View file @
044669e7
...
...
@@ -159,7 +159,8 @@ static BOOL get_program_files_dir( char *buf, char *buf2 )
return
FALSE
;
size
=
MAX_PATH
;
if
(
RegQueryValueExA
(
hkey
,
"ProgramFilesDir"
,
0
,
&
type
,
(
LPBYTE
)
buf
,
&
size
))
if
(
RegQueryValueExA
(
hkey
,
"ProgramFilesDir (x86)"
,
0
,
&
type
,
(
LPBYTE
)
buf
,
&
size
)
&&
RegQueryValueExA
(
hkey
,
"ProgramFilesDir"
,
0
,
&
type
,
(
LPBYTE
)
buf
,
&
size
))
{
RegCloseKey
(
hkey
);
return
FALSE
;
...
...
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