mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-26 01:27:42 +00:00
parent
6c0bf45350
commit
b97fc4c82c
1 changed files with 12 additions and 0 deletions
|
|
@ -748,6 +748,18 @@ begin
|
|||
Free;
|
||||
end;
|
||||
|
||||
// Delete the Keyman autostart; it will be reinstated when setup finishes
|
||||
// but this avoids conflict of Keyman starting while the setup is still
|
||||
// running
|
||||
with CreateHKCURegistry do
|
||||
try
|
||||
if OpenKey(SRegKey_WindowsRun_CU, False) and ValueExists(SRegValue_WindowsRun_Keyman) then
|
||||
DeleteValue(SRegValue_WindowsRun_Keyman);
|
||||
finally
|
||||
Free;
|
||||
end;
|
||||
|
||||
|
||||
if res = ERROR_SUCCESS_REBOOT_REQUIRED then
|
||||
begin
|
||||
if GetRunTools.PromptForReboot and
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue