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
c547fb36
Commit
c547fb36
authored
Mar 05, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Display the product code in the PublishProduct action.
parent
e90fbf09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
action.c
dlls/msi/action.c
+7
-9
No files found.
dlls/msi/action.c
View file @
c547fb36
...
...
@@ -3469,7 +3469,6 @@ static UINT ITERATE_PublishIcon(MSIRECORD *row, LPVOID param)
CHAR
buffer
[
1024
];
DWORD
sz
;
UINT
rc
;
MSIRECORD
*
uirow
;
FileName
=
MSI_RecordGetString
(
row
,
1
);
if
(
!
FileName
)
...
...
@@ -3508,14 +3507,8 @@ static UINT ITERATE_PublishIcon(MSIRECORD *row, LPVOID param)
}
while
(
sz
==
1024
);
msi_free
(
FilePath
);
CloseHandle
(
the_file
);
uirow
=
MSI_CreateRecord
(
1
);
MSI_RecordSetStringW
(
uirow
,
1
,
FileName
);
ui_actiondata
(
package
,
szPublishProduct
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
return
ERROR_SUCCESS
;
}
...
...
@@ -3777,8 +3770,8 @@ done:
static
UINT
ACTION_PublishProduct
(
MSIPACKAGE
*
package
)
{
UINT
rc
;
HKEY
hukey
=
0
;
HKEY
hudkey
=
0
;
HKEY
hukey
=
NULL
,
hudkey
=
NULL
;
MSIRECORD
*
uirow
;
/* FIXME: also need to publish if the product is in advertise mode */
if
(
!
msi_check_publish
(
package
))
...
...
@@ -3816,6 +3809,11 @@ static UINT ACTION_PublishProduct(MSIPACKAGE *package)
rc
=
msi_publish_icons
(
package
);
end:
uirow
=
MSI_CreateRecord
(
1
);
MSI_RecordSetStringW
(
uirow
,
1
,
package
->
ProductCode
);
ui_actiondata
(
package
,
szPublishProduct
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
RegCloseKey
(
hukey
);
RegCloseKey
(
hudkey
);
...
...
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