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
f9f2e911
Commit
f9f2e911
authored
Jan 11, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Jan 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Opening package with relative filename sometimes succeeds on Windows.
parent
07f99910
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
msi.c
dlls/msi/tests/msi.c
+5
-6
No files found.
dlls/msi/tests/msi.c
View file @
f9f2e911
...
...
@@ -1760,7 +1760,6 @@ static void test_MsiGetComponentPath(void)
RegDeleteKeyA
(
compkey
,
""
);
RegCloseKey
(
prodkey
);
RegCloseKey
(
compkey
);
RegCloseKey
(
installprop
);
DeleteFileA
(
"C:
\\
imapath"
);
lstrcpyA
(
keypath
,
"Software
\\
Classes
\\
Installer
\\
Products
\\
"
);
...
...
@@ -1923,9 +1922,6 @@ static void test_MsiGetProductCode(void)
RegDeleteKeyA
(
prodkey
,
""
);
RegCloseKey
(
prodkey
);
RegDeleteKeyA
(
prodkey
,
""
);
RegCloseKey
(
prodkey
);
lstrcpyA
(
keypath
,
"Software
\\
Microsoft
\\
Installer
\\
Products
\\
"
);
lstrcatA
(
keypath
,
prod_squashed
);
...
...
@@ -7368,8 +7364,11 @@ static void test_MsiOpenProduct(void)
/* LocalPackage has just the package name */
hprod
=
0xdeadbeef
;
r
=
MsiOpenProductA
(
prodcode
,
&
hprod
);
ok
(
r
==
ERROR_INSTALL_PACKAGE_OPEN_FAILED
,
"Expected ERROR_INSTALL_PACKAGE_OPEN_FAILED, got %d
\n
"
,
r
);
ok
(
r
==
ERROR_INSTALL_PACKAGE_OPEN_FAILED
||
r
==
ERROR_SUCCESS
,
"Expected ERROR_INSTALL_PACKAGE_OPEN_FAILED or ERROR_SUCCESS, got %d
\n
"
,
r
);
if
(
r
==
ERROR_SUCCESS
)
MsiCloseHandle
(
hprod
);
else
ok
(
hprod
==
0xdeadbeef
,
"Expected hprod to be unchanged
\n
"
);
lstrcpyA
(
val
,
path
);
...
...
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