Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 0d1796d

Browse files
authored
Merge pull request #1374 from janhq/fix/windows-installer-stalls
fix: Windows installer final screen stalls much longer
2 parents 50f3419 + d1a7e13 commit 0d1796d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

engine/templates/windows/installer-beta.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ begin
5050
5151
// Download llamacpp engine by default
5252
CortexInstallCmd := Format('"%s\cortex-beta.exe" engines install cortex.llamacpp', [ExpandedAppDir]);
53-
Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
53+
Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode);
5454
5555
// Clear the status message after completion
5656
WizardForm.StatusLabel.Caption := '';

engine/templates/windows/installer-nightly.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ begin
5050
5151
// Download llamacpp engine by default
5252
CortexInstallCmd := Format('"%s\cortex-nightly.exe" engines install cortex.llamacpp', [ExpandedAppDir]);
53-
Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
53+
Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode);
5454
5555
// Clear the status message after completion
5656
WizardForm.StatusLabel.Caption := '';

engine/templates/windows/installer.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ begin
5050
5151
// Download llamacpp engine by default
5252
CortexInstallCmd := Format('"%s\cortex.exe" engines install cortex.llamacpp', [ExpandedAppDir]);
53-
Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
53+
Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode);
5454
5555
// Clear the status message after completion
5656
WizardForm.StatusLabel.Caption := '';

0 commit comments

Comments
 (0)