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
bec5549d
Commit
bec5549d
authored
May 23, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
May 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Double terminate SZ_MULTI properly.
ClassInfo and ExtensionInfo are also written for ADVERTISED components.
parent
fefad8fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
action.c
dlls/msi/action.c
+12
-4
No files found.
dlls/msi/action.c
View file @
bec5549d
...
...
@@ -3691,6 +3691,10 @@ static UINT ACTION_WriteRegistryValues(MSIPACKAGE *package)
deformat_string
(
package
,
name
,
&
deformated
);
/* get the double nulls to terminate SZ_MULTI */
if
(
type
==
REG_MULTI_SZ
)
size
+=
sizeof
(
WCHAR
);
if
(
!
check_first
)
{
TRACE
(
"Setting value %s of %s
\n
"
,
debugstr_w
(
deformated
),
...
...
@@ -4586,8 +4590,10 @@ static UINT ACTION_RegisterClassInfo(MSIPACKAGE *package)
continue
;
}
if
(
!
ACTION_VerifyComponentForAction
(
package
,
index
,
INSTALLSTATE_LOCAL
))
if
((
!
ACTION_VerifyComponentForAction
(
package
,
index
,
INSTALLSTATE_LOCAL
))
&&
(
!
ACTION_VerifyComponentForAction
(
package
,
index
,
INSTALLSTATE_ADVERTISED
)))
{
TRACE
(
"Skipping class reg due to disabled component
\n
"
);
msiobj_release
(
&
row
->
hdr
);
...
...
@@ -6050,8 +6056,10 @@ static UINT ACTION_RegisterExtensionInfo(MSIPACKAGE *package)
continue
;
}
if
(
!
ACTION_VerifyComponentForAction
(
package
,
index
,
INSTALLSTATE_LOCAL
))
if
((
!
ACTION_VerifyComponentForAction
(
package
,
index
,
INSTALLSTATE_LOCAL
))
&&
(
!
ACTION_VerifyComponentForAction
(
package
,
index
,
INSTALLSTATE_ADVERTISED
)))
{
TRACE
(
"Skipping extension reg due to disabled component
\n
"
);
msiobj_release
(
&
row
->
hdr
);
...
...
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