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
f8f64406
Commit
f8f64406
authored
Mar 24, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Mar 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If running in UI mode, then display the UI mode dialogs at the end of
the installs.
parent
2dd3288c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
action.c
dlls/msi/action.c
+22
-7
No files found.
dlls/msi/action.c
View file @
f8f64406
...
...
@@ -61,7 +61,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msi);
*/
static
UINT
ACTION_ProcessExecSequence
(
MSIPACKAGE
*
package
,
BOOL
UIran
);
static
UINT
ACTION_ProcessUISequence
(
MSIPACKAGE
*
package
);
static
UINT
ACTION_PerformActionSequence
(
MSIPACKAGE
*
package
,
UINT
seq
);
static
UINT
ACTION_PerformActionSequence
(
MSIPACKAGE
*
package
,
UINT
seq
,
BOOL
UI
);
static
UINT
build_icon_path
(
MSIPACKAGE
*
package
,
LPCWSTR
icon_name
,
LPWSTR
*
FilePath
);
...
...
@@ -864,6 +864,7 @@ UINT ACTION_DoTopLevelINSTALL(MSIPACKAGE *package, LPCWSTR szPackagePath,
DWORD
sz
;
WCHAR
buffer
[
10
];
UINT
rc
;
BOOL
ui
=
FALSE
;
static
const
WCHAR
szUILevel
[]
=
{
'U'
,
'I'
,
'L'
,
'e'
,
'v'
,
'e'
,
'l'
,
0
};
static
const
WCHAR
szAction
[]
=
{
'A'
,
'C'
,
'T'
,
'I'
,
'O'
,
'N'
,
0
};
static
const
WCHAR
szInstall
[]
=
{
'I'
,
'N'
,
'S'
,
'T'
,
'A'
,
'L'
,
'L'
,
0
};
...
...
@@ -963,6 +964,7 @@ UINT ACTION_DoTopLevelINSTALL(MSIPACKAGE *package, LPCWSTR szPackagePath,
if
(
atoiW
(
buffer
)
>=
INSTALLUILEVEL_REDUCED
)
{
rc
=
ACTION_ProcessUISequence
(
package
);
ui
=
TRUE
;
if
(
rc
==
ERROR_SUCCESS
)
rc
=
ACTION_ProcessExecSequence
(
package
,
TRUE
);
}
...
...
@@ -980,13 +982,13 @@ UINT ACTION_DoTopLevelINSTALL(MSIPACKAGE *package, LPCWSTR szPackagePath,
/* process the ending type action */
if
(
rc
==
ERROR_SUCCESS
)
ACTION_PerformActionSequence
(
package
,
-
1
);
ACTION_PerformActionSequence
(
package
,
-
1
,
ui
);
else
if
(
rc
==
ERROR_INSTALL_USEREXIT
)
ACTION_PerformActionSequence
(
package
,
-
2
);
ACTION_PerformActionSequence
(
package
,
-
2
,
ui
);
else
if
(
rc
==
ERROR_FUNCTION_FAILED
)
ACTION_PerformActionSequence
(
package
,
-
3
);
ACTION_PerformActionSequence
(
package
,
-
3
,
ui
);
else
if
(
rc
==
ERROR_INSTALL_SUSPEND
)
ACTION_PerformActionSequence
(
package
,
-
4
);
ACTION_PerformActionSequence
(
package
,
-
4
,
ui
);
/* finish up running custom actions */
ACTION_FinishCustomActions
(
package
);
...
...
@@ -994,7 +996,7 @@ UINT ACTION_DoTopLevelINSTALL(MSIPACKAGE *package, LPCWSTR szPackagePath,
return
rc
;
}
static
UINT
ACTION_PerformActionSequence
(
MSIPACKAGE
*
package
,
UINT
seq
)
static
UINT
ACTION_PerformActionSequence
(
MSIPACKAGE
*
package
,
UINT
seq
,
BOOL
UI
)
{
MSIQUERY
*
view
;
UINT
rc
;
...
...
@@ -1007,6 +1009,15 @@ static UINT ACTION_PerformActionSequence(MSIPACKAGE *package, UINT seq)
'S'
,
'e'
,
'q'
,
'u'
,
'e'
,
'n'
,
'c'
,
'e'
,
' '
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
'S'
,
'e'
,
'q'
,
'u'
,
'e'
,
'n'
,
'c'
,
'e'
,
' '
,
'='
,
' '
,
'%'
,
'i'
,
0
};
static
const
WCHAR
UISeqQuery
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'I'
,
'n'
,
's'
,
't'
,
'a'
,
'l'
,
'l'
,
'U'
,
'I'
,
'S'
,
'e'
,
'q'
,
'u'
,
'e'
,
'n'
,
'c'
,
'e'
,
' '
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
'S'
,
'e'
,
'q'
,
'u'
,
'e'
,
'n'
,
'c'
,
'e'
,
' '
,
'='
,
' '
,
'%'
,
'i'
,
0
};
if
(
UI
)
rc
=
MSI_OpenQuery
(
package
->
db
,
&
view
,
UISeqQuery
,
seq
);
else
rc
=
MSI_OpenQuery
(
package
->
db
,
&
view
,
ExecSeqQuery
,
seq
);
if
(
rc
==
ERROR_SUCCESS
)
...
...
@@ -1058,6 +1069,9 @@ static UINT ACTION_PerformActionSequence(MSIPACKAGE *package, UINT seq)
goto
end
;
}
if
(
UI
)
rc
=
ACTION_PerformUIAction
(
package
,
buffer
);
else
rc
=
ACTION_PerformAction
(
package
,
buffer
);
msiobj_release
(
&
row
->
hdr
);
end:
...
...
@@ -3523,7 +3537,8 @@ static UINT ACTION_WriteRegistryValues(MSIPACKAGE *package)
value_data
=
parse_value
(
package
,
value
,
&
type
,
&
size
);
else
{
value_data
=
NULL
;
static
const
WCHAR
szEmpty
[]
=
{
0
};
value_data
=
(
LPSTR
)
strdupW
(
szEmpty
);
size
=
0
;
type
=
REG_SZ
;
}
...
...
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