2019-10-06 22:00:37 +02:00
|
|
|
#define CURRENT_YEAR GetDateTimeString('yyyy', '', '');
|
2020-12-22 07:05:02 +01:00
|
|
|
#define BUILD_ROOT GetEnv('BUILD_ROOT')
|
|
|
|
#define SOURCE_ROOT GetEnv('SOURCE_ROOT')
|
|
|
|
#define INSTALLER_DIR SOURCE_ROOT + "\packages\win_installer"
|
|
|
|
#define DEPS_DIR BUILD_ROOT + "\installer-deps"
|
|
|
|
|
|
|
|
#include BUILD_ROOT + "\git_version.h"
|
2019-10-06 22:00:37 +02:00
|
|
|
|
2012-01-23 20:09:14 +01:00
|
|
|
[Setup]
|
|
|
|
AppName=Aegisub
|
2014-05-06 17:05:06 +02:00
|
|
|
AppVerName=Aegisub {#BUILD_GIT_VERSION_STRING}
|
|
|
|
AppVersion={#INSTALLER_VERSION}
|
2012-01-23 20:09:14 +01:00
|
|
|
AppPublisher=Aegisub Team
|
|
|
|
AppPublisherURL=http://www.aegisub.org/
|
2021-01-16 10:53:09 +01:00
|
|
|
AppSupportURL=https://github.com/Aegsiub/Aegisub/issues
|
2019-10-06 22:00:37 +02:00
|
|
|
AppCopyright=2005-{#CURRENT_YEAR} The Aegisub Team
|
2014-05-06 17:05:06 +02:00
|
|
|
VersionInfoVersion={#INSTALLER_VERSION}
|
2012-01-23 20:09:14 +01:00
|
|
|
DefaultGroupName=Aegisub
|
|
|
|
AllowNoIcons=true
|
2020-12-22 07:05:02 +01:00
|
|
|
OutputDir={#BUILD_ROOT}
|
2012-01-23 20:09:14 +01:00
|
|
|
Compression=lzma/ultra64
|
|
|
|
SolidCompression=true
|
2020-12-22 07:05:02 +01:00
|
|
|
MinVersion=6.1sp1
|
2014-05-06 01:40:33 +02:00
|
|
|
ShowLanguageDialog=yes
|
2012-01-23 20:09:14 +01:00
|
|
|
LanguageDetectionMethod=none
|
|
|
|
DisableProgramGroupPage=yes
|
|
|
|
UsePreviousGroup=yes
|
|
|
|
UsePreviousSetupType=no
|
|
|
|
UsePreviousAppDir=yes
|
|
|
|
UsePreviousTasks=no
|
2020-12-23 08:59:57 +01:00
|
|
|
UsedUserAreasWarning=no
|
2021-01-17 15:53:01 +01:00
|
|
|
UninstallDisplayIcon={app}\aegisub.exe
|
2012-01-23 20:09:14 +01:00
|
|
|
; Default to a large welcome bitmap, suitable for large fonts
|
|
|
|
; The normal fonts version is selected by code below
|
2020-12-22 07:05:02 +01:00
|
|
|
WizardImageFile={#INSTALLER_DIR}\welcome-large.bmp
|
|
|
|
WizardSmallImageFile={#INSTALLER_DIR}\aegisub-large.bmp
|
2012-01-23 20:09:14 +01:00
|
|
|
|
2021-01-30 18:20:24 +01:00
|
|
|
OutputBaseFilename=Aegisub-{#BUILD_GIT_VERSION_STRING}
|
|
|
|
VersionInfoDescription=Aegisub {#BUILD_GIT_VERSION_STRING}
|
2012-01-23 20:09:14 +01:00
|
|
|
|
|
|
|
[Languages]
|
2014-05-06 01:40:33 +02:00
|
|
|
Name: "en"; MessagesFile: "compiler:Default.isl"
|
|
|
|
Name: "ca"; MessagesFile: "compiler:Languages\Catalan.isl"
|
|
|
|
Name: "cz"; MessagesFile: "compiler:Languages\Czech.isl"
|
|
|
|
Name: "da"; MessagesFile: "compiler:Languages\Danish.isl"
|
|
|
|
Name: "de"; MessagesFile: "compiler:Languages\German.isl"
|
|
|
|
Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl"
|
|
|
|
Name: "fi"; MessagesFile: "compiler:Languages\Finnish.isl"
|
|
|
|
Name: "fr_FR"; MessagesFile: "compiler:Languages\French.isl"
|
|
|
|
Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"
|
|
|
|
Name: "ja"; MessagesFile: "compiler:Languages\Japanese.isl"
|
|
|
|
Name: "pl"; MessagesFile: "compiler:Languages\Polish.isl"
|
|
|
|
Name: "pt_BR"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
|
|
|
|
Name: "pt_PT"; MessagesFile: "compiler:Languages\Portuguese.isl"
|
|
|
|
Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl"
|
2014-08-11 16:11:55 +02:00
|
|
|
Name: "uk_UA"; MessagesFile: "compiler:Languages\Ukrainian.isl"
|
2020-12-22 07:05:02 +01:00
|
|
|
#ifdef UNOFFICIAL_LANGUAGES
|
|
|
|
; These languages are not shipped with InnoSetup by default and would need to be fetched from https://jrsoftware.org/files/istrans/
|
|
|
|
;Name: "bg"; MessagesFile: "compiler:Languages\Bulgarian.isl"
|
|
|
|
;Name: "el"; MessagesFile: "compiler:Languages\Greek.isl"
|
|
|
|
;Name: "eu"; MessagesFile: "compiler:Languages\Basque.isl"
|
|
|
|
;Name: "gl"; MessagesFile: "compiler:Languages\Galician.isl"
|
|
|
|
;Name: "hu"; MessagesFile: "compiler:Languages\Hungarian.isl"
|
|
|
|
;Name: "id"; MessagesFile: "compiler:Languages\Indonesian.isl"
|
|
|
|
;Name: "ko"; MessagesFile: "compiler:Languages\Korean.isl"
|
|
|
|
;Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl"
|
|
|
|
;Name: "sr_RS"; MessagesFile: "compiler:Languages\SerbianCyrillic.isl"
|
|
|
|
;Name: "sr_RS_latin"; MessagesFile: "compiler:Languages\SerbianLatin.isl"
|
|
|
|
;Name: "zh_CN"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
|
|
|
|
;Name: "zh_TW"; MessagesFile: "compiler:Languages\ChineseTraditional.isl"
|
|
|
|
#endif
|
2012-01-23 20:09:14 +01:00
|
|
|
|
|
|
|
[Files]
|
|
|
|
; small bitmaps (used by beautify code)
|
2020-12-22 07:05:02 +01:00
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\welcome.bmp
|
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\aegisub.bmp
|
2012-01-23 20:09:14 +01:00
|
|
|
; uninstall data (used by migration code)
|
2020-12-22 07:05:02 +01:00
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\legacy_filelist.txt
|
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\legacy_dirlist.txt
|
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\legacy_locales.txt
|
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\legacy_shortcutlist.txt
|
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\old_filelist.txt
|
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\old_dirlist.txt
|
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\old_locales.txt
|
|
|
|
DestDir: {tmp}; Flags: dontcopy; Source: {#INSTALLER_DIR}\old_shortcutlist.txt
|