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
ee72fb28
Commit
ee72fb28
authored
Jun 03, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add install_on_demand for Extension servers also. currently defaulting
to TRUE. Extension need to have 1 verb to mark the given progid to be installed.
parent
977806a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
action.c
dlls/msi/action.c
+13
-3
No files found.
dlls/msi/action.c
View file @
ee72fb28
...
...
@@ -6841,12 +6841,18 @@ static UINT ACTION_RegisterExtensionInfo(MSIPACKAGE *package)
HKEY
hkey
;
INT
i
;
MSIRECORD
*
uirow
;
BOOL
install_on_demand
=
TRUE
;
if
(
!
package
)
return
ERROR_INVALID_HANDLE
;
load_classes_and_such
(
package
);
/* We need to set install_on_demand based on if the shell handles advertised
* shortcuts and the like. Because Mike McCormack is working on this i am
* going to default to TRUE
*/
for
(
i
=
0
;
i
<
package
->
loaded_extensions
;
i
++
)
{
WCHAR
extension
[
257
];
...
...
@@ -6864,8 +6870,8 @@ static UINT ACTION_RegisterExtensionInfo(MSIPACKAGE *package)
*/
if
((
!
ACTION_VerifyFeatureForAction
(
package
,
f_index
,
INSTALLSTATE_LOCAL
))
&&
(
!
ACTION_VerifyFeatureForAction
(
package
,
f_index
,
INSTALLSTATE_ADVERTISED
)))
!
(
install_on_demand
&&
ACTION_VerifyFeatureForAction
(
package
,
f_index
,
INSTALLSTATE_ADVERTISED
)))
{
TRACE
(
"Skipping extension %s reg due to disabled feature %s
\n
"
,
debugstr_w
(
package
->
extensions
[
i
].
Extension
),
...
...
@@ -6879,7 +6885,11 @@ static UINT ACTION_RegisterExtensionInfo(MSIPACKAGE *package)
package
->
extensions
[
i
].
Installed
=
TRUE
;
if
(
package
->
extensions
[
i
].
ProgIDIndex
>=
0
)
/* this is only registered if the extension has at least 1 verb
* according to MSDN
*/
if
(
package
->
extensions
[
i
].
ProgIDIndex
>=
0
&&
package
->
extensions
[
i
].
VerbCount
>
0
)
mark_progid_for_install
(
package
,
package
->
extensions
[
i
].
ProgIDIndex
);
if
(
package
->
extensions
[
i
].
MIMEIndex
>=
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