Set full UI mode by default.
This commit is contained in:
parent
50dc513b0f
commit
47f8c9a50b
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue