mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Set full UI mode by default.
This commit is contained in:
parent
50dc513b0f
commit
47f8c9a50b
1 changed files with 4 additions and 10 deletions
|
@ -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 a new issue