win-installer: fix warnings

This commit is contained in:
Ryan 2020-12-23 02:59:57 -05:00 committed by Ryan Lucia
parent 8cf4100c87
commit 9211b7b632
3 changed files with 4 additions and 3 deletions

View File

@ -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';

View File

@ -31,7 +31,7 @@ end;
function InitializeSetupMigration: Boolean;
begin
LegacyStartMenuFolder := 'Aegisub';
LegacyInstallFolder := ExpandConstant('{pf}\Aegisub');
LegacyInstallFolder := ExpandConstant('{commonpf32}\Aegisub');
LegacyVersionNumber := '1.x';
try

View File

@ -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