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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
msi.c
dlls/msi/tests/msi.c
+6
-7
No files found.
dlls/msi/tests/msi.c
View file @
f9f2e911
...
@@ -1760,7 +1760,6 @@ static void test_MsiGetComponentPath(void)
...
@@ -1760,7 +1760,6 @@ static void test_MsiGetComponentPath(void)
RegDeleteKeyA
(
compkey
,
""
);
RegDeleteKeyA
(
compkey
,
""
);
RegCloseKey
(
prodkey
);
RegCloseKey
(
prodkey
);
RegCloseKey
(
compkey
);
RegCloseKey
(
compkey
);
RegCloseKey
(
installprop
);
DeleteFileA
(
"C:
\\
imapath"
);
DeleteFileA
(
"C:
\\
imapath"
);
lstrcpyA
(
keypath
,
"Software
\\
Classes
\\
Installer
\\
Products
\\
"
);
lstrcpyA
(
keypath
,
"Software
\\
Classes
\\
Installer
\\
Products
\\
"
);
...
@@ -1923,9 +1922,6 @@ static void test_MsiGetProductCode(void)
...
@@ -1923,9 +1922,6 @@ static void test_MsiGetProductCode(void)
RegDeleteKeyA
(
prodkey
,
""
);
RegDeleteKeyA
(
prodkey
,
""
);
RegCloseKey
(
prodkey
);
RegCloseKey
(
prodkey
);
RegDeleteKeyA
(
prodkey
,
""
);
RegCloseKey
(
prodkey
);
lstrcpyA
(
keypath
,
"Software
\\
Microsoft
\\
Installer
\\
Products
\\
"
);
lstrcpyA
(
keypath
,
"Software
\\
Microsoft
\\
Installer
\\
Products
\\
"
);
lstrcatA
(
keypath
,
prod_squashed
);
lstrcatA
(
keypath
,
prod_squashed
);
...
@@ -7368,9 +7364,12 @@ static void test_MsiOpenProduct(void)
...
@@ -7368,9 +7364,12 @@ static void test_MsiOpenProduct(void)
/* LocalPackage has just the package name */
/* LocalPackage has just the package name */
hprod
=
0xdeadbeef
;
hprod
=
0xdeadbeef
;
r
=
MsiOpenProductA
(
prodcode
,
&
hprod
);
r
=
MsiOpenProductA
(
prodcode
,
&
hprod
);
ok
(
r
==
ERROR_INSTALL_PACKAGE_OPEN_FAILED
,
ok
(
r
==
ERROR_INSTALL_PACKAGE_OPEN_FAILED
||
r
==
ERROR_SUCCESS
,
"Expected ERROR_INSTALL_PACKAGE_OPEN_FAILED, got %d
\n
"
,
r
);
"Expected ERROR_INSTALL_PACKAGE_OPEN_FAILED or ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
hprod
==
0xdeadbeef
,
"Expected hprod to be unchanged
\n
"
);
if
(
r
==
ERROR_SUCCESS
)
MsiCloseHandle
(
hprod
);
else
ok
(
hprod
==
0xdeadbeef
,
"Expected hprod to be unchanged
\n
"
);
lstrcpyA
(
val
,
path
);
lstrcpyA
(
val
,
path
);
lstrcatA
(
val
,
"
\\
winetest.msi"
);
lstrcatA
(
val
,
"
\\
winetest.msi"
);
...
...
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