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
973e86b8
Commit
973e86b8
authored
Dec 13, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Move some traces from implementations to entry points.
parent
b5446ddb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
msi.c
dlls/msi/msi.c
+10
-10
No files found.
dlls/msi/msi.c
View file @
973e86b8
...
...
@@ -2685,6 +2685,8 @@ UINT WINAPI MsiVerifyPackageW( LPCWSTR szPackage )
static
INSTALLSTATE
MSI_GetComponentPath
(
LPCWSTR
szProduct
,
LPCWSTR
szComponent
,
awstring
*
lpPathBuf
,
LPDWORD
pcchBuf
)
{
static
const
WCHAR
wininstaller
[]
=
{
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
'I'
,
'n'
,
's'
,
't'
,
'a'
,
'l'
,
'l'
,
'e'
,
'r'
,
0
};
WCHAR
squished_pc
[
GUID_SIZE
];
WCHAR
squished_comp
[
GUID_SIZE
];
HKEY
hkey
;
...
...
@@ -2692,12 +2694,6 @@ static INSTALLSTATE MSI_GetComponentPath(LPCWSTR szProduct, LPCWSTR szComponent,
INSTALLSTATE
state
;
DWORD
version
;
static
const
WCHAR
wininstaller
[]
=
{
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
'I'
,
'n'
,
's'
,
't'
,
'a'
,
'l'
,
'l'
,
'e'
,
'r'
,
0
};
TRACE
(
"%s %s %p %p
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szComponent
),
lpPathBuf
->
str
.
w
,
pcchBuf
);
if
(
!
szProduct
||
!
szComponent
)
return
INSTALLSTATE_INVALIDARG
;
...
...
@@ -2772,6 +2768,8 @@ INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR szProduct, LPCWSTR szComponent,
{
awstring
path
;
TRACE
(
"%s %s %p %p
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szComponent
),
lpPathBuf
,
pcchBuf
);
path
.
unicode
=
TRUE
;
path
.
str
.
w
=
lpPathBuf
;
...
...
@@ -2788,6 +2786,8 @@ INSTALLSTATE WINAPI MsiGetComponentPathA(LPCSTR szProduct, LPCSTR szComponent,
INSTALLSTATE
r
=
INSTALLSTATE_UNKNOWN
;
awstring
path
;
TRACE
(
"%s %s %p %p
\n
"
,
debugstr_a
(
szProduct
),
debugstr_a
(
szComponent
),
lpPathBuf
,
pcchBuf
);
szwProduct
=
strdupAtoW
(
szProduct
);
if
(
szProduct
&&
!
szwProduct
)
goto
end
;
...
...
@@ -3243,10 +3243,6 @@ static UINT MSI_ProvideQualifiedComponentEx(LPCWSTR szComponent,
DWORD
sz
;
UINT
rc
;
TRACE
(
"%s %s %i %s %i %i %p %p
\n
"
,
debugstr_w
(
szComponent
),
debugstr_w
(
szQualifier
),
dwInstallMode
,
debugstr_w
(
szProduct
),
Unused1
,
Unused2
,
lpPathBuf
,
pcchPathBuf
);
rc
=
MSIREG_OpenUserComponentsKey
(
szComponent
,
&
hkey
,
FALSE
);
if
(
rc
!=
ERROR_SUCCESS
)
return
ERROR_INDEX_ABSENT
;
...
...
@@ -3282,6 +3278,10 @@ UINT WINAPI MsiProvideQualifiedComponentExW(LPCWSTR szComponent,
{
awstring
path
;
TRACE
(
"%s %s %u %s %u %u %p %p
\n
"
,
debugstr_w
(
szComponent
),
debugstr_w
(
szQualifier
),
dwInstallMode
,
debugstr_w
(
szProduct
),
Unused1
,
Unused2
,
lpPathBuf
,
pcchPathBuf
);
path
.
unicode
=
TRUE
;
path
.
str
.
w
=
lpPathBuf
;
...
...
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