mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[SETUPLIB] There is no need to update the keyboard settings only for non-unattended setup
Updating keyboard layout settings with user-overridden values, was
restricted to non-unattended setups, in an apparent attempt to fix
in commit 829b0c63d9 (r38146) the problem reported at CORE-3634.
This special-casing is now unnecessary.
This commit is contained in:
+12
-15
@@ -1336,22 +1336,19 @@ DoUpdate:
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
if (!IsUnattendedSetup)
|
||||
{
|
||||
Entry = GetCurrentListEntry(pSetupData->LayoutList);
|
||||
ASSERT(Entry);
|
||||
pSetupData->LayoutId = ((PGENENTRY)GetListEntryData(Entry))->Id;
|
||||
ASSERT(pSetupData->LayoutId);
|
||||
Entry = GetCurrentListEntry(pSetupData->LayoutList);
|
||||
ASSERT(Entry);
|
||||
pSetupData->LayoutId = ((PGENENTRY)GetListEntryData(Entry))->Id;
|
||||
ASSERT(pSetupData->LayoutId);
|
||||
|
||||
/* Update keyboard layout settings with user-overridden values */
|
||||
// FIXME: Wouldn't it be better to do it all at once
|
||||
// with the AddKeyboardLayouts() step?
|
||||
if (StatusRoutine) StatusRoutine(KeybSettingsUpdate);
|
||||
if (!ProcessKeyboardLayoutRegistry(pSetupData->LayoutId, SelectedLanguageId))
|
||||
{
|
||||
ErrorNumber = ERROR_UPDATE_KBSETTINGS;
|
||||
goto Cleanup;
|
||||
}
|
||||
/* Update keyboard layout settings with user-overridden values */
|
||||
// FIXME: Wouldn't it be better to do it all at once
|
||||
// with the AddKeyboardLayouts() step?
|
||||
if (StatusRoutine) StatusRoutine(KeybSettingsUpdate);
|
||||
if (!ProcessKeyboardLayoutRegistry(pSetupData->LayoutId, SelectedLanguageId))
|
||||
{
|
||||
ErrorNumber = ERROR_UPDATE_KBSETTINGS;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
/* Set GeoID */
|
||||
|
||||
Reference in New Issue
Block a user