Commit 47f8c9a5 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Set full UI mode by default.

parent 50dc513b
......@@ -462,7 +462,7 @@ int main(int argc, char **argv)
LPWSTR PatchFileName = NULL;
INSTALLTYPE InstallType = INSTALLTYPE_DEFAULT;
INSTALLUILEVEL InstallUILevel = 0, retInstallUILevel;
INSTALLUILEVEL InstallUILevel = INSTALLUILEVEL_FULL;
LPWSTR DllName = NULL;
DWORD ReturnCode;
......@@ -483,9 +483,6 @@ int main(int argc, char **argv)
return 1;
}
for(i=0; i<argc; i++)
WINE_ERR("argv[%d]=%s\n",i,argv[i]);
for(i = 1; i < argc; i++)
{
WINE_TRACE("argvW[%d] = %s\n", i, wine_dbgstr_w(argvW[i]));
......@@ -812,12 +809,6 @@ int main(int argc, char **argv)
fprintf(stderr, "Unknown option \"%s\" for UI level\n",
wine_dbgstr_w(argvW[i]+2));
}
retInstallUILevel = MsiSetInternalUI(InstallUILevel, NULL);
if(retInstallUILevel == INSTALLUILEVEL_NOCHANGE)
{
fprintf(stderr, "Setting the UI level to 0x%x failed.\n", InstallUILevel);
ExitProcess(1);
}
}
else if(!msi_strequal(argvW[i], "/y"))
{
......@@ -862,6 +853,9 @@ int main(int argc, char **argv)
}
}
/* start the GUI */
MsiSetInternalUI(InstallUILevel, NULL);
Properties = build_properties( property_list );
Transforms = build_transforms( transform_list );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment