From 9211b7b632419c63c87d46f70e8ccc1e2717ea87 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 23 Dec 2020 02:59:57 -0500 Subject: [PATCH] win-installer: fix warnings --- packages/win_installer/aegisub3.iss | 4 ++-- packages/win_installer/fragment_migrate_code.iss | 2 +- packages/win_installer/fragment_setupbase.iss | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/win_installer/aegisub3.iss b/packages/win_installer/aegisub3.iss index 61960ad36..b4361a733 100644 --- a/packages/win_installer/aegisub3.iss +++ b/packages/win_installer/aegisub3.iss @@ -5,7 +5,7 @@ [Setup] AppID={{24BC8B57-716C-444F-B46B-A3349B9164C5} -DefaultDirName={pf}\Aegisub +DefaultDirName={commonpf}\Aegisub PrivilegesRequired=poweruser ArchitecturesInstallIn64BitMode=x64 ArchitecturesAllowed=x64 @@ -41,7 +41,7 @@ begin if CurStep = ssPostInstall then begin - if IsTaskSelected('checkforupdates') then + if WizardIsTaskSelected('checkforupdates') then Updates := 'true' else Updates := 'false'; diff --git a/packages/win_installer/fragment_migrate_code.iss b/packages/win_installer/fragment_migrate_code.iss index ff655154f..2ba53ffdd 100644 --- a/packages/win_installer/fragment_migrate_code.iss +++ b/packages/win_installer/fragment_migrate_code.iss @@ -31,7 +31,7 @@ end; function InitializeSetupMigration: Boolean; begin LegacyStartMenuFolder := 'Aegisub'; - LegacyInstallFolder := ExpandConstant('{pf}\Aegisub'); + LegacyInstallFolder := ExpandConstant('{commonpf32}\Aegisub'); LegacyVersionNumber := '1.x'; try diff --git a/packages/win_installer/fragment_setupbase.iss b/packages/win_installer/fragment_setupbase.iss index 168c5f88b..1d4529587 100644 --- a/packages/win_installer/fragment_setupbase.iss +++ b/packages/win_installer/fragment_setupbase.iss @@ -28,6 +28,7 @@ UsePreviousGroup=yes UsePreviousSetupType=no UsePreviousAppDir=yes UsePreviousTasks=no +UsedUserAreasWarning=no UninstallDisplayIcon={app}\aegisub{#ARCH}.exe ; Default to a large welcome bitmap, suitable for large fonts ; The normal fonts version is selected by code below