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
983cff23
Commit
983cff23
authored
Feb 12, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Fix a test failure on Win9x/WinMe.
parent
693dd476
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
install.c
dlls/msi/tests/install.c
+4
-14
No files found.
dlls/msi/tests/install.c
View file @
983cff23
...
...
@@ -7970,18 +7970,8 @@ static void test_self_registration(void)
static
void
test_register_font
(
void
)
{
static
const
WCHAR
regfont1
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
' '
,
'N'
,
'T'
,
'\\'
,
'C'
,
'u'
,
'r'
,
'r'
,
'e'
,
'n'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'\\'
,
'F'
,
'o'
,
'n'
,
't'
,
's'
,
0
};
static
const
WCHAR
regfont2
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
'\\'
,
'C'
,
'u'
,
'r'
,
'r'
,
'e'
,
'n'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'\\'
,
'F'
,
'o'
,
'n'
,
't'
,
's'
,
0
};
static
const
char
regfont1
[]
=
"Software
\\
Microsoft
\\
Windows NT
\\
CurrentVersion
\\
Fonts"
;
static
const
char
regfont2
[]
=
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Fonts"
;
LONG
ret
;
HKEY
key
;
UINT
r
;
...
...
@@ -7995,9 +7985,9 @@ static void test_register_font(void)
r
=
MsiInstallProductA
(
msifile
,
NULL
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
ret
=
Reg
CreateKeyW
(
HKEY_LOCAL_MACHINE
,
regfont1
,
&
key
);
ret
=
Reg
OpenKeyA
(
HKEY_LOCAL_MACHINE
,
regfont1
,
&
key
);
if
(
ret
)
ret
=
RegCreateKeyW
(
HKEY_LOCAL_MACHINE
,
regfont2
,
&
key
);
RegOpenKeyA
(
HKEY_LOCAL_MACHINE
,
regfont2
,
&
key
);
ret
=
RegQueryValueExA
(
key
,
"msi test font"
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
ret
!=
ERROR_FILE_NOT_FOUND
,
"unexpected result %d
\n
"
,
ret
);
...
...
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