From 8cb81d44eee663e73abcb1c8b8047df0e26f5287 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Tue, 1 May 2018 14:36:51 +0200 Subject: [PATCH] Fix update installer changing uninstaller name and remove /MERGETASKS parameter --- bld/gen_upd.iss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bld/gen_upd.iss b/bld/gen_upd.iss index 330cbe61..1fe9e00c 100644 --- a/bld/gen_upd.iss +++ b/bld/gen_upd.iss @@ -13,7 +13,7 @@ [Setup] AppId={{{#MyAppID}} -AppName={#MyAppName} Update +AppName={#MyAppName} AppVersion={#MyAppVersion} AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} @@ -161,6 +161,7 @@ end; { Prepare download plugin if there are any files to download, and set the installation path. } procedure InitializeWizard(); begin + WizardForm.Caption := WizardForm.Caption + ' Update'; WizardForm.DirEdit.Text := UpdatePath; if idpFilesCount <> 0 then @@ -318,7 +319,7 @@ begin WizardForm.ProgressGauge.Style := npbstMarquee; try - if Exec(InstallFile, '/SP- /SILENT /MERGETASKS="!desktopicon" /UPDATEPATH="'+UpdatePath+'"', '', SW_SHOW, ewWaitUntilTerminated, ResultCode) then + if Exec(InstallFile, '/SP- /SILENT /UPDATEPATH="'+UpdatePath+'"', '', SW_SHOW, ewWaitUntilTerminated, ResultCode) then begin if ResultCode <> 0 then begin