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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
20 deletions
+13
-20
msiexec.c
programs/msiexec/msiexec.c
+13
-20
No files found.
programs/msiexec/msiexec.c
View file @
171a4c41
...
@@ -886,10 +886,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
...
@@ -886,10 +886,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
{
{
InstallUILevel
=
INSTALLUILEVEL_NONE
;
InstallUILevel
=
INSTALLUILEVEL_NONE
;
}
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b"
))
{
InstallUILevel
=
INSTALLUILEVEL_BASIC
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"r"
))
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"r"
))
{
{
InstallUILevel
=
INSTALLUILEVEL_REDUCED
;
InstallUILevel
=
INSTALLUILEVEL_REDUCED
;
...
@@ -902,28 +898,25 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
...
@@ -902,28 +898,25 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
{
{
InstallUILevel
=
INSTALLUILEVEL_NONE
|
INSTALLUILEVEL_ENDDIALOG
;
InstallUILevel
=
INSTALLUILEVEL_NONE
|
INSTALLUILEVEL_ENDDIALOG
;
}
}
else
if
(
msi_str
equal
(
argvW
[
i
]
+
2
,
"b+
"
))
else
if
(
msi_str
prefix
(
argvW
[
i
]
+
2
,
"b
"
))
{
{
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_ENDDIALOG
;
const
WCHAR
*
ptr
=
argvW
[
i
]
+
3
;
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b-"
))
InstallUILevel
=
INSTALLUILEVEL_BASIC
;
while
(
*
ptr
)
{
{
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_PROGRESSONLY
;
if
(
msi_strprefix
(
ptr
,
"+"
))
}
InstallUILevel
|=
INSTALLUILEVEL_ENDDIALOG
;
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b+!"
))
if
(
msi_strprefix
(
ptr
,
"-"
))
InstallUILevel
|=
INSTALLUILEVEL_PROGRESSONLY
;
if
(
msi_strprefix
(
ptr
,
"!"
))
{
{
WINE_FIXME
(
"Unhandled modifier: !
\n
"
);
WINE_FIXME
(
"Unhandled modifier: !
\n
"
);
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_ENDDIALOG
|
INSTALLUILEVEL_HIDECANCEL
;
InstallUILevel
|=
INSTALLUILEVEL_HIDECANCEL
;
}
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b-!"
))
ptr
++
;
{
WINE_FIXME
(
"Unhandled modifier: !
\n
"
);
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_PROGRESSONLY
|
INSTALLUILEVEL_HIDECANCEL
;
}
}
else
if
(
msi_strequal
(
argvW
[
i
]
+
2
,
"b!"
))
{
WINE_FIXME
(
"Unhandled modifier: !
\n
"
);
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_HIDECANCEL
;
}
}
else
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