Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
More accurate installation size
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Ely committed Jan 30, 2016
1 parent 4f122ac commit 4535295
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions SR-Alternate-Installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,31 @@ VersionInfoVersion={#MyAppInstallerVersion}
AppPublisher={#MyAppPublisher}
AppCopyright=(c) 2000 {#MyAppPublisher}
LicenseFile=license.txt
; Start menu/screen and Desktop shortcuts

DefaultDirName={pf}\LEGO Media\Games\{#MyAppName}
DefaultGroupName=LEGO Media\{#MyAppName}
AllowNoIcons=yes
; Installer Graphics

SetupIconFile=StuntRally.ico
; WizardImageFile=Sidebar.bmp
WizardSmallImageFile=Small-Image.bmp
WizardImageStretch=True
; Location of the compiled Exe

OutputDir=bin
OutputBaseFilename={#MyAppName} Alternate Installer {#MyAppInstallerVersion}
; Uninstallation stuff
OutputBaseFilename={#MyAppName}-Alternate-Installer-{#MyAppInstallerVersion}

UninstallFilesDir={app}
UninstallDisplayName={#MyAppName}
UninstallDisplayIcon={app}\StuntRally.ico
CreateUninstallRegKey=yes
UninstallDisplayName={#MyAppName}
; This is required so Inno can correctly report the installation size.
UninstallDisplaySize=301989888
; Compression
UninstallDisplaySize=305135616

Compression=lzma2/ultra64
SolidCompression=True
InternalCompressLevel=ultra
LZMAUseSeparateProcess=yes
; From top to bottom:
; Require Admin rights, no other languages, do not restart upon finish.

PrivilegesRequired=admin
ShowLanguageDialog=no
RestartIfNeededByRun=no
Expand All @@ -63,10 +62,10 @@ Name: "English"; MessagesFile: "compiler:Default.isl"
[Messages]
BeveledLabel={#MyAppInstallerName}
;; WelcomeLabel2 is overridden because I'm unsure if every
; LEGO Stunt Rally disc says version 0.3.5.1 or just mine.
; Stunt Rally disc reports the same version.
WelcomeLabel2=This will install [name] on your computer.%n%nIt is recommended that you close all other applications before continuing.
; DiskSpaceMBLabel is overridden because it reports an incorrect installation size.
DiskSpaceMBLabel=At least 399 MB of free disk space is required.
DiskSpaceMBLabel=At least 291 MB of free disk space is required.

; Both Types and Components sections are required
; to create the installation options.
Expand Down

0 comments on commit 4535295

Please sign in to comment.