From 10543cd2ad3a69ba4a3aa8a6e1e492640f0904ee Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Wed, 7 Jun 2023 11:44:43 +0300 Subject: [PATCH] Installer: Start program automatically after installation --- deploy/FortFirewall.iss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/FortFirewall.iss b/deploy/FortFirewall.iss index a9612a53..8ffa23f0 100644 --- a/deploy/FortFirewall.iss +++ b/deploy/FortFirewall.iss @@ -89,6 +89,9 @@ Filename: "{#APP_EXE}"; Parameters: "-i explorer"; Tasks: explorer Filename: "sc.exe"; Parameters: "start {#APP_SVC_NAME}"; Description: "Start service"; \ Flags: nowait; Tasks: service +Filename: "{#APP_EXE}"; Description: {cm:LaunchProgram,{#APP_NAME}}; \ + Flags: nowait postinstall skipifsilent + Filename: "https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads"; \ Description: "Install the latest Visual C++ x86 redistributable!"; Flags: shellexec postinstall; \ Check: not VCRedist86Exists()