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
c7b53d37
Commit
c7b53d37
authored
Jul 12, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Jul 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix automation.c compile for MSVC.
parent
d1bd2ea9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
automation.c
dlls/msi/tests/automation.c
+5
-3
No files found.
dlls/msi/tests/automation.c
View file @
c7b53d37
...
...
@@ -37,6 +37,8 @@ static const WCHAR szMSITEST[] = { 'M','S','I','T','E','S','T',0 };
static
const
WCHAR
szProductCode
[]
=
{
'{'
,
'F'
,
'1'
,
'C'
,
'3'
,
'A'
,
'F'
,
'5'
,
'0'
,
'-'
,
'8'
,
'B'
,
'5'
,
'6'
,
'-'
,
'4'
,
'A'
,
'6'
,
'9'
,
'-'
,
'A'
,
'0'
,
'0'
,
'C'
,
'-'
,
'0'
,
'0'
,
'7'
,
'7'
,
'3'
,
'F'
,
'E'
,
'4'
,
'2'
,
'F'
,
'3'
,
'0'
,
'}'
,
0
};
static
const
WCHAR
szUpgradeCode
[]
=
{
'{'
,
'C'
,
'E'
,
'0'
,
'6'
,
'7'
,
'E'
,
'8'
,
'D'
,
'-'
,
'2'
,
'E'
,
'1'
,
'A'
,
'-'
,
'4'
,
'3'
,
'6'
,
'7'
,
'-'
,
'B'
,
'7'
,
'3'
,
'4'
,
'-'
,
'4'
,
'E'
,
'B'
,
'2'
,
'B'
,
'D'
,
'A'
,
'D'
,
'6'
,
'5'
,
'6'
,
'5'
,
'}'
,
0
};
static
const
WCHAR
szProductInfoException
[]
=
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'I'
,
'n'
,
'f'
,
'o'
,
','
,
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
','
,
'A'
,
't'
,
't'
,
'r'
,
'i'
,
'b'
,
'u'
,
't'
,
'e'
,
0
};
static
const
WCHAR
WINE_INSTALLPROPERTY_PACKAGENAMEW
[]
=
{
'P'
,
'a'
,
'c'
,
'k'
,
'a'
,
'g'
,
'e'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
WINE_INSTALLPROPERTY_PRODUCTNAMEW
[]
=
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
FILETIME
systemtime
;
static
CHAR
CURR_DIR
[
MAX_PATH
];
static
EXCEPINFO
excepinfo
;
...
...
@@ -2128,13 +2130,13 @@ static void test_Installer_InstallProduct(LPCWSTR szPath)
/* Package name */
memset
(
szString
,
0
,
sizeof
(
szString
));
hr
=
Installer_ProductInfo
(
szProductCode
,
INSTALLPROPERTY_PACKAGENAMEW
,
szString
);
hr
=
Installer_ProductInfo
(
szProductCode
,
WINE_
INSTALLPROPERTY_PACKAGENAMEW
,
szString
);
todo_wine
ok
(
hr
==
S_OK
,
"Installer_ProductInfo failed, hresult 0x%08x
\n
"
,
hr
);
todo_wine
ok_w2
(
"Installer_ProductInfo returned %s but expected %s
\n
"
,
szString
,
szMsifile
);
/* Product name */
memset
(
szString
,
0
,
sizeof
(
szString
));
hr
=
Installer_ProductInfo
(
szProductCode
,
INSTALLPROPERTY_PRODUCTNAMEW
,
szString
);
hr
=
Installer_ProductInfo
(
szProductCode
,
WINE_
INSTALLPROPERTY_PRODUCTNAMEW
,
szString
);
ok
(
hr
==
S_OK
,
"Installer_ProductInfo failed, hresult 0x%08x
\n
"
,
hr
);
ok_w2
(
"Installer_ProductInfo returned %s but expected %s
\n
"
,
szString
,
szMSITEST
);
...
...
@@ -2341,7 +2343,7 @@ static void test_Installer(void)
/* Package name */
memset
(
szPath
,
0
,
sizeof
(
szPath
));
hr
=
Installer_ProductInfo
(
szProductCode
,
INSTALLPROPERTY_PACKAGENAMEW
,
szPath
);
hr
=
Installer_ProductInfo
(
szProductCode
,
WINE_
INSTALLPROPERTY_PACKAGENAMEW
,
szPath
);
ok
(
hr
==
DISP_E_EXCEPTION
,
"Installer_ProductInfo failed, hresult 0x%08x
\n
"
,
hr
);
ok_exception
(
hr
,
szProductInfoException
);
...
...
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