From b60dbc816dbfd65828c02a2b53fbc97042b1621b Mon Sep 17 00:00:00 2001 From: Donkey Date: Sat, 21 Sep 2024 14:21:49 +0200 Subject: [PATCH] ci: added new flags to installer for silent install --- Twinpack.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Twinpack.iss b/Twinpack.iss index 632c6b2..50e7e87 100644 --- a/Twinpack.iss +++ b/Twinpack.iss @@ -343,7 +343,7 @@ begin for i := 0 to DisplayNames17.Count-1 do begin - if (((GetCmdParam('SILENT') <> 'true') and VisualStudioOptionsPage.CheckListBox.Checked[i+3+DisplayNames15.Count]) or (GetCmdParam('VSIX17:'+IntToStr(i+DisplayNames15.Count)) = 'true')) then + if (((GetCmdParam('SILENT') <> 'true') and VisualStudioOptionsPage.CheckListBox.Checked[i+3+DisplayNames15.Count]) or (GetCmdParam('VSIX17:'+IntToStr(i)) = 'true')) then begin ShellExec('', InstallationPaths17[i] + '\Common7\IDE\VSIXInstaller.exe', '/u:'+TwinpackVsixGuid17+' /quiet', '', SW_HIDE, ewWaitUntilTerminated, ReturnCode); ShellExec('', InstallationPaths17[i] + '\Common7\IDE\VSIXInstaller.exe', '/force ' + ExpandConstant('{tmp}\TwinpackVsix.17.vsix'), '', SW_HIDE, ewWaitUntilTerminated, ReturnCode);