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
566c69e7
Commit
566c69e7
authored
Sep 22, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify the ProcessComponents action a little.
parent
680bf12a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
action.c
dlls/msi/action.c
+7
-11
No files found.
dlls/msi/action.c
View file @
566c69e7
...
...
@@ -2466,13 +2466,12 @@ static UINT ACTION_ProcessComponents(MSIPACKAGE *package)
ui_progress
(
package
,
2
,
0
,
0
,
0
);
if
(
comp
->
ComponentId
)
{
WCHAR
*
keypath
=
NULL
;
MSIRECORD
*
uirow
;
squash_guid
(
comp
->
ComponentId
,
squished_cc
);
keypath
=
resolve_keypath
(
package
,
comp
);
comp
->
FullKeypath
=
keypath
;
msi_free
(
comp
->
FullKeypath
);
comp
->
FullKeypath
=
resolve_keypath
(
package
,
comp
)
;
/* do the refcounting */
ACTION_RefCountComponent
(
package
,
comp
);
...
...
@@ -2493,9 +2492,9 @@ static UINT ACTION_ProcessComponents(MSIPACKAGE *package)
if
(
rc
!=
ERROR_SUCCESS
)
continue
;
if
(
k
eypath
)
if
(
comp
->
FullK
eypath
)
{
msi_reg_set_val_str
(
hkey2
,
squished_pc
,
k
eypath
);
msi_reg_set_val_str
(
hkey2
,
squished_pc
,
comp
->
FullK
eypath
);
if
(
comp
->
Attributes
&
msidbComponentAttributesPermanent
)
{
...
...
@@ -2504,7 +2503,7 @@ static UINT ACTION_ProcessComponents(MSIPACKAGE *package)
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
0
};
msi_reg_set_val_str
(
hkey2
,
szPermKey
,
k
eypath
);
msi_reg_set_val_str
(
hkey2
,
szPermKey
,
comp
->
FullK
eypath
);
}
RegCloseKey
(
hkey2
);
...
...
@@ -2513,7 +2512,7 @@ static UINT ACTION_ProcessComponents(MSIPACKAGE *package)
uirow
=
MSI_CreateRecord
(
3
);
MSI_RecordSetStringW
(
uirow
,
1
,
package
->
ProductCode
);
MSI_RecordSetStringW
(
uirow
,
2
,
comp
->
ComponentId
);
MSI_RecordSetStringW
(
uirow
,
3
,
k
eypath
);
MSI_RecordSetStringW
(
uirow
,
3
,
comp
->
FullK
eypath
);
ui_actiondata
(
package
,
szProcessComponents
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
}
...
...
@@ -2788,11 +2787,8 @@ static UINT ITERATE_CreateShortcuts(MSIRECORD *row, LPVOID param)
}
else
{
LPWSTR
keypath
;
FIXME
(
"poorly handled shortcut format, advertised shortcut
\n
"
);
keypath
=
strdupW
(
comp
->
FullKeypath
);
IShellLinkW_SetPath
(
sl
,
keypath
);
msi_free
(
keypath
);
IShellLinkW_SetPath
(
sl
,
comp
->
FullKeypath
);
}
if
(
!
MSI_RecordIsNull
(
row
,
6
))
...
...
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