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
531cab9f
Commit
531cab9f
authored
Mar 12, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Deformat the description field of INSTALLMESSAGE_ACTIONDATA messages.
parent
3a9d30d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
18 deletions
+16
-18
package.c
dlls/msi/package.c
+16
-18
No files found.
dlls/msi/package.c
View file @
531cab9f
...
...
@@ -1749,13 +1749,11 @@ MSIHANDLE WINAPI MsiGetActiveDatabase(MSIHANDLE hInstall)
INT
MSI_ProcessMessage
(
MSIPACKAGE
*
package
,
INSTALLMESSAGE
eMessageType
,
MSIRECORD
*
record
)
{
static
const
WCHAR
szActionData
[]
=
{
'A'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
'D'
,
'a'
,
't'
,
'a'
,
0
};
static
const
WCHAR
szSetProgress
[]
=
{
'S'
,
'e'
,
't'
,
'P'
,
'r'
,
'o'
,
'g'
,
'r'
,
'e'
,
's'
,
's'
,
0
};
static
const
WCHAR
szActionText
[]
=
{
'A'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
'T'
,
'e'
,
'x'
,
't'
,
0
};
LPWSTR
message
;
static
const
WCHAR
szActionData
[]
=
{
'A'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
'D'
,
'a'
,
't'
,
'a'
,
0
};
static
const
WCHAR
szSetProgress
[]
=
{
'S'
,
'e'
,
't'
,
'P'
,
'r'
,
'o'
,
'g'
,
'r'
,
'e'
,
's'
,
's'
,
0
};
static
const
WCHAR
szActionText
[]
=
{
'A'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
'T'
,
'e'
,
'x'
,
't'
,
0
};
MSIRECORD
*
uirow
;
LPWSTR
deformated
,
message
;
DWORD
i
,
len
,
total_len
,
log_type
=
0
;
INT
rc
=
0
;
char
*
msg
;
...
...
@@ -1894,27 +1892,27 @@ INT MSI_ProcessMessage( MSIPACKAGE *package, INSTALLMESSAGE eMessageType, MSIREC
switch
(
eMessageType
&
0xff000000
)
{
case
INSTALLMESSAGE_ACTIONDATA
:
/* FIXME: format record here instead of in ui_actiondata to get the
* correct action data for external scripts */
ControlEvent_FireSubscribedEvent
(
package
,
szActionData
,
record
);
deformat_string
(
package
,
MSI_RecordGetString
(
record
,
2
),
&
deformated
);
uirow
=
MSI_CreateRecord
(
1
);
MSI_RecordSetStringW
(
uirow
,
1
,
deformated
);
msi_free
(
deformated
);
ControlEvent_FireSubscribedEvent
(
package
,
szActionData
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
break
;
case
INSTALLMESSAGE_ACTIONSTART
:
{
MSIRECORD
*
uirow
;
LPWSTR
deformated
;
LPCWSTR
action_text
=
MSI_RecordGetString
(
record
,
2
);
deformat_string
(
package
,
action_text
,
&
deformated
);
case
INSTALLMESSAGE_ACTIONSTART
:
deformat_string
(
package
,
MSI_RecordGetString
(
record
,
2
),
&
deformated
);
uirow
=
MSI_CreateRecord
(
1
);
MSI_RecordSetStringW
(
uirow
,
1
,
deformated
);
TRACE
(
"INSTALLMESSAGE_ACTIONSTART: %s
\n
"
,
debugstr_w
(
deformated
));
msi_free
(
deformated
);
ControlEvent_FireSubscribedEvent
(
package
,
szActionText
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
break
;
}
case
INSTALLMESSAGE_PROGRESS
:
ControlEvent_FireSubscribedEvent
(
package
,
szSetProgress
,
record
);
break
;
...
...
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