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
9089835c
Commit
9089835c
authored
Jul 27, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Jul 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use a more unique property separator.
parent
ac1f717a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
custom.c
dlls/msi/custom.c
+10
-6
No files found.
dlls/msi/custom.c
View file @
9089835c
...
...
@@ -137,7 +137,7 @@ static BOOL check_execution_scheduling_options(MSIPACKAGE *package, LPCWSTR acti
/* stores the following properties before the action:
*
* [CustomActionData
][UserSID][
ProductCode]Action
* [CustomActionData
<=>UserSID<=>
ProductCode]Action
*/
static
LPWSTR
msi_get_deferred_action
(
LPCWSTR
action
,
LPCWSTR
actiondata
,
LPCWSTR
usersid
,
LPCWSTR
prodcode
)
...
...
@@ -145,7 +145,9 @@ static LPWSTR msi_get_deferred_action(LPCWSTR action, LPCWSTR actiondata,
LPWSTR
deferred
;
DWORD
len
;
static
const
WCHAR
format
[]
=
{
'['
,
'%'
,
's'
,
']'
,
'['
,
'%'
,
's'
,
']'
,
'['
,
'%'
,
's'
,
']'
,
'%'
,
's'
,
0
};
static
const
WCHAR
format
[]
=
{
'['
,
'%'
,
's'
,
'<'
,
'='
,
'>'
,
'%'
,
's'
,
'<'
,
'='
,
'>'
,
'%'
,
's'
,
']'
,
'%'
,
's'
,
0
};
if
(
!
actiondata
)
return
strdupW
(
action
);
...
...
@@ -162,15 +164,17 @@ static void set_deferred_action_props(MSIPACKAGE *package, LPWSTR deferred_data)
{
LPWSTR
end
,
beg
=
deferred_data
+
1
;
end
=
strchrW
(
beg
,
']'
);
static
const
WCHAR
sep
[]
=
{
'<'
,
'='
,
'>'
,
0
};
end
=
strstrW
(
beg
,
sep
);
*
end
=
'\0'
;
MSI_SetPropertyW
(
package
,
szActionData
,
beg
);
beg
=
end
+
2
;
beg
=
end
+
3
;
end
=
str
chrW
(
beg
,
']'
);
end
=
str
strW
(
beg
,
sep
);
*
end
=
'\0'
;
MSI_SetPropertyW
(
package
,
UserSID
,
beg
);
beg
=
end
+
2
;
beg
=
end
+
3
;
end
=
strchrW
(
beg
,
']'
);
*
end
=
'\0'
;
...
...
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