Commit 82f4e398 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Send the expected data to set_deferred_action_props.

parent a00aa039
......@@ -157,7 +157,7 @@ static LPWSTR msi_get_deferred_action(LPCWSTR action, LPCWSTR actiondata,
static void set_deferred_action_props(MSIPACKAGE *package, LPWSTR deferred_data)
{
LPWSTR end, beg = deferred_data;
LPWSTR end, beg = deferred_data + 1;
end = strchrW(beg, ';');
*end = '\0';
......@@ -189,11 +189,10 @@ UINT ACTION_CustomAction(MSIPACKAGE *package,LPCWSTR action, BOOL execute)
LPWSTR action_copy = strdupW(action);
WCHAR *deformated=NULL;
/* deferred action: [CustomActionData]Action */
/* deferred action: [properties]Action */
if ((ptr = strchrW(action_copy, ']')))
{
deferred_data = action_copy + 1;
*ptr = '\0';
deferred_data = action_copy;
action = ptr + 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment