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
ece0ae0a
Commit
ece0ae0a
authored
Jul 19, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Jul 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Implement the SetInstallLevel event.
parent
de73481c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
events.c
dlls/msi/events.c
+12
-0
No files found.
dlls/msi/events.c
View file @
ece0ae0a
...
...
@@ -35,6 +35,7 @@ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/contr
#include "action.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
...
...
@@ -368,6 +369,16 @@ UINT ACTION_DialogBox( MSIPACKAGE* package, LPCWSTR szDialogName )
return
r
;
}
static
UINT
ControlEvent_SetInstallLevel
(
MSIPACKAGE
*
package
,
LPCWSTR
argument
,
msi_dialog
*
dialog
)
{
int
iInstallLevel
=
atolW
(
argument
);
TRACE
(
"Setting install level: %i
\n
"
,
iInstallLevel
);
return
MSI_SetInstallLevel
(
package
,
iInstallLevel
);
}
static
const
struct
_events
Events
[]
=
{
{
"EndDialog"
,
ControlEvent_EndDialog
},
{
"NewDialog"
,
ControlEvent_NewDialog
},
...
...
@@ -379,6 +390,7 @@ static const struct _events Events[] = {
{
"AddSource"
,
ControlEvent_AddSource
},
{
"SetTargetPath"
,
ControlEvent_SetTargetPath
},
{
"Reset"
,
ControlEvent_Reset
},
{
"SetInstallLevel"
,
ControlEvent_SetInstallLevel
},
{
NULL
,
NULL
},
};
...
...
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