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
171a4c41
Commit
171a4c41
authored
Oct 06, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msiexec: Fix parsing of basic UI level modifiers.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
parent
9372af77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
25 deletions
+18
-25
msiexec.c
programs/msiexec/msiexec.c
+18
-25
No files found.
programs/msiexec/msiexec.c
View file @
171a4c41
...
...
@@ -886,10 +886,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
{
InstallUILevel
=
INSTALLUILEVEL_NONE
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b"
))
{
InstallUILevel
=
INSTALLUILEVEL_BASIC
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"r"
))
{
InstallUILevel
=
INSTALLUILEVEL_REDUCED
;
...
...
@@ -902,28 +898,25 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
{
InstallUILevel
=
INSTALLUILEVEL_NONE
|
INSTALLUILEVEL_ENDDIALOG
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b+"
))
{
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_ENDDIALOG
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b-"
))
{
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_PROGRESSONLY
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b+!"
))
{
WINE_FIXME
(
"Unhandled modifier: !
\n
"
);
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_ENDDIALOG
|
INSTALLUILEVEL_HIDECANCEL
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b-!"
))
{
WINE_FIXME
(
"Unhandled modifier: !
\n
"
);
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_PROGRESSONLY
|
INSTALLUILEVEL_HIDECANCEL
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b!"
))
else
if
(
msi_strprefix
(
argvW
[
i
]
+
2
,
"b"
))
{
WINE_FIXME
(
"Unhandled modifier: !
\n
"
);
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_HIDECANCEL
;
const
WCHAR
*
ptr
=
argvW
[
i
]
+
3
;
InstallUILevel
=
INSTALLUILEVEL_BASIC
;
while
(
*
ptr
)
{
if
(
msi_strprefix
(
ptr
,
"+"
))
InstallUILevel
|=
INSTALLUILEVEL_ENDDIALOG
;
if
(
msi_strprefix
(
ptr
,
"-"
))
InstallUILevel
|=
INSTALLUILEVEL_PROGRESSONLY
;
if
(
msi_strprefix
(
ptr
,
"!"
))
{
WINE_FIXME
(
"Unhandled modifier: !
\n
"
);
InstallUILevel
|=
INSTALLUILEVEL_HIDECANCEL
;
}
ptr
++
;
}
}
else
{
...
...
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