diff --git a/engine/templates/windows/installer-beta.iss b/engine/templates/windows/installer-beta.iss index 1127e1b97..56feecd6e 100644 --- a/engine/templates/windows/installer-beta.iss +++ b/engine/templates/windows/installer-beta.iss @@ -50,7 +50,7 @@ begin // Download llamacpp engine by default CortexInstallCmd := Format('"%s\cortex-beta.exe" engines install cortex.llamacpp', [ExpandedAppDir]); - Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode); + Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode); // Clear the status message after completion WizardForm.StatusLabel.Caption := ''; diff --git a/engine/templates/windows/installer-nightly.iss b/engine/templates/windows/installer-nightly.iss index 38d8a5903..9e5ce68d0 100644 --- a/engine/templates/windows/installer-nightly.iss +++ b/engine/templates/windows/installer-nightly.iss @@ -50,7 +50,7 @@ begin // Download llamacpp engine by default CortexInstallCmd := Format('"%s\cortex-nightly.exe" engines install cortex.llamacpp', [ExpandedAppDir]); - Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode); + Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode); // Clear the status message after completion WizardForm.StatusLabel.Caption := ''; diff --git a/engine/templates/windows/installer.iss b/engine/templates/windows/installer.iss index a9e4e10ca..32a0dfe09 100644 --- a/engine/templates/windows/installer.iss +++ b/engine/templates/windows/installer.iss @@ -50,7 +50,7 @@ begin // Download llamacpp engine by default CortexInstallCmd := Format('"%s\cortex.exe" engines install cortex.llamacpp', [ExpandedAppDir]); - Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_SHOW, ewWaitUntilTerminated, ResultCode); + Exec('cmd.exe', '/C ' + CortexInstallCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode); // Clear the status message after completion WizardForm.StatusLabel.Caption := '';