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
d02dbf44
Commit
d02dbf44
authored
Jun 04, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Initialize some variables.
parent
c1670fb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
registry.c
dlls/msi/registry.c
+1
-1
package.c
dlls/msi/tests/package.c
+3
-2
No files found.
dlls/msi/registry.c
View file @
d02dbf44
...
...
@@ -1822,7 +1822,7 @@ static UINT msi_check_product_patches(LPCWSTR prodcode, LPCWSTR usersid,
LPWSTR
patch
,
LPWSTR
targetprod
,
MSIINSTALLCONTEXT
*
targetctx
,
LPWSTR
targetsid
,
DWORD
*
sidsize
,
LPWSTR
*
transforms
)
{
MSIPATCHSTATE
state
;
MSIPATCHSTATE
state
=
MSIPATCHSTATE_INVALID
;
LPWSTR
ptr
,
patches
=
NULL
;
HKEY
prod
,
patchkey
=
0
;
HKEY
localprod
=
0
,
localpatch
=
0
;
...
...
dlls/msi/tests/package.c
View file @
d02dbf44
...
...
@@ -939,6 +939,7 @@ static void test_settargetpath(void)
sz
=
sizeof
tempdir
-
1
;
r
=
MsiGetTargetPath
(
hpkg
,
"TARGETDIR"
,
tempdir
,
&
sz
);
sprintf
(
file
,
"%srootfile.txt"
,
tempdir
);
buffer
[
0
]
=
0
;
query_file_path
(
hpkg
,
"[#RootFile]"
,
buffer
);
ok
(
r
==
ERROR_SUCCESS
,
"failed to get target path: %d
\n
"
,
r
);
ok
(
!
lstrcmp
(
buffer
,
file
),
"Expected %s, got %s
\n
"
,
file
,
buffer
);
...
...
@@ -11057,8 +11058,8 @@ static void test_access(void)
static
void
test_emptypackage
(
void
)
{
MSIHANDLE
hpkg
,
hdb
,
hsuminfo
;
MSIHANDLE
hview
,
hrec
;
MSIHANDLE
hpkg
=
0
,
hdb
=
0
,
hsuminfo
=
0
;
MSIHANDLE
hview
=
0
,
hrec
=
0
;
MSICONDITION
condition
;
CHAR
buffer
[
MAX_PATH
];
DWORD
size
;
...
...
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