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
194c30d1
Commit
194c30d1
authored
Nov 14, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make it clear where script type mask comes from.
parent
eebde117
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
script.c
dlls/msi/script.c
+4
-3
No files found.
dlls/msi/script.c
View file @
194c30d1
...
...
@@ -260,7 +260,7 @@ static HRESULT create_ActiveScriptSite(IUnknown *outer, void **obj)
if
(
outer
)
return
CLASS_E_NOAGGREGATION
;
object
=
msi_alloc
_zero
(
sizeof
(
MsiActiveScriptSite
)
);
object
=
msi_alloc
(
sizeof
(
MsiActiveScriptSite
)
);
object
->
IActiveScriptSite_iface
.
lpVtbl
=
&
activescriptsitevtbl
;
object
->
ref
=
1
;
...
...
@@ -303,9 +303,10 @@ DWORD call_script(MSIHANDLE hPackage, INT type, LPCWSTR script, LPCWSTR function
if
(
hr
!=
S_OK
)
goto
done
;
/* Create the scripting engine */
if
((
type
&
7
)
==
msidbCustomActionTypeJScript
)
type
&=
msidbCustomActionTypeJScript
|
msidbCustomActionTypeVBScript
;
if
(
type
==
msidbCustomActionTypeJScript
)
hr
=
CLSIDFromProgID
(
szJScript
,
&
clsid
);
else
if
(
(
type
&
7
)
==
msidbCustomActionTypeVBScript
)
else
if
(
type
==
msidbCustomActionTypeVBScript
)
hr
=
CLSIDFromProgID
(
szVBScript
,
&
clsid
);
else
{
ERR
(
"Unknown script type %d
\n
"
,
type
);
...
...
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