mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[MSIEXEC]
sync msiexec to wine 1.1.39 svn path=/trunk/; revision=45742
This commit is contained in:
parent
86a010102c
commit
7d4885984e
1 changed files with 5 additions and 3 deletions
|
@ -47,6 +47,7 @@ static const char UsageStr[] =
|
||||||
" Install a product:\n"
|
" Install a product:\n"
|
||||||
" msiexec {package|productcode} [property]\n"
|
" msiexec {package|productcode} [property]\n"
|
||||||
" msiexec /i {package|productcode} [property]\n"
|
" msiexec /i {package|productcode} [property]\n"
|
||||||
|
" msiexec /package {package|productcode} [property]\n"
|
||||||
" msiexec /a package [property]\n"
|
" msiexec /a package [property]\n"
|
||||||
" Repair an installation:\n"
|
" Repair an installation:\n"
|
||||||
" msiexec /f[p|o|e|d|c|a|u|m|s|v] {package|productcode}\n"
|
" msiexec /f[p|o|e|d|c|a|u|m|s|v] {package|productcode}\n"
|
||||||
|
@ -562,12 +563,13 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
||||||
{
|
{
|
||||||
FunctionUnregServer = TRUE;
|
FunctionUnregServer = TRUE;
|
||||||
}
|
}
|
||||||
else if(msi_option_prefix(argvW[i], "i"))
|
else if(msi_option_prefix(argvW[i], "i") || msi_option_prefix(argvW[i], "package"))
|
||||||
{
|
{
|
||||||
LPWSTR argvWi = argvW[i];
|
LPWSTR argvWi = argvW[i];
|
||||||
|
int argLen = (msi_option_prefix(argvW[i], "i") ? 2 : 8);
|
||||||
FunctionInstall = TRUE;
|
FunctionInstall = TRUE;
|
||||||
if(lstrlenW(argvWi) > 2)
|
if(lstrlenW(argvW[i]) > argLen)
|
||||||
argvWi += 2;
|
argvWi += argLen;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in a new issue