Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
625583ef
Commit
625583ef
authored
Nov 22, 2004
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle unknown parameters more gracefully.
parent
5042516c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
msiexec.c
programs/msiexec/msiexec.c
+20
-0
No files found.
programs/msiexec/msiexec.c
View file @
625583ef
...
...
@@ -181,6 +181,7 @@ int main(int argc, char *argv[])
BOOL
FunctionDllUnregisterServer
=
FALSE
;
BOOL
FunctionRegServer
=
FALSE
;
BOOL
FunctionUnregServer
=
FALSE
;
BOOL
FunctionUnknown
=
FALSE
;
BOOL
GotProductCode
=
FALSE
;
LPCSTR
PackageName
=
NULL
;
...
...
@@ -523,6 +524,11 @@ int main(int argc, char *argv[])
{
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_PROGRESSONLY
;
}
else
if
(
!
strcasecmp
(
argv
[
i
]
+
2
,
"b+!"
))
{
InstallUILevel
=
INSTALLUILEVEL_BASIC
|
INSTALLUILEVEL_ENDDIALOG
;
WINE_FIXME
(
"Unknown modifier: !
\n
"
);
}
else
{
fprintf
(
stderr
,
"Unknown option
\"
%s
\"
for UI level
\n
"
,
argv
[
i
]
+
2
);
...
...
@@ -556,6 +562,16 @@ int main(int argc, char *argv[])
{
ShowUsage
(
0
);
}
else
if
(
!
strcasecmp
(
argv
[
i
],
"/m"
))
{
FunctionUnknown
=
TRUE
;
WINE_FIXME
(
"Unknown parameter /m
\n
"
);
}
else
if
(
!
strcasecmp
(
argv
[
i
],
"/D"
))
{
FunctionUnknown
=
TRUE
;
WINE_FIXME
(
"Unknown parameter /D
\n
"
);
}
else
if
(
strchr
(
argv
[
i
],
'='
))
{
StringListAppend
(
&
Properties
,
argv
[
i
]);
...
...
@@ -638,6 +654,10 @@ int main(int argc, char *argv[])
{
WINE_FIXME
(
"/unregserver not implemented yet, ignoring
\n
"
);
}
else
if
(
FunctionUnknown
)
{
WINE_FIXME
(
"Unknown function, ignoring
\n
"
);
}
else
ShowUsage
(
1
);
...
...
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