Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
dd142bf5
Commit
dd142bf5
authored
Sep 28, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Sep 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Fix explicit C:\\Program Files\\ references.
parent
ab05d35c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
install.c
dlls/msi/tests/install.c
+9
-4
No files found.
dlls/msi/tests/install.c
View file @
dd142bf5
...
...
@@ -3068,6 +3068,7 @@ static void test_publish_processcomponents(void)
LPSTR
usersid
;
CHAR
val
[
MAX_PATH
];
CHAR
keypath
[
MAX_PATH
];
CHAR
program_files_maximus
[
MAX_PATH
];
static
const
CHAR
keyfmt
[]
=
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Installer
\\
"
...
...
@@ -3104,8 +3105,12 @@ static void test_publish_processcomponents(void)
res
=
RegQueryValueExA
(
comp
,
"84A88FD7F6998CE40A22FB59F6B9C2BB"
,
NULL
,
NULL
,
(
LPBYTE
)
val
,
&
size
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
ok
(
!
lstrcmpA
(
val
,
"C:
\\
Program Files
\\
msitest
\\
maximus"
),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
"C:
\\
Program Files
\\
msitest
\\
maximus"
,
val
);
lstrcpyA
(
program_files_maximus
,
PROG_FILES_DIR
);
lstrcatA
(
program_files_maximus
,
"
\\
msitest
\\
maximus"
);
ok
(
!
lstrcmpA
(
val
,
program_files_maximus
),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
program_files_maximus
,
val
);
res
=
RegOpenKeyA
(
HKEY_LOCAL_MACHINE
,
compkey
,
&
hkey
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"Expected ERROR_FILE_NOT_FOUND, got %d
\n
"
,
res
);
...
...
@@ -3148,8 +3153,8 @@ static void test_publish_processcomponents(void)
res
=
RegQueryValueExA
(
comp
,
"84A88FD7F6998CE40A22FB59F6B9C2BB"
,
NULL
,
NULL
,
(
LPBYTE
)
val
,
&
size
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
ok
(
!
lstrcmpA
(
val
,
"C:
\\
Program Files
\\
msitest
\\
maximus"
),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
"C:
\\
Program Files
\\
msitest
\\
maximus"
,
val
);
ok
(
!
lstrcmpA
(
val
,
program_files_maximus
),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
program_files_maximus
,
val
);
res
=
RegOpenKeyA
(
HKEY_LOCAL_MACHINE
,
compkey
,
&
hkey
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"Expected ERROR_FILE_NOT_FOUND, got %d
\n
"
,
res
);
...
...
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