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
a5d15b3b
Commit
a5d15b3b
authored
Apr 20, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix a few tests that fail in win9x.
parent
6c4d9448
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
install.c
dlls/msi/tests/install.c
+18
-4
No files found.
dlls/msi/tests/install.c
View file @
a5d15b3b
...
@@ -1956,8 +1956,9 @@ static void test_concurrentinstall(void)
...
@@ -1956,8 +1956,9 @@ static void test_concurrentinstall(void)
r
=
MsiInstallProductA
(
msifile
,
NULL
);
r
=
MsiInstallProductA
(
msifile
,
NULL
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
if
(
!
delete_pf
(
"msitest
\\
augustus"
,
TRUE
))
trace
(
"concurrent installs not supported
\n
"
);
ok
(
delete_pf
(
"msitest
\\
maximus"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
maximus"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
augustus"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
DeleteFile
(
path
);
DeleteFile
(
path
);
...
@@ -1978,6 +1979,10 @@ static void test_concurrentinstall(void)
...
@@ -1978,6 +1979,10 @@ static void test_concurrentinstall(void)
static
void
test_setpropertyfolder
(
void
)
static
void
test_setpropertyfolder
(
void
)
{
{
UINT
r
;
UINT
r
;
CHAR
path
[
MAX_PATH
];
lstrcpyA
(
path
,
PROG_FILES_DIR
);
lstrcatA
(
path
,
"
\\
msitest
\\
added"
);
CreateDirectoryA
(
"msitest"
,
NULL
);
CreateDirectoryA
(
"msitest"
,
NULL
);
create_file
(
"msitest
\\
maximus"
,
500
);
create_file
(
"msitest
\\
maximus"
,
500
);
...
@@ -1988,9 +1993,18 @@ static void test_setpropertyfolder(void)
...
@@ -1988,9 +1993,18 @@ static void test_setpropertyfolder(void)
r
=
MsiInstallProductA
(
msifile
,
NULL
);
r
=
MsiInstallProductA
(
msifile
,
NULL
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %u
\n
"
,
r
);
ok
(
delete_pf
(
"msitest
\\
added
\\
maximus"
,
TRUE
),
"File not installed
\n
"
);
if
(
GetFileAttributesA
(
path
)
==
FILE_ATTRIBUTE_DIRECTORY
)
ok
(
delete_pf
(
"msitest
\\
added"
,
FALSE
),
"File not installed
\n
"
);
{
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
added
\\
maximus"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
added"
,
FALSE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
}
else
{
trace
(
"changing folder property not supported
\n
"
);
ok
(
delete_pf
(
"msitest
\\
maximus"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
}
/* Delete the files in the temp (current) folder */
/* Delete the files in the temp (current) folder */
DeleteFile
(
msifile
);
DeleteFile
(
msifile
);
...
...
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