From 2d3e505193c7407f4d8f708f9d370c7e58cddf68 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 23 Jan 2012 19:09:14 +0000 Subject: [PATCH] Port 2.1.9's installer scripts to 3.0.0 The upgrade installer still needs some updating as it only supports upgrading from 2.1.8 Originally committed to SVN as r6344. --- aegisub/packages/win_installer/aegisub2.iss | 630 ------------------ .../win_installer/aegisub3-portable.iss | 109 +++ .../win_installer/aegisub3-upgrade.iss | 122 ++++ aegisub/packages/win_installer/aegisub3.iss | 78 +++ .../win_installer/dictionaries/ca_ES.iss | 39 ++ .../win_installer/dictionaries/cs_CZ.iss | 40 ++ .../win_installer/dictionaries/da_DK.iss | 40 ++ .../win_installer/dictionaries/de_AT.iss | 53 ++ .../win_installer/dictionaries/de_DE.iss | 39 ++ .../win_installer/dictionaries/el_GR.iss | 42 ++ .../win_installer/dictionaries/en_GB.iss | 42 ++ .../win_installer/dictionaries/en_US.iss | 53 ++ .../win_installer/dictionaries/es_ES.iss | 39 ++ .../win_installer/dictionaries/fr_FR.iss | 39 ++ .../dictionaries/fragment_dictbase.iss | 86 +++ .../dictionaries/fragment_stddict.iss | 57 ++ .../win_installer/dictionaries/it_IT.iss | 39 ++ .../win_installer/dictionaries/nl_NL.iss | 40 ++ .../win_installer/dictionaries/pl_PL.iss | 40 ++ .../win_installer/dictionaries/pt_BR.iss | 40 ++ .../win_installer/dictionaries/ru_RU.iss | 39 ++ .../win_installer/dictionaries/sk_SK.iss | 40 ++ .../win_installer/dictionaries/sl_SI.iss | 40 ++ .../win_installer/dictionaries/sr_SR.iss | 46 ++ .../win_installer/dictionaries/sv_SE.iss | 40 ++ .../win_installer/dictionaries/vi_VN.iss | 44 ++ .../win_installer/fragment_assdraw.iss | 47 ++ .../win_installer/fragment_associations.iss | 197 ++++++ .../win_installer/fragment_automation.iss | 63 ++ .../win_installer/fragment_beautify_code.iss | 84 +++ .../win_installer/fragment_codecs.iss | 51 ++ .../packages/win_installer/fragment_docs.iss | 43 ++ .../win_installer/fragment_mainprogram.iss | 60 ++ .../win_installer/fragment_migrate_code.iss | 398 +++++++++++ .../win_installer/fragment_opengl.iss | 68 ++ .../win_installer/fragment_runtimes.iss | 68 ++ .../win_installer/fragment_setupbase.iss | 90 +++ .../win_installer/fragment_shell_code.iss | 124 ++++ .../win_installer/fragment_spelling.iss | 45 ++ .../win_installer/fragment_translations.iss | 114 ++++ aegisub/packages/win_installer/latest.txt | 2 - .../win_installer/legacy_filelist.txt | 44 +- aegisub/packages/win_installer/license.txt | 2 +- .../packages/win_installer/old_dirlist.txt | 1 + .../packages/win_installer/old_filelist.txt | 3 +- .../win_installer/portable-comment.txt | 11 + .../win_installer/portable-sources.txt | 33 + .../win_installer/portable_config.json | 5 + aegisub/packages/win_installer/template.ass | 15 + 49 files changed, 2832 insertions(+), 652 deletions(-) delete mode 100644 aegisub/packages/win_installer/aegisub2.iss create mode 100644 aegisub/packages/win_installer/aegisub3-portable.iss create mode 100644 aegisub/packages/win_installer/aegisub3-upgrade.iss create mode 100644 aegisub/packages/win_installer/aegisub3.iss create mode 100644 aegisub/packages/win_installer/dictionaries/ca_ES.iss create mode 100644 aegisub/packages/win_installer/dictionaries/cs_CZ.iss create mode 100644 aegisub/packages/win_installer/dictionaries/da_DK.iss create mode 100644 aegisub/packages/win_installer/dictionaries/de_AT.iss create mode 100644 aegisub/packages/win_installer/dictionaries/de_DE.iss create mode 100644 aegisub/packages/win_installer/dictionaries/el_GR.iss create mode 100644 aegisub/packages/win_installer/dictionaries/en_GB.iss create mode 100644 aegisub/packages/win_installer/dictionaries/en_US.iss create mode 100644 aegisub/packages/win_installer/dictionaries/es_ES.iss create mode 100644 aegisub/packages/win_installer/dictionaries/fr_FR.iss create mode 100644 aegisub/packages/win_installer/dictionaries/fragment_dictbase.iss create mode 100644 aegisub/packages/win_installer/dictionaries/fragment_stddict.iss create mode 100644 aegisub/packages/win_installer/dictionaries/it_IT.iss create mode 100644 aegisub/packages/win_installer/dictionaries/nl_NL.iss create mode 100644 aegisub/packages/win_installer/dictionaries/pl_PL.iss create mode 100644 aegisub/packages/win_installer/dictionaries/pt_BR.iss create mode 100644 aegisub/packages/win_installer/dictionaries/ru_RU.iss create mode 100644 aegisub/packages/win_installer/dictionaries/sk_SK.iss create mode 100644 aegisub/packages/win_installer/dictionaries/sl_SI.iss create mode 100644 aegisub/packages/win_installer/dictionaries/sr_SR.iss create mode 100644 aegisub/packages/win_installer/dictionaries/sv_SE.iss create mode 100644 aegisub/packages/win_installer/dictionaries/vi_VN.iss create mode 100644 aegisub/packages/win_installer/fragment_assdraw.iss create mode 100644 aegisub/packages/win_installer/fragment_associations.iss create mode 100644 aegisub/packages/win_installer/fragment_automation.iss create mode 100644 aegisub/packages/win_installer/fragment_beautify_code.iss create mode 100644 aegisub/packages/win_installer/fragment_codecs.iss create mode 100644 aegisub/packages/win_installer/fragment_docs.iss create mode 100644 aegisub/packages/win_installer/fragment_mainprogram.iss create mode 100644 aegisub/packages/win_installer/fragment_migrate_code.iss create mode 100644 aegisub/packages/win_installer/fragment_opengl.iss create mode 100644 aegisub/packages/win_installer/fragment_runtimes.iss create mode 100644 aegisub/packages/win_installer/fragment_setupbase.iss create mode 100644 aegisub/packages/win_installer/fragment_shell_code.iss create mode 100644 aegisub/packages/win_installer/fragment_spelling.iss create mode 100644 aegisub/packages/win_installer/fragment_translations.iss delete mode 100644 aegisub/packages/win_installer/latest.txt create mode 100644 aegisub/packages/win_installer/portable-comment.txt create mode 100644 aegisub/packages/win_installer/portable-sources.txt create mode 100644 aegisub/packages/win_installer/portable_config.json create mode 100644 aegisub/packages/win_installer/template.ass diff --git a/aegisub/packages/win_installer/aegisub2.iss b/aegisub/packages/win_installer/aegisub2.iss deleted file mode 100644 index 7db6a2d28..000000000 --- a/aegisub/packages/win_installer/aegisub2.iss +++ /dev/null @@ -1,630 +0,0 @@ -; Copyright (c) 2007-2009, Niels Martin Hansen -; -; Redistribution and use in source and binary forms, with or without -; modification, are permitted provided that the following conditions are met: -; -; * Redistributions of source code must retain the above copyright notice, -; this list of conditions and the following disclaimer. -; * Redistributions in binary form must reproduce the above copyright notice, -; this list of conditions and the following disclaimer in the documentation -; and/or other materials provided with the distribution. -; * Neither the name of the Aegisub Group nor the names of its contributors -; may be used to endorse or promote products derived from this software -; without specific prior written permission. -; -; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -; POSSIBILITY OF SUCH DAMAGE. -; -; ----------------------------------------------------------------------------- -; -; AEGISUB -; -; Website: http://www.aegisub.org/ -; Contact: mailto:nielsm@indvikleren.dk -; - - -[Setup] -AppID={{24BC8B57-716C-444F-B46B-A3349B9164C5} -AppName=Aegisub -AppVerName=Aegisub 2.1.7 -AppVersion=2.1.7 -AppPublisher=Aegisub Team -AppPublisherURL=http://www.aegisub.org/ -AppSupportURL=http://forum.aegisub.org/ -AppCopyright=© 2005-2009 The Aegisub Team -DefaultDirName={pf}\Aegisub -DefaultGroupName=Aegisub -AllowNoIcons=true -OutputDir=output -OutputBaseFilename=Aegisub-2.1.7-setup -Compression=lzma/ultra64 -SolidCompression=true -MinVersion=0,5.0 -ShowLanguageDialog=no -LanguageDetectionMethod=none -PrivilegesRequired=poweruser -DisableProgramGroupPage=yes -UsePreviousGroup=yes -UsePreviousSetupType=no -UsePreviousAppDir=yes -UsePreviousTasks=no -UninstallDisplayIcon={app}\aegisub32.exe -; Default to a large welcome bitmap, suitable for large fonts -; The normal fonts version is selected by code below -WizardImageFile=welcome-large.bmp -WizardSmallImageFile=aegisub-large.bmp - -[Languages] -Name: english; MessagesFile: compiler:Default.isl - -[Files] -; small bitmaps -DestDir: {tmp}; Flags: dontcopy; Source: welcome.bmp -DestDir: {tmp}; Flags: dontcopy; Source: aegisub.bmp -; uninstall data -DestDir: {tmp}; Flags: dontcopy; Source: legacy_filelist.txt -DestDir: {tmp}; Flags: dontcopy; Source: legacy_dirlist.txt -DestDir: {tmp}; Flags: dontcopy; Source: legacy_locales.txt -DestDir: {tmp}; Flags: dontcopy; Source: legacy_shortcutlist.txt -DestDir: {tmp}; Flags: dontcopy; Source: old_filelist.txt -DestDir: {tmp}; Flags: dontcopy; Source: old_dirlist.txt -DestDir: {tmp}; Flags: dontcopy; Source: old_locales.txt -DestDir: {tmp}; Flags: dontcopy; Source: old_shortcutlist.txt -; redist -DestDir: {tmp}; Source: src\vcredist_x86.exe; Flags: nocompression deleteafterinstall; Check: RuntimesRequired -; main -DestDir: {app}; Source: src\aegisub32.exe; Flags: ignoreversion; Components: main -DestDir: {app}; Source: src\aegisub32.pdb; Flags: ignoreversion; Components: main/pdb -DestDir: {app}; Source: license.txt; Flags: ignoreversion; Tasks: ; Languages: ; Components: main -; avisynth -DestDir: {app}; Source: src\devil.dll; Flags: ignoreversion; Components: codec -DestDir: {app}; Source: src\avisynth.dll; Flags: ignoreversion; Components: codec -DestDir: {app}; Source: src\DirectShowSource.dll; Flags: ignoreversion; Components: codec -; ffmpegsource -DestDir: {app}; Source: src\ffms2.dll; Flags: ignoreversion; Components: codec -DestDir: {app}; Source: src\ffms2.pdb; Flags: ignoreversion; Components: codec and main/pdb -; vsfilter -DestDir: {app}\csri; Source: src\csri\VSFilter.dll; Flags: ignoreversion; Components: codec/vsfilter -; auto4 main -DestDir: {app}\automation\include; Source: src\automation\include\utils.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly -DestDir: {app}\automation\include; Source: src\automation\include\utils-auto4.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly -DestDir: {app}\automation\include; Source: src\automation\include\unicode.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly -DestDir: {app}\automation\include; Source: src\automation\include\karaskel.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly -DestDir: {app}\automation\include; Source: src\automation\include\karaskel-auto4.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly -DestDir: {app}\automation\include; Source: src\automation\include\cleantags.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly -DestDir: {app}\automation\autoload; Source: src\automation\autoload\kara-templater.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly -; auto4 samples -DestDir: {app}\automation\demos; Source: src\automation\demos\future-windy-blur.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly -DestDir: {app}\automation\autoload; Source: src\automation\autoload\macro-1-edgeblur.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly -DestDir: {app}\automation\autoload; Source: src\automation\autoload\macro-2-mkfullwitdh.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly -DestDir: {app}\automation\autoload; Source: src\automation\autoload\cleantags-autoload.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly -; dictionaries -Source: src\dictionaries\en_GB.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion solidbreak; Components: dic/en_GB -Source: src\dictionaries\en_GB.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/en_GB -Source: src\dictionaries\en_US.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/en_US -Source: src\dictionaries\en_US.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/en_US -Source: src\dictionaries\de_AT.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion solidbreak; Components: dic/de_AT -Source: src\dictionaries\de_DE.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/de_DE -Source: src\dictionaries\de_DE.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/de_DE -Source: src\dictionaries\es_ES.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/es_ES -Source: src\dictionaries\es_ES.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/es_ES -Source: src\dictionaries\fr_FR.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/fr_FR -Source: src\dictionaries\fr_FR.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/fr_FR -Source: src\dictionaries\it_IT.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/it_IT -Source: src\dictionaries\it_IT.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/it_IT -Source: src\dictionaries\nl_NL.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/nl_NL -Source: src\dictionaries\nl_NL.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/nl_NL -Source: src\dictionaries\pl_PL.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/pl_PL -Source: src\dictionaries\pl_PL.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/pl_PL -Source: src\dictionaries\pt_BR.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/pt_BR -Source: src\dictionaries\pt_BR.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/pt_BR -Source: src\dictionaries\pt_PT.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/pt_PT -Source: src\dictionaries\pt_PT.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/pt_PT -Source: src\dictionaries\ru_RU.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/ru_RU -Source: src\dictionaries\ru_RU.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/ru_RU -Source: src\dictionaries\sk_SK.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/sk_SK -Source: src\dictionaries\sk_SK.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/sk_SK -Source: src\dictionaries\sl_SI.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/sl_SI -Source: src\dictionaries\sl_SI.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/sl_SI -Source: src\dictionaries\sv_SE.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/sv_SE -Source: src\dictionaries\sv_SE.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/sv_SE -; thesauri -Source: src\dictionaries\th_en_US.dat; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion solidbreak; Components: th/en_US -Source: src\dictionaries\th_en_US.idx; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/en_US -Source: src\dictionaries\th_de_DE.dat; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion solidbreak; Components: th/de_DE -Source: src\dictionaries\th_de_DE.idx; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/de_DE -Source: src\dictionaries\th_es_ES.dat; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/es_ES -Source: src\dictionaries\th_es_ES.idx; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/es_ES -Source: src\dictionaries\th_fr_FR.dat; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/fr_FR -Source: src\dictionaries\th_fr_FR.idx; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/fr_FR -Source: src\dictionaries\th_it_IT.dat; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/it_IT -Source: src\dictionaries\th_it_IT.idx; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/it_IT -Source: src\dictionaries\th_ru_RU.dat; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/ru_RU -Source: src\dictionaries\th_ru_RU.idx; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: th/ru_RU -; localization (commented out ones are out of date; some don't have wxstd.mo) -Source: ..\..\po\ca.mo; DestDir: {app}\locale\ca; DestName: aegisub.mo; Flags: ignoreversion solidbreak; Components: i18n/ca -Source: ..\..\po\wxstd-ca.mo; DestDir: {app}\locale\ca; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/ca -Source: ..\..\po\cs.mo; DestDir: {app}\locale\cs; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/cs -;Source: ..\..\po\wxstd-cs.mo; DestDir: {app}\locale\cs; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/cs -;Source: ..\..\po\da.mo; DestDir: {app}\locale\da; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/da -;Source: ..\..\po\wxstd-da.mo; DestDir: {app}\locale\da; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/da -Source: ..\..\po\de.mo; DestDir: {app}\locale\de; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/de -Source: ..\..\po\wxstd-de.mo; DestDir: {app}\locale\de; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/de -Source: ..\..\po\es.mo; DestDir: {app}\locale\es; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/es -Source: ..\..\po\wxstd-es.mo; DestDir: {app}\locale\es; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/es -Source: ..\..\po\fi.mo; DestDir: {app}\locale\fi; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/fi -Source: ..\..\po\wxstd-fi.mo; DestDir: {app}\locale\fi; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/fi -Source: ..\..\po\fr_FR.mo; DestDir: {app}\locale\fr_FR; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/fr_FR -;Source: ..\..\po\wxstd-fr_FR.mo; DestDir: {app}\locale\fr_FR; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/fr_FR -Source: ..\..\po\hu.mo; DestDir: {app}\locale\hu; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/hu -Source: ..\..\po\wxstd-hu.mo; DestDir: {app}\locale\hu; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/hu -;Source: ..\..\po\it.mo; DestDir: {app}\locale\it; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/it -;Source: ..\..\po\wxstd-it.mo; DestDir: {app}\locale\it; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/it -Source: ..\..\po\ja.mo; DestDir: {app}\locale\ja; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/ja -Source: ..\..\po\wxstd-ja.mo; DestDir: {app}\locale\ja; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/ja -;Source: ..\..\po\ko.mo; DestDir: {app}\locale\ko; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/ko -;Source: ..\..\po\wxstd-ko.mo; DestDir: {app}\locale\ko; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/ko -Source: ..\..\po\pt_BR.mo; DestDir: {app}\locale\pt_BR; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/pt_BR -Source: ..\..\po\wxstd-pt_BR.mo; DestDir: {app}\locale\pt_BR; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/pt_BR -Source: ..\..\po\ru.mo; DestDir: {app}\locale\ru; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/ru -Source: ..\..\po\wxstd-ru.mo; DestDir: {app}\locale\ru; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/ru -;Source: ..\..\po\zh_TW.mo; DestDir: {app}\locale\zh_TW; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/zh_TW -;Source: ..\..\po\wxstd-zh_TW.mo; DestDir: {app}\locale\zh_TW; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/zh_TW -; documentation -Source: src\docs\*; DestDir: {app}\docs; Flags: ignoreversion recursesubdirs solidbreak; Components: docs; Excludes: *svn -; ASSDraw3 -Source: src\ASSDraw3.exe; DestDir: {app}; Flags: ignoreversion nocompression solidbreak; Components: assdraw -Source: src\ASSDraw3.chm; DestDir: {app}; Flags: ignoreversion; Components: assdraw and docs - -[Icons] -Name: {commonprograms}\Aegisub; Filename: {app}\aegisub32.exe; WorkingDir: {app}; IconIndex: 0; Components: main/icons; Comment: Create and edit subtitle files -Name: {commonprograms}\ASSDraw3; Filename: {app}\ASSDraw3.exe; WorkingDir: {app}; IconIndex: 0; Components: main/icons and assdraw; Flags: createonlyiffileexists; Comment: Create vector drawings for ASS-format subtitles -Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Aegisub; Filename: {app}\aegisub32.exe; WorkingDir: {app}; IconIndex: 0; Components: main/qcklnch; Comment: Create and edit subtitle files - -[Registry] -; Register in App Paths so the user can conveniently enter 'aegisub' in their Run box -Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\aegisub32.exe"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe"; Flags: uninsdeletekey -Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\aegisub.exe"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe"; Flags: uninsdeletekey - -[Run] -Filename: {app}\aegisub32.exe; Description: {cm:LaunchProgram,Aegisub}; Flags: nowait postinstall skipifsilent -Filename: {tmp}\vcredist_x86.exe; StatusMsg: Installing runtime libraries...; Check: RuntimesRequired; Components: main/runtime; Parameters: "/q" - -[Components] -; Actual program -Name: main; Description: Aegisub; Types: compact full custom; Languages: ; Flags: fixed -Name: main/runtime; Description: Runtime libraries; Check: RuntimesRequired; Flags: fixed; Types: custom compact full; ExtraDiskSpaceRequired: 4630528 -Name: main/pdb; Description: Debug database (helps diagnose crashes); Types: full -Name: main/icons; Description: Start menu icon; Types: custom compact full -Name: main/qcklnch; Description: Quick launch icon; Types: custom compact full -Name: codec; Description: Media formats support; Flags: fixed; Types: custom compact full -Name: codec/vsfilter; Description: VSFilter 2.39e; Types: compact full custom; Flags: fixed -; Automation -Name: auto; Description: Automation 4 scripting support; Types: compact full -Name: auto/lua; Description: Lua; Types: compact full; Flags: checkablealone; Languages: -Name: auto/lua/samples; Description: Lua sample scripts; Types: full -; Docs -Name: docs; Description: User manual; Types: custom compact full -; Translations (commented out ones are out of date) -Name: i18n; Description: Languages; Types: full custom compact; Flags: fixed -Name: i18n/en; Description: English (built in); Flags: fixed; Types: compact full custom -Name: i18n/pt_BR; Description: Brazilian Portuguese; Types: full -Name: i18n/ca; Description: Catalan; Types: full -;Name: i18n/zh_TW; Description: Chinese (Traditional); Types: full -Name: i18n/cs; Description: Czech; Types: full -;Name: i18n/da; Description: Danish; Types: full -Name: i18n/fi; Description: Finnish; Types: full -Name: i18n/fr_FR; Description: French; Types: full -Name: i18n/de; Description: German; Types: full -Name: i18n/hu; Description: Hungarian; Types: full -;Name: i18n/it; Description: Italian; Types: full -Name: i18n/ja; Description: Japanese; Types: full -;Name: i18n/ko; Description: Korean; Types: full -Name: i18n/ru; Description: Russian; Types: full -Name: i18n/es; Description: Spanish; Types: full -; Languages support -Name: dic; Description: Spell checker; Types: full -Name: dic/en_GB; Description: British English dictionary; Types: full -Name: dic/en_US; Description: American English dictionary; Types: full -Name: dic/nl_NL; Description: Dutch dictionary; Types: full -Name: dic/fr_FR; Description: French dictionary; Types: full -Name: dic/de_DE; Description: German dictionary; Types: full -Name: dic/de_AT; Description: Austrian German dictionary; Types: full -Name: dic/it_IT; Description: Italian dictionary; Types: full -Name: dic/pl_PL; Description: Polish dictionary; Types: full -Name: dic/pt_PT; Description: Portuguese dictionary; Types: full -Name: dic/pt_BR; Description: Brazilian Portuguese dictionary; Types: full -Name: dic/sk_SK; Description: Slovak dictionary; Types: full -Name: dic/sl_SI; Description: Slovenian dictionary; Types: full -Name: dic/ru_RU; Description: Russian dictionary; Types: full -Name: dic/es_ES; Description: Spanish dictionary; Types: full -Name: dic/sv_SE; Description: Swedish dictionary; Types: full -Name: th; Description: Thesaurus; Types: full -Name: th/en_US; Description: American English thesaurus; Types: full -Name: th/fr_FR; Description: French thesaurus; Types: full -Name: th/de_DE; Description: German thesaurus; Types: full -Name: th/it_IT; Description: Italian thesaurus; Types: full -Name: th/ru_RU; Description: Russian thesaurus; Types: full -Name: th/es_ES; Description: Spanish thesaurus; Types: full -; AssDraw -Name: assdraw; Description: ai-chan's ASSDraw3 for ASS vector drawing; Types: full - -[Messages] -; Replacement for License page, no need to bother the user with legal mumbo-jumbo -WelcomeLabel2=This will install Aegisub 2.1.7 on your computer.%n%nAegisub is covered by the GNU General Public License version 2. This means you may use the application for any purpose without charge, but that no warranties of any kind are given either.%n%nSee the Aegisub website for information on obtaining the source code. - - -[Code] - -var - HasLegacyVersion: Boolean; - LegacyStartMenuFolder: string; - LegacyInstallFolder: string; - LegacyVersionNumber: string; - - -function OldStartMenuFolder(Param: string): string; -begin - if HasLegacyVersion then - Result := LegacyStartMenuFolder - else - Result := ExpandConstant('{group}'); -end; -function OldInstallFolder(Param: string): string; -begin - if HasLegacyVersion then - Result := LegacyInstallFolder - else - Result := ExpandConstant('{app}'); -end; - - -function RuntimesRequired: Boolean; -var - DisplayVersion: string; -begin - // Check for uninstall entry for runtimes, don't bother installing if it can be uninstalled now - // HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475} - // Check: DisplayVersion = "9.0.30729" - DisplayVersion := ''; - Result := RegQueryStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}', - 'DisplayVersion', DisplayVersion); - Result := Result and (DisplayVersion = '9.0.30729'); - - Result := not Result; -end; - - -function SHAutoComplete(hWnd: Integer; dwFlags: DWORD): Integer; -external 'SHAutoComplete@shlwapi.dll stdcall delayload'; -const - SHACF_FILESYSTEM = $1; - SHACF_FILESYS_ONLY = $10; - SHACF_FILESYS_DIRS = $20; - -procedure InitializeWizard; -var - SmallBitmap: TFileStream; -begin - // Thanks to ender for the following snippets - - // Fix bitmaps for small/large fonts - if WizardForm.WizardBitmapImage.Height < 386 then //use smaller image when not using Large Fonts - begin - try - ExtractTemporaryFile('welcome.bmp'); - SmallBitmap := TFileStream.Create(ExpandConstant('{tmp}\welcome.bmp'),fmOpenRead); - WizardForm.WizardBitmapImage.Bitmap.LoadFromStream(SmallBitmap); - WizardForm.WizardBitmapImage2.Bitmap := WizardForm.WizardBitmapImage.Bitmap; - SmallBitmap.Free; - - ExtractTemporaryFile('aegisub.bmp'); - SmallBitmap := TFileStream.Create(ExpandConstant('{tmp}\aegisub.bmp'),fmOpenRead); - WizardForm.WizardSmallBitmapImage.Bitmap.LoadFromStream(SmallBitmap); - except - Log('Error loading bitmaps: ' + GetExceptionMessage); - finally - SmallBitmap.Free; - end; - end; - - // Endow install dir edit box with autocomplete - try - SHAutoComplete(WizardForm.DirEdit.Handle, SHACF_FILESYSTEM); - except - Log('Could not add autocomplete to dir edit box'); - end; -end; - - -function BoolToStr(x: Boolean): string; -begin - if x then Result := 'Yes' else Result := 'No'; -end; - - -function InitializeSetup: Boolean; -begin - HasLegacyVersion := RegValueExists(HKLM, 'SOFTWARE\Aegisub\info', 'InstVer'); - Log(Format('Legacy version found: %s', [BoolToStr(HasLegacyVersion)])); - - LegacyStartMenuFolder := 'Aegisub'; - if RegQueryStringValue(HKLM, 'SOFTWARE\Aegisub\info', 'StartMenuDir', LegacyStartMenuFolder) then - LegacyStartMenuFolder := ExpandConstant('{userprograms}\') + LegacyStartMenuFolder; - Log(Format('Legacy version Start menu folder: %s', [LegacyStartMenuFolder])); - - LegacyInstallFolder := ExpandConstant('{pf}\Aegisub'); - RegQueryStringValue(HKLM, 'SOFTWARE\Aegisub\info', 'InstallDir', LegacyInstallFolder); - Log(Format('Legacy version install folder: %s', [LegacyInstallFolder])); - - LegacyVersionNumber := '1.x'; - RegQueryStringValue(HKLM, 'SOFTWARE\Aegisub\info', 'InstVer', LegacyVersionNumber); - - Result := True; - if HasLegacyVersion then - Result := SuppressibleMsgBox(Format('A previous installation of Aegisub %s has been detected and will be removed along with its configuration.'#13#10#13#10'Continue installing and remove old version?', [LegacyVersionNumber]), mbConfirmation, MB_YESNO, IDYES) = IDYES; -end; - - -procedure MigrateStyleCatalogs; -var - OldCatalogDir: string; - NewCatalogDir: string; - search: TFindRec; -begin - // Upgrade an 1.x style-catalog by moving it to {appdata} - OldCatalogDir := OldInstallFolder('') + '\Catalog\'; - Log('-- Migrate style catalogs --'); - if DirExists(OldCatalogDir) then - begin - NewCatalogDir := ExpandConstant('{userappdata}\Aegisub\catalog\'); - ForceDirectories(NewCatalogDir); - Log('Old style catalog dir: ' + OldCatalogDir); - Log('New catalog dir: ' + NewCatalogDir); - if FindFirst(OldCatalogDir + '*', search) then - try - repeat - Log('Found style catalog: ' + OldCatalogDir + search.Name); - if FileCopy(OldCatalogDir+search.Name, NewCatalogDir+search.Name, True) then - begin - Log('Copied catalog to: ' + NewCatalogDir+search.Name); - DeleteFile(OldCatalogDir+search.Name); - end; - until not FindNext(search); - finally - FindClose(search); - Log('Done migrating styles'); - end; - RemoveDir(OldCatalogDir); - end - else - Log('No existing style catalog collection found'); -end; - - -procedure UninstallLegacyVersion; -var - page: TOutputProgressWizardPage; - file_list: TStringList; - dir_list: TStringList; - shortcut_list: TStringList; - locale_list: TStringList; - itemsdone, totalitems, i: Integer; - curname: string; -begin - // Uninstall Aegisub 1.x - Log('-- Uninstall legacy version --'); - page := CreateOutputProgressPage('Uninstalling old version', 'Your old installation of Aegisub is being removed'); - try - page.SetText('Preparing list of files', ''); - page.Show; - - Log('Load file lists'); - ExtractTemporaryFile('legacy_shortcutlist.txt'); - ExtractTemporaryFile('legacy_filelist.txt'); - ExtractTemporaryFile('legacy_locales.txt'); - ExtractTemporaryFile('legacy_dirlist.txt'); - shortcut_list := TStringList.Create; - shortcut_list.LoadFromFile(ExpandConstant('{tmp}\legacy_shortcutlist.txt')); - file_list := TStringList.Create; - file_list.LoadFromFile(ExpandConstant('{tmp}\legacy_filelist.txt')); - locale_list := TStringList.Create; - locale_list.LoadFromFile(ExpandConstant('{tmp}\legacy_locales.txt')); - dir_list := TStringList.Create; - dir_list.LoadFromFile(ExpandConstant('{tmp}\legacy_dirlist.txt')); - itemsdone := 0; - totalitems := file_list.Count + dir_list.Count + shortcut_list.Count + locale_list.Count + 3; - // Two extra for the registry keys and one for Start menu folder - - for i := 0 to shortcut_list.Count-1 do - begin - curname := LegacyStartMenuFolder + '\' + shortcut_list.Strings[i]; - page.SetText('Removing shortcuts', curname); - page.SetProgress(itemsdone, totalitems); - Log('Remove shortcut: ' + curname); - if not DeleteFile(curname) then Log('* Deletion failed'); - itemsdone := itemsdone + 1; - end; - page.SetText('Removing Start menu folder', LegacyStartMenuFolder); - page.SetProgress(itemsdone, totalitems); - Log('Remove directory: ' + LegacyStartMenuFolder); - if not RemoveDir(LegacyStartMenuFolder) then Log('* Directory deletion failed'); - itemsdone := itemsdone + 1; - - for i := 0 to file_list.Count-1 do - begin - curname := LegacyInstallFolder + '\' + file_list.Strings[i]; - page.SetText('Removing files', curname); - page.SetProgress(itemsdone, totalitems); - Log('Remove file: ' + curname); - if not DeleteFile(curname) then Log('* Deletion failed'); - itemsdone := itemsdone + 1; - end; - - for i := 0 to locale_list.Count-1 do - begin - curname := LegacyInstallFolder + '\' + locale_list.Strings[i]; - page.SetText('Removing folders', curname); - page.SetProgress(itemsdone, totalitems); - Log('Remove directory recursively: ' + curname); - if not DelTree(curname, True, True, True) then Log('* Tree deletion failed'); - itemsdone := itemsdone + 1; - end; - - for i := 0 to dir_list.Count-1 do - begin - curname := LegacyInstallFolder + '\' + dir_list.Strings[i]; - page.SetText('Removing folders', curname); - page.SetProgress(itemsdone, totalitems); - Log('Remove directory: ' + curname); - if not RemoveDir(curname) then Log('* Directory deletion failed'); - itemsdone := itemsdone + 1; - end; - - page.SetText('Removing registry entries', 'Installation data'); - page.SetProgress(itemsdone, totalitems); - curname := 'SOFTWARE\Aegisub'; - Log('Remove reg key: HKLM\' + curname); - if not RegDeleteKeyIncludingSubkeys(HKLM, curname) then Log('* Failed recursively deleting key'); - - page.SetText('Removing registry entries', 'Uninstaller entry'); - page.SetProgress(itemsdone+1, totalitems); - curname := 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aegisub ' + LegacyVersionNumber; - Log('Remove reg key: HKLM\' + curname); - if not RegDeleteKeyIncludingSubkeys(HKLM, curname) then Log('* Failed recursively deleting key'); - - page.SetText('Uninstallation complete', ''); - page.SetProgress(totalitems, totalitems); - - finally - shortcut_list.Free; - file_list.Free; - locale_list.Free; - dir_list.Free; - page.Hide; - end; -end; - - -function SetFileAttributes(lpFileName: PChar; dwFileAttributes: Longint): Boolean; -external 'SetFileAttributesA@kernel32.dll stdcall'; - -procedure CleanUpOldVersion; -var - StartMenuFolder, InstallFolder: string; - page: TOutputProgressWizardPage; - file_list: TStringList; - dir_list: TStringList; - shortcut_list: TStringList; - locale_list: TStringList; - itemsdone, totalitems, i: Integer; - curname: string; -begin - // Clean up from previous Aegisub 2.x installs - Log('-- Clean up old versions --'); - page := CreateOutputProgressPage('Cleaning old versions', 'Cleaning up from older versions of Aegisub 2'); - try - page.SetText('Preparing list of files', ''); - page.Show; - - Log('Load file lists'); - ExtractTemporaryFile('old_shortcutlist.txt'); - ExtractTemporaryFile('old_filelist.txt'); - ExtractTemporaryFile('old_locales.txt'); - ExtractTemporaryFile('old_dirlist.txt'); - shortcut_list := TStringList.Create; - shortcut_list.LoadFromFile(ExpandConstant('{tmp}\old_shortcutlist.txt')); - file_list := TStringList.Create; - file_list.LoadFromFile(ExpandConstant('{tmp}\old_filelist.txt')); - locale_list := TStringList.Create; - locale_list.LoadFromFile(ExpandConstant('{tmp}\old_locales.txt')); - dir_list := TStringList.Create; - dir_list.LoadFromFile(ExpandConstant('{tmp}\old_dirlist.txt')); - itemsdone := 0; - totalitems := file_list.Count + dir_list.Count + shortcut_list.Count + locale_list.Count + 1; - // One extra for the start menu folder - - StartMenuFolder := ExpandConstant('{commonprograms}\Aegisub\'); - for i := 0 to shortcut_list.Count-1 do - begin - curname := StartMenuFolder + shortcut_list.Strings[i]; - page.SetText('Removing shortcuts', curname); - page.SetProgress(itemsdone, totalitems); - Log('Remove shortcut: ' + curname); - if not DeleteFile(curname) then Log('* Deletion failed'); - itemsdone := itemsdone + 1; - end; - page.SetText('Removing Start menu folder', StartMenuFolder); - page.SetProgress(itemsdone, totalitems); - Log('Remove directory: ' + StartMenuFolder); - if not RemoveDir(StartMenuFolder) then Log('* Directory deletion failed'); - itemsdone := itemsdone + 1; - - InstallFolder := ExpandConstant('{app}\'); - for i := 0 to file_list.Count-1 do - begin - curname := InstallFolder + file_list.Strings[i]; - page.SetText('Removing files', curname); - page.SetProgress(itemsdone, totalitems); - Log('Remove file: ' + curname); - SetFileAttributes(curname, 128); // 128 = FILE_ATTRIBUTE_NORMAL - if not DeleteFile(curname) then Log('* Deletion failed'); - itemsdone := itemsdone + 1; - end; - - for i := 0 to locale_list.Count-1 do - begin - curname := InstallFolder + locale_list.Strings[i]; - page.SetText('Removing folders', curname); - page.SetProgress(itemsdone, totalitems); - Log('Remove directory recursively: ' + curname); - if not DelTree(curname, True, True, True) then Log('* Tree deletion failed'); - itemsdone := itemsdone + 1; - end; - - for i := 0 to dir_list.Count-1 do - begin - curname := InstallFolder + dir_list.Strings[i]; - page.SetText('Removing folders', curname); - page.SetProgress(itemsdone, totalitems); - Log('Remove directory: ' + curname); - if not RemoveDir(curname) then Log('* Directory deletion failed'); - itemsdone := itemsdone + 1; - end; - - page.SetText('Uninstallation complete', ''); - page.SetProgress(totalitems, totalitems); - - finally - shortcut_list.Free; - file_list.Free; - locale_list.Free; - dir_list.Free; - page.Hide; - end; -end; - - -procedure CurStepChanged(CurStep: TSetupStep); -begin - if CurStep = ssInstall then - begin - if HasLegacyVersion then - begin - MigrateStyleCatalogs; - UninstallLegacyVersion; - end - CleanUpOldVersion; - end; -end; - diff --git a/aegisub/packages/win_installer/aegisub3-portable.iss b/aegisub/packages/win_installer/aegisub3-portable.iss new file mode 100644 index 000000000..e5352ac45 --- /dev/null +++ b/aegisub/packages/win_installer/aegisub3-portable.iss @@ -0,0 +1,109 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define SETUP_TYPE "portable" + +#include "fragment_setupbase.iss" + +[Setup] +; Different ID than the regular Aegisub installer +AppID={{76FE2682-E393-4F70-9FFD-2401507FC748} +DefaultDirName={userdesktop}\Aegisub portable +PrivilegesRequired=lowest +Uninstallable=no + +[Messages] +; Replacement for License page, no need to bother the user with legal mumbo-jumbo +WelcomeLabel1=Aegisub portable version +WelcomeLabel2=This will extract the portable version of Aegisub {#VERSION} to your computer.%n%nAegisub is covered by the GNU General Public License version 2. This means you may use the application for any purpose without charge, but that no warranties of any kind are given either.%n%nSee the Aegisub website for information on obtaining the source code. +; Select Dir page +SelectDirDesc=Where should Aegisub be extracted to? +SelectDirLabel3=Aegisub will be extracted into the following folder. +DiskSpaceWarning=You must have at least %1 KB of free space to extract Aegisub, but the selected drive only has %2 KB available.%n%nDo you want to continue anyway? +; Select Components page +SelectComponentsDesc=Which components should be extracted? +; Ready to Install page +WizardReady=Ready to extract +ReadyLabel1=Setup is now ready to extract Aegisub onto your computer. +ReadyLabel2a=Click Extract to continue, or click Back if you want to review or change any settings. +ReadyLabel2b=Click Extract to continue. +ButtonInstall=&Extract +; Preparing to Install page +WizardPreparing=Preparing to extract +PreparingDesc=Setup is preparing to extract Aegisub onto your computer. +; Installing page +WizardInstalling=Extracting +InstallingLabel=Please wait while Setup extracts Aegisub onto your computer. +; Setup Completed page +FinishedHeadingLabel=Completing the [name] Setup Wizard +FinishedLabelNoIcons=Setup has finished extracting Aegisub onto your computer. + +[Files] +; main +DestDir: {app}; Source: ..\..\bin\aegisub32.exe; Flags: ignoreversion solidbreak; Components: main +DestDir: {app}; Source: ..\..\bin\aegisub32.pdb; Flags: ignoreversion; Components: main/pdb +DestDir: {app}; Source: license.txt; Flags: ignoreversion; Components: main +DestDir: {app}; Source: portable_config.json; DestName: config.json; Flags: ignoreversion onlyifdoesntexist; Components: main +; runtimes +DestDir: {app}\Microsoft.VC90.CRT; Source: src\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest; Components: main/runtime +DestDir: {app}\Microsoft.VC90.CRT; Source: src\Microsoft.VC90.CRT\msvcm90.dll; Components: main/runtime +DestDir: {app}\Microsoft.VC90.CRT; Source: src\Microsoft.VC90.CRT\msvcp90.dll; Components: main/runtime +DestDir: {app}\Microsoft.VC90.CRT; Source: src\Microsoft.VC90.CRT\msvcr90.dll; Components: main/runtime +DestDir: {app}\Microsoft.VC90.MFC; Source: src\Microsoft.VC90.MFC\Microsoft.VC90.MFC.manifest; Components: main/runtime +DestDir: {app}\Microsoft.VC90.MFC; Source: src\Microsoft.VC90.MFC\mfc90u.dll; Components: main/runtime + +[Components] +; Actual program +Name: main; Description: Aegisub; Types: compact full custom; Flags: fixed +Name: main/pdb; Description: Debug database (helps diagnose crashes); Types: full +Name: main/runtime; Description: Runtime libraries; Types: compact full custom; Flags: fixed + +#include "fragment_codecs.iss" +#include "fragment_automation.iss" +#include "fragment_translations.iss" +#include "fragment_spelling.iss" +#include "fragment_docs.iss" + + +[Code] +#include "fragment_beautify_code.iss" + +procedure InitializeWizard; +begin + InitializeWizardBeautify; +end; + + + + diff --git a/aegisub/packages/win_installer/aegisub3-upgrade.iss b/aegisub/packages/win_installer/aegisub3-upgrade.iss new file mode 100644 index 000000000..c01d3b124 --- /dev/null +++ b/aegisub/packages/win_installer/aegisub3-upgrade.iss @@ -0,0 +1,122 @@ +; Copyright (c) 2007-2011, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; +#define SETUP_TYPE "upgrade" + +#include "fragment_setupbase.iss" + +[Setup] +AppID={{24BC8B57-716C-444F-B46B-A3349B9164C5} +DefaultDirName={pf}\Aegisub +PrivilegesRequired=poweruser + +[Messages] +; Replacement for License page, no need to bother the user with legal mumbo-jumbo +WelcomeLabel2=This will install Aegisub {#VERSION} on your computer.%n%nAegisub is covered by the GNU General Public License version 2. This means you may use the application for any purpose without charge, but that no warranties of any kind are given either.%n%nSee the Aegisub website for information on obtaining the source code. + +#include "fragment_mainprogram.iss" +#include "fragment_associations.iss" + +[Components] +Name: codec; Description: Media formats support; Flags: fixed; Types: custom compact full +Name: codec/vsfilter; Description: VSFilter-Aegisub 2.40; Types: compact full custom; Flags: fixed +Name: auto; Description: Automation 4 scripting support; Types: compact full +Name: auto/lua; Description: Lua; Types: compact full; Flags: checkablealone; Languages: + +#include "fragment_translations.iss" + +[InstallDelete] +; Usually this would be removed by the migration code, but that isn't used in upgrades so +; include the file deletion as a regular InstallDelete command +Type: files; Name: "{app}\csri\VSFilter-Aegisub.dll"; Components: codec/vsfilter +Type: dirifempty; Name: "{app}\csri\"; Components: codec/vsfilter + +[Files] +DestDir: {app}\automation\include; Source: ..\..\automation\include\karaskel-auto4.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\include; Source: ..\..\automation\include\utils-auto4.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\kara-templater.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\select-overlaps.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\strip-tags.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}; Source: ..\..\bin\ffms2.dll; Flags: ignoreversion; Components: codec +DestDir: {app}; Source: ..\..\bin\ffms2.pdb; Flags: ignoreversion; Components: codec and main/pdb +DestDir: {app}; Source: src\vsfilter-aegisub32.dll; Flags: ignoreversion; Components: codec/vsfilter + +[Code] +#include "fragment_beautify_code.iss" + +procedure InitializeWizard; +begin + InitializeWizardBeautify; +end; + +function InitializeSetup: Boolean; +var + OldVersionString: string; + OldVersionDir: string; + OldExeSize: Integer; +begin + // Check that we have an aegisub32.exe from 2.1.8 present and installation data from + // 2.1.8 as well, otherwise don't allow setup to run. + Result := False; + try + if RegQueryStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{24BC8B57-716C-444F-B46B-A3349B9164C5}_is1', 'DisplayVersion', OldVersionString) and + RegQueryStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{24BC8B57-716C-444F-B46B-A3349B9164C5}_is1', 'InstallLocation', OldVersionDir) and + (OldVersionString = '2.1.8') and + FileSize(OldVersionDir + '\aegisub32.exe', OldExeSize) and + (OldExeSize = 5595648) and + (GetMD5OfFile(OldVersionDir + '\aegisub32.exe') = 'ed67349f7dace0444fd5edcab5039737') then + begin + Result := True; + end; + except + // Swallow + end; + + if not Result then + begin + SuppressibleMsgBox( + 'Aegisub could not be upgraded because a supported version was not found.'#13#10#13#10 + + 'You must have Aegisub 2.1.8 installed to be able to use this upgrade installer.'#13#10 + + 'To install Aegisub {#VERSION}, you must use the full version installer which can be downloaded from http://www.aegisub.org/.', + mbError, + MB_OK, + IDOK); + end; +end; + +procedure CurStepChanged(CurStep: TSetupStep); +begin +end; + + + diff --git a/aegisub/packages/win_installer/aegisub3.iss b/aegisub/packages/win_installer/aegisub3.iss new file mode 100644 index 000000000..1d90907dd --- /dev/null +++ b/aegisub/packages/win_installer/aegisub3.iss @@ -0,0 +1,78 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define SETUP_TYPE "setup" + +#include "fragment_setupbase.iss" + +[Setup] +AppID={{24BC8B57-716C-444F-B46B-A3349B9164C5} +DefaultDirName={pf}\Aegisub +PrivilegesRequired=poweruser + + +#include "fragment_mainprogram.iss" +#include "fragment_associations.iss" +#include "fragment_runtimes.iss" +#include "fragment_codecs.iss" +#include "fragment_automation.iss" +#include "fragment_translations.iss" +#include "fragment_spelling.iss" +#include "fragment_docs.iss" +#include "fragment_assdraw.iss" + + +[Code] +#include "fragment_shell_code.iss" +#include "fragment_migrate_code.iss" +#include "fragment_beautify_code.iss" + +procedure InitializeWizard; +begin + InitializeWizardBeautify; +end; + +function InitializeSetup: Boolean; +begin + Result := InitializeSetupMigration; +end; + +procedure CurStepChanged(CurStep: TSetupStep); +begin + CurStepChangedMigration(CurStep); +end; + + + + diff --git a/aegisub/packages/win_installer/dictionaries/ca_ES.iss b/aegisub/packages/win_installer/dictionaries/ca_ES.iss new file mode 100644 index 000000000..6e06c66fa --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/ca_ES.iss @@ -0,0 +1,39 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "ca_ES" +#define LANGNAME "Catalan" +#define NOTHES 1 + +#include "fragment_stddict.iss" diff --git a/aegisub/packages/win_installer/dictionaries/cs_CZ.iss b/aegisub/packages/win_installer/dictionaries/cs_CZ.iss new file mode 100644 index 000000000..4849a935c --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/cs_CZ.iss @@ -0,0 +1,40 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "cs_CZ" +#define LANGNAME "Czech" +#define NOTHES 1 + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/da_DK.iss b/aegisub/packages/win_installer/dictionaries/da_DK.iss new file mode 100644 index 000000000..fdfe69d47 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/da_DK.iss @@ -0,0 +1,40 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "da_DK" +#define LANGNAME "Danish" +#define NOTHES 1 + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/de_AT.iss b/aegisub/packages/win_installer/dictionaries/de_AT.iss new file mode 100644 index 000000000..0c213439c --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/de_AT.iss @@ -0,0 +1,53 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "de_AT" +#define LANGNAME "Austrian German" +#define NOTHES 1 + +#include "fragment_dictbase.iss" + +[Setup] +OutputBaseFilename=Aegisub-2.1-dict-{#LANGCODE} +VersionInfoDescription=Aegisub 2.1.x {#LANGNAME} dictionary + + +[Files] +Source: src\de_AT.dic; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} +Source: src\de_DE.aff; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} + +[Components] +Name: dic; Description: Spell checker; Types: full +Name: dic/{#LANGCODE}; Description: {#LANGNAME} dictionary; Types: full + diff --git a/aegisub/packages/win_installer/dictionaries/de_DE.iss b/aegisub/packages/win_installer/dictionaries/de_DE.iss new file mode 100644 index 000000000..9034efb5e --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/de_DE.iss @@ -0,0 +1,39 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "de_DE" +#define LANGNAME "German" + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/el_GR.iss b/aegisub/packages/win_installer/dictionaries/el_GR.iss new file mode 100644 index 000000000..9cf088654 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/el_GR.iss @@ -0,0 +1,42 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "el_GR" +#define LANGNAME "Greek" +#define NOTHES 1 + +#include "fragment_stddict.iss" + +[Files] +Source: src\README_el_GR.txt; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} diff --git a/aegisub/packages/win_installer/dictionaries/en_GB.iss b/aegisub/packages/win_installer/dictionaries/en_GB.iss new file mode 100644 index 000000000..976d1da89 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/en_GB.iss @@ -0,0 +1,42 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "en_GB" +#define LANGNAME "British English" +#define NOTHES 1 + +#include "fragment_stddict.iss" + +[Files] +Source: src\README_en_GB.txt; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} diff --git a/aegisub/packages/win_installer/dictionaries/en_US.iss b/aegisub/packages/win_installer/dictionaries/en_US.iss new file mode 100644 index 000000000..1060a3677 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/en_US.iss @@ -0,0 +1,53 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "en_US" +#define LANGNAME "American English" + +#include "fragment_dictbase.iss" + +[Setup] +OutputBaseFilename=Aegisub-2.1-dict-{#LANGCODE} +VersionInfoDescription=Aegisub 2.1.x {#LANGNAME} thesaurus + + +[Files] +Source: src\th_en_US.dat; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: th/{#LANGCODE} +Source: src\th_en_US.idx; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: th/{#LANGCODE} +Source: src\README_en_US.txt; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: th/{#LANGCODE} + +[Components] +Name: th; Description: Thesaurus; Types: full +Name: th/{#LANGCODE}; Description: {#LANGNAME} thesaurus; Types: full + diff --git a/aegisub/packages/win_installer/dictionaries/es_ES.iss b/aegisub/packages/win_installer/dictionaries/es_ES.iss new file mode 100644 index 000000000..2f2da1880 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/es_ES.iss @@ -0,0 +1,39 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "es_ES" +#define LANGNAME "Spanish" + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/fr_FR.iss b/aegisub/packages/win_installer/dictionaries/fr_FR.iss new file mode 100644 index 000000000..8b663ee5a --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/fr_FR.iss @@ -0,0 +1,39 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "fr_FR" +#define LANGNAME "French" + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/fragment_dictbase.iss b/aegisub/packages/win_installer/dictionaries/fragment_dictbase.iss new file mode 100644 index 000000000..38192433e --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/fragment_dictbase.iss @@ -0,0 +1,86 @@ +; Copyright (c) 2011, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +[Setup] +AppID={{24BC8B57-716C-444F-B46B-A3349B9164C5} +AppName=Aegisub +AppVerName=Aegisub 3.0.0 +AppVersion=3.0.0 +AppPublisher=Aegisub Team +AppPublisherURL=http://www.aegisub.org/ +AppSupportURL=http://forum.aegisub.org/ +AppCopyright=© 2005-2011 The Aegisub Team +VersionInfoVersion=3.0.0 +DefaultDirName={pf}\Aegisub +DefaultGroupName=Aegisub +AllowNoIcons=true +OutputDir=output +Compression=lzma/ultra64 +SolidCompression=true +MinVersion=0,5.0 +ShowLanguageDialog=no +LanguageDetectionMethod=none +PrivilegesRequired=poweruser +DisableProgramGroupPage=yes +UsePreviousGroup=yes +UsePreviousSetupType=no +UsePreviousAppDir=yes +UsePreviousTasks=no +UninstallDisplayIcon={app}\aegisub32.exe +; Default to a large welcome bitmap, suitable for large fonts +; The normal fonts version is selected by code below +WizardImageFile=..\welcome-large.bmp +WizardSmallImageFile=..\aegisub-large.bmp + +[Languages] +Name: english; MessagesFile: compiler:Default.isl + +[Messages] +; Replacement for License page, no need to bother the user with legal mumbo-jumbo +WelcomeLabel2=This will install {#LANGNAME} dictionaries for Aegisub 3.0.x on your computer. + +[Files] +; small bitmaps (used by beautify code) +DestDir: {tmp}; Flags: dontcopy; Source: ..\welcome.bmp +DestDir: {tmp}; Flags: dontcopy; Source: ..\aegisub.bmp + + +[Code] +#include "..\fragment_shell_code.iss" +#include "..\fragment_beautify_code.iss" + +procedure InitializeWizard; +begin + InitializeWizardBeautify; +end; diff --git a/aegisub/packages/win_installer/dictionaries/fragment_stddict.iss b/aegisub/packages/win_installer/dictionaries/fragment_stddict.iss new file mode 100644 index 000000000..efcb2d5d1 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/fragment_stddict.iss @@ -0,0 +1,57 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#include "fragment_dictbase.iss" + +[Setup] +OutputBaseFilename=Aegisub-3.0-dict-{#LANGCODE} +VersionInfoDescription=Aegisub 3.0.x {#LANGNAME} dictionary + + +[Files] +Source: src\{#LANGCODE}.aff; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} +Source: src\{#LANGCODE}.dic; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} +#ifndef NOTHES +Source: src\th_{#LANGCODE}.dat; DestDir: {app}\dictionaries; Flags: ignoreversion solidbreak; Components: th/{#LANGCODE} +Source: src\th_{#LANGCODE}.idx; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: th/{#LANGCODE} +#endif + +[Components] +Name: dic; Description: Spell checker; Types: full +Name: dic/{#LANGCODE}; Description: {#LANGNAME} dictionary; Types: full +#ifndef NOTHES +Name: th; Description: Thesaurus; Types: full +Name: th/{#LANGCODE}; Description: {#LANGNAME} thesaurus; Types: full +#endif + diff --git a/aegisub/packages/win_installer/dictionaries/it_IT.iss b/aegisub/packages/win_installer/dictionaries/it_IT.iss new file mode 100644 index 000000000..49db04707 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/it_IT.iss @@ -0,0 +1,39 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "it_IT" +#define LANGNAME "Italian" + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/nl_NL.iss b/aegisub/packages/win_installer/dictionaries/nl_NL.iss new file mode 100644 index 000000000..37e520333 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/nl_NL.iss @@ -0,0 +1,40 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "nl_NL" +#define LANGNAME "Dutch" +#define NOTHES 1 + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/pl_PL.iss b/aegisub/packages/win_installer/dictionaries/pl_PL.iss new file mode 100644 index 000000000..fa382242b --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/pl_PL.iss @@ -0,0 +1,40 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "pl_PL" +#define LANGNAME "Polish" +#define NOTHES 1 + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/pt_BR.iss b/aegisub/packages/win_installer/dictionaries/pt_BR.iss new file mode 100644 index 000000000..474ece26a --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/pt_BR.iss @@ -0,0 +1,40 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "pt_BR" +#define LANGNAME "Brazilian Portuguese" +#define NOTHES 1 + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/ru_RU.iss b/aegisub/packages/win_installer/dictionaries/ru_RU.iss new file mode 100644 index 000000000..5fe364fa7 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/ru_RU.iss @@ -0,0 +1,39 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "ru_RU" +#define LANGNAME "Russian" + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/sk_SK.iss b/aegisub/packages/win_installer/dictionaries/sk_SK.iss new file mode 100644 index 000000000..97fb7a051 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/sk_SK.iss @@ -0,0 +1,40 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "sk_SK" +#define LANGNAME "Slovak" +#define NOTHES 1 + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/sl_SI.iss b/aegisub/packages/win_installer/dictionaries/sl_SI.iss new file mode 100644 index 000000000..74d116045 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/sl_SI.iss @@ -0,0 +1,40 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "sl_SI" +#define LANGNAME "Slovenian" +#define NOTHES 1 + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/sr_SR.iss b/aegisub/packages/win_installer/dictionaries/sr_SR.iss new file mode 100644 index 000000000..bded2241a --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/sr_SR.iss @@ -0,0 +1,46 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "sr" +#define LANGNAME "Serbian (Cyrillic and Latin)" +#define NOTHES 1 + +#include "fragment_stddict.iss" + +[Files] +Source: src\sr-Latn.aff; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} +Source: src\sr-Latn.dic; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} +Source: src\README_sr.txt; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} +Source: src\README-sr-Latn.txt; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} + diff --git a/aegisub/packages/win_installer/dictionaries/sv_SE.iss b/aegisub/packages/win_installer/dictionaries/sv_SE.iss new file mode 100644 index 000000000..73c49db92 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/sv_SE.iss @@ -0,0 +1,40 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "sv_SE" +#define LANGNAME "Swedish" +#define NOTHES 1 + +#include "fragment_stddict.iss" + diff --git a/aegisub/packages/win_installer/dictionaries/vi_VN.iss b/aegisub/packages/win_installer/dictionaries/vi_VN.iss new file mode 100644 index 000000000..664fc17f7 --- /dev/null +++ b/aegisub/packages/win_installer/dictionaries/vi_VN.iss @@ -0,0 +1,44 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define LANGCODE "vi_VN" +#define LANGNAME "Vietnamese" +#define NOTHES 1 + +#include "fragment_stddict.iss" + +[Files] +Source: src\README.vi_VN.txt; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} +Source: src\LICENSE.vi_VN.txt; DestDir: {app}\dictionaries; Flags: ignoreversion; Components: dic/{#LANGCODE} + diff --git a/aegisub/packages/win_installer/fragment_assdraw.iss b/aegisub/packages/win_installer/fragment_assdraw.iss new file mode 100644 index 000000000..051fea781 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_assdraw.iss @@ -0,0 +1,47 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +[Files] +; ASSDraw3 +Source: src\ASSDraw3.exe; DestDir: {app}; Flags: ignoreversion solidbreak; Components: assdraw +Source: src\ASSDraw3.chm; DestDir: {app}; Flags: ignoreversion; Components: assdraw and docs + +[Icons] +Name: {commonprograms}\ASSDraw3; Filename: {app}\ASSDraw3.exe; WorkingDir: {app}; IconIndex: 0; Components: main/icons and assdraw; Flags: createonlyiffileexists; Comment: Create vector drawings for ASS-format subtitles + +[Components] +; AssDraw +Name: assdraw; Description: ai-chan's ASSDraw3 for ASS vector drawing; Types: full + diff --git a/aegisub/packages/win_installer/fragment_associations.iss b/aegisub/packages/win_installer/fragment_associations.iss new file mode 100644 index 000000000..16d153101 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_associations.iss @@ -0,0 +1,197 @@ +; Copyright (c) 2007-2011, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +[Files] +DestDir: {commontemplates}; Source: template.ass; DestName: Aegisub.ass; Components: main + +[Registry] +; File type registration +; Application registration for Open With dialogue +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe"; ValueType: string; ValueName: "FriendlyAppName"; ValueData: "@{app}\aegisub32.exe,-10000"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\shell"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Applications\aegisub32.exe\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\shell\open"; ValueType: string; ValueName: "FriendlyAppName"; ValueData: "@{app}\aegisub32.exe,-10000"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Applications\aegisub32.exe\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%1"""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".ass"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".ssa"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".srt"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".sub"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".ttxt"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".txt"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".mkv"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".mka"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".mks"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".avi"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".mp3"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".mp4"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".aac"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".m4a"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".wav"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".ogg"; ValueData: ""; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\aegisub32.exe\SupportedTypes"; ValueType: string; ValueName: ".avs"; ValueData: ""; Flags: uninsdeletekey +; Class for general subtitle formats +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Subtitle.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub subtitle file"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Subtitle.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Subtitle.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10101"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Subtitle.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Subtitle.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.Subtitle.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.Subtitle.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for .ass files +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.ASSA.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub Advanced SSA subtitles"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.ASSA.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.ASSA.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10102"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.ASSA.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.ASSA.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.ASSA.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.ASSA.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for .ssa files +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SSA.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub SubStation Alpha subtitles"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SSA.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SSA.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10103"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SSA.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SSA.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.SSA.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.SSA.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for .srt files +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SRT.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub SubRip text subtitles"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SRT.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SRT.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10104"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SRT.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.SRT.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.SRT.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.SRT.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for .ttxt files +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TTXT.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub MPEG-4 timed text"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TTXT.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TTXT.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10105"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TTXT.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TTXT.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.TTXT.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.TTXT.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for .mks files +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.MKS.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub Matroska subtitles"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.MKS.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.MKS.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10106"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.MKS.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.MKS.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.MKS.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.MKS.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for .txt files +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TXT.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub raw text file"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TXT.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TXT.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10107"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TXT.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.TXT.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.TXT.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.TXT.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for undecideable media file types +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Media.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub media file"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Media.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Media.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10108"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Media.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Media.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.Media.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.Media.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for audio file types +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Audio.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub audio file"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Audio.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Audio.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10109"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Audio.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Audio.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.Audio.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.Audio.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Class for video file types +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Video.1"; ValueType: string; ValueName: ""; ValueData: "Aegisub video file"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Video.1"; ValueType: dword; ValueName: "EditFlags"; ValueData: $af0; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Video.1"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\aegisub32.exe,-10110"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Video.1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe,0"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\Aegisub.Video.1\shell"; ValueType: string; ValueName: ""; ValueData: "open"; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.Video.1\shell\open"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; SubKey: "SOFTWARE\Classes\Aegisub.Video.1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\aegisub32.exe"" ""%L"""; Flags: uninsdeletekey +; Default Programs registration +Root: HKLM; Subkey: "SOFTWARE\Aegisub"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Aegisub\Capabilities"; ValueType: none +Root: HKLM; Subkey: "SOFTWARE\Aegisub\Capabilities"; ValueType: string; ValueName: "ApplicationDescription"; ValueData: "@{app}\aegisub32.exe,-10001" +Root: HKLM; Subkey: "SOFTWARE\Aegisub\Capabilities\FileAssociations"; ValueType: none +Root: HKLM; Subkey: "SOFTWARE\Aegisub\Capabilities\FileAssociations"; ValueType: string; ValueName: ".ass"; ValueData: "Aegisub.ASSA.1" +Root: HKLM; Subkey: "SOFTWARE\Aegisub\Capabilities\FileAssociations"; ValueType: string; ValueName: ".ssa"; ValueData: "Aegisub.SSA.1" +Root: HKLM; Subkey: "SOFTWARE\Aegisub\Capabilities\FileAssociations"; ValueType: string; ValueName: ".srt"; ValueData: "Aegisub.SRT.1" +Root: HKLM; Subkey: "SOFTWARE\Aegisub\Capabilities\FileAssociations"; ValueType: string; ValueName: ".ttxt"; ValueData: "Aegisub.TTXT.1" +Root: HKLM; Subkey: "SOFTWARE\Aegisub\Capabilities\FileAssociations"; ValueType: string; ValueName: ".mks"; ValueData: "Aegisub.MKS.1" +Root: HKLM; Subkey: "SOFTWARE\RegisteredApplications"; ValueType: string; ValueName: "Aegisub"; ValueData: "SOFTWARE\Aegisub\Capabilities"; Flags: uninsdeletevalue +; Default handler for .ass +; Only register us as owner of the type if there isn't one already. Windows XP doesn't cooperate well when a type has no owner, +; even if everything else exists. If it already has an owner, use some other UI to take over ownership if the user desires. +; Only set perceived types for the main text-based subtitle formats. +; We only have a template file for .ass, that's the primary subtitle format. +; Register us as a valid ProgID for every type we can reasonably handle, and a few we might not be able to. +Root: HKLM; SubKey: "SOFTWARE\Classes\.ass"; ValueType: string; ValueData: "Aegisub.ASSA.1"; Flags: createvalueifdoesntexist +Root: HKLM; SubKey: "SOFTWARE\Classes\.ass"; ValueType: string; ValueName: "PerceivedType"; ValueData: "text"; Flags: createvalueifdoesntexist +Root: HKLM; Subkey: "SOFTWARE\Classes\.ass\Aegisub.ASSA.1"; ValueType: none; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\.ass\Aegisub.ASSA.1\ShellNew"; ValueType: string; ValueName: "FileName"; ValueData: "{commontemplates}\Aegisub.ass"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Classes\.ass\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.ASSA.1"; Flags: uninsdeletevalue +; Default handler for .ssa +Root: HKLM; SubKey: "SOFTWARE\Classes\.ssa"; ValueType: string; ValueData: "Aegisub.SSA.1"; Flags: createvalueifdoesntexist +Root: HKLM; SubKey: "SOFTWARE\Classes\.ssa"; ValueType: string; ValueName: "PerceivedType"; ValueData: "text"; Flags: createvalueifdoesntexist +Root: HKLM; Subkey: "SOFTWARE\Classes\.ssa\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.SSA.1"; Flags: uninsdeletevalue +; Default handler for .srt +Root: HKLM; SubKey: "SOFTWARE\Classes\.srt"; ValueType: string; ValueData: "Aegisub.SRT.1"; Flags: createvalueifdoesntexist +Root: HKLM; SubKey: "SOFTWARE\Classes\.srt"; ValueType: string; ValueName: "PerceivedType"; ValueData: "text"; Flags: createvalueifdoesntexist +Root: HKLM; Subkey: "SOFTWARE\Classes\.srt\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.SRT.1"; Flags: uninsdeletevalue +; Default handler for .ttxt +Root: HKLM; SubKey: "SOFTWARE\Classes\.ttxt"; ValueType: string; ValueData: "Aegisub.TTXT.1"; Flags: createvalueifdoesntexist +Root: HKLM; SubKey: "SOFTWARE\Classes\.ttxt"; ValueType: string; ValueName: "PerceivedType"; ValueData: "text"; Flags: createvalueifdoesntexist +Root: HKLM; Subkey: "SOFTWARE\Classes\.ttxt\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.TTXT.1"; Flags: uninsdeletevalue +; Default handler for .mks +Root: HKLM; SubKey: "SOFTWARE\Classes\.mks"; ValueType: string; ValueData: "Aegisub.MKS.1"; Flags: createvalueifdoesntexist +Root: HKLM; SubKey: "SOFTWARE\Classes\.mks"; ValueType: string; ValueName: "PerceivedType"; ValueData: "text"; Flags: createvalueifdoesntexist +Root: HKLM; Subkey: "SOFTWARE\Classes\.mks\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.MKS.1"; Flags: uninsdeletevalue +; Support opening a bunch more types +Root: HKLM; Subkey: "SOFTWARE\Classes\.sub\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Subtitle.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.txt\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.TXT.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.mkv\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Video.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.mka\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Audio.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.avi\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Video.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.mp3\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Audio.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.mp4\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Media.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.aac\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Audio.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.m4a\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Audio.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.wav\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Audio.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.ogg\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Media.1"; Flags: uninsdeletevalue +Root: HKLM; Subkey: "SOFTWARE\Classes\.avs\OpenWithProgids"; ValueType: string; ValueName: "Aegisub.Video.1"; Flags: uninsdeletevalue + diff --git a/aegisub/packages/win_installer/fragment_automation.iss b/aegisub/packages/win_installer/fragment_automation.iss new file mode 100644 index 000000000..523245543 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_automation.iss @@ -0,0 +1,63 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +; This file declares all installables related to Aegisub Automation + +[Files] +; auto4 main +DestDir: {app}\automation\include; Source: ..\..\automation\include\cleantags.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\include; Source: ..\..\automation\include\karaskel-auto4.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\include; Source: ..\..\automation\include\karaskel.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\include; Source: ..\..\automation\include\unicode.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\include; Source: ..\..\automation\include\utils-auto4.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly +DestDir: {app}\automation\include; Source: ..\..\automation\include\utils.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua; Attribs: readonly + +; Sample macros +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\cleantags-autoload.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\kara-templater.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\karaoke-auto-leadin.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\macro-1-edgeblur.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\macro-2-mkfullwitdh.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\select-overlaps.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\autoload; Source: ..\..\automation\autoload\strip-tags.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\demos; Source: ..\..\automation\demos\future-windy-blur.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\demos; Source: ..\..\automation\demos\raytracer-test1.ass; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly +DestDir: {app}\automation\demos; Source: ..\..\automation\demos\raytracer.lua; Flags: ignoreversion overwritereadonly uninsremovereadonly; Components: auto/lua/samples; Attribs: readonly + +[Components] +; Automation +Name: auto; Description: Automation 4 scripting support; Types: compact full +Name: auto/lua; Description: Lua; Types: compact full; Flags: checkablealone; Languages: +Name: auto/lua/samples; Description: Lua sample scripts; Types: full diff --git a/aegisub/packages/win_installer/fragment_beautify_code.iss b/aegisub/packages/win_installer/fragment_beautify_code.iss new file mode 100644 index 000000000..25552ecdd --- /dev/null +++ b/aegisub/packages/win_installer/fragment_beautify_code.iss @@ -0,0 +1,84 @@ +[Code] +(* +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; +*) + + +function SHAutoComplete(hWnd: Integer; dwFlags: DWORD): Integer; +external 'SHAutoComplete@shlwapi.dll stdcall delayload'; +const + SHACF_FILESYSTEM = $1; + SHACF_FILESYS_ONLY = $10; + SHACF_FILESYS_DIRS = $20; + +procedure InitializeWizardBeautify; +var + SmallBitmap: TFileStream; +begin + // Thanks to ender for the following snippets + + // Fix bitmaps for small/large fonts + try + if WizardForm.WizardBitmapImage.Height < 386 then //use smaller image when not using Large Fonts + begin + ExtractTemporaryFile('welcome.bmp'); + SmallBitmap := TFileStream.Create(ExpandConstant('{tmp}\welcome.bmp'),fmOpenRead); + try + WizardForm.WizardBitmapImage.Bitmap.LoadFromStream(SmallBitmap); + WizardForm.WizardBitmapImage2.Bitmap := WizardForm.WizardBitmapImage.Bitmap; + finally + SmallBitmap.Free; + end; + + ExtractTemporaryFile('aegisub.bmp'); + SmallBitmap := TFileStream.Create(ExpandConstant('{tmp}\aegisub.bmp'),fmOpenRead); + try + WizardForm.WizardSmallBitmapImage.Bitmap.LoadFromStream(SmallBitmap); + finally + SmallBitmap.Free; + end; + end; + except + Log('Error loading bitmaps: ' + GetExceptionMessage); + end; + + // Endow install dir edit box with autocomplete + try + SHAutoComplete(WizardForm.DirEdit.Handle, SHACF_FILESYSTEM); + except + Log('Could not add autocomplete to dir edit box'); + end; +end; + diff --git a/aegisub/packages/win_installer/fragment_codecs.iss b/aegisub/packages/win_installer/fragment_codecs.iss new file mode 100644 index 000000000..ff7c594f8 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_codecs.iss @@ -0,0 +1,51 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +[Files] +; avisynth +DestDir: {app}; Source: src\devil.dll; Flags: ignoreversion solidbreak; Components: codec +DestDir: {app}; Source: src\avisynth.dll; Flags: ignoreversion; Components: codec +DestDir: {app}; Source: src\DirectShowSource.dll; Flags: ignoreversion; Components: codec +; ffmpegsource +DestDir: {app}; Source: ..\..\bin\ffms2.dll; Flags: ignoreversion; Components: codec +DestDir: {app}; Source: ..\..\bin\ffms2.pdb; Flags: ignoreversion; Components: codec and main/pdb +; vsfilter +DestDir: {app}; Source: src\vsfilter-aegisub32.dll; Flags: ignoreversion; Components: codec/vsfilter + +[Components] +Name: codec; Description: Media formats support; Flags: fixed; Types: custom compact full +Name: codec/vsfilter; Description: VSFilter-Aegisub 2.40; Types: compact full custom; Flags: fixed + + diff --git a/aegisub/packages/win_installer/fragment_docs.iss b/aegisub/packages/win_installer/fragment_docs.iss new file mode 100644 index 000000000..0bf0a4d4e --- /dev/null +++ b/aegisub/packages/win_installer/fragment_docs.iss @@ -0,0 +1,43 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +[Files] +; documentation +Source: src\docs\*; DestDir: {app}\docs; Flags: ignoreversion recursesubdirs solidbreak; Components: docs; Excludes: *svn + +[Components] +; Docs +Name: docs; Description: User manual; Types: custom compact full + + diff --git a/aegisub/packages/win_installer/fragment_mainprogram.iss b/aegisub/packages/win_installer/fragment_mainprogram.iss new file mode 100644 index 000000000..bc075bd1f --- /dev/null +++ b/aegisub/packages/win_installer/fragment_mainprogram.iss @@ -0,0 +1,60 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +[Components] +; Actual program +Name: main; Description: Aegisub; Types: compact full custom; Languages: ; Flags: fixed +Name: main/pdb; Description: Debug database (helps diagnose crashes); Types: full +Name: main/icons; Description: Start menu icon; Types: custom compact full +Name: main/qcklnch; Description: Quick launch icon; Types: custom compact full + +[Files] +; main +DestDir: {app}; Source: ..\..\bin\aegisub32.exe; Flags: ignoreversion solidbreak; Components: main +DestDir: {app}; Source: ..\..\bin\aegisub32.pdb; Flags: ignoreversion; Components: main/pdb +DestDir: {app}; Source: license.txt; Flags: ignoreversion; Tasks: ; Languages: ; Components: main + +[Icons] +Name: {commonprograms}\Aegisub; Filename: {app}\aegisub32.exe; WorkingDir: {app}; IconIndex: 0; Components: main/icons; Comment: Create and edit subtitle files +Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Aegisub; Filename: {app}\aegisub32.exe; WorkingDir: {app}; IconIndex: 0; Components: main/qcklnch; Comment: Create and edit subtitle files + +[Registry] +; Register in App Paths so the user can conveniently enter 'aegisub' in their Run box +Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\aegisub32.exe"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe"; Flags: uninsdeletekey +Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\aegisub.exe"; ValueType: string; ValueName: ""; ValueData: "{app}\aegisub32.exe"; Flags: uninsdeletekey + +[Run] +Filename: {app}\aegisub32.exe; Description: {cm:LaunchProgram,Aegisub}; Flags: nowait postinstall skipifsilent + diff --git a/aegisub/packages/win_installer/fragment_migrate_code.iss b/aegisub/packages/win_installer/fragment_migrate_code.iss new file mode 100644 index 000000000..7be07c916 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_migrate_code.iss @@ -0,0 +1,398 @@ +[Code] +(* +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; +*) + + +var + HasLegacyVersion: Boolean; + LegacyStartMenuFolder: string; + LegacyInstallFolder: string; + LegacyVersionNumber: string; + + +function OldStartMenuFolder(Param: string): string; +begin + if HasLegacyVersion then + Result := LegacyStartMenuFolder + else + Result := ExpandConstant('{group}'); +end; +function OldInstallFolder(Param: string): string; +begin + if HasLegacyVersion then + Result := LegacyInstallFolder + else + Result := ExpandConstant('{app}'); +end; + + +function BoolToStr(x: Boolean): string; +begin + if x then Result := 'Yes' else Result := 'No'; +end; + + +function InitializeSetupMigration: Boolean; +begin + LegacyStartMenuFolder := 'Aegisub'; + LegacyInstallFolder := ExpandConstant('{pf}\Aegisub'); + LegacyVersionNumber := '1.x'; + + try + HasLegacyVersion := RegValueExists(HKLM, 'SOFTWARE\Aegisub\info', 'InstVer'); + Log(Format('Legacy version found: %s', [BoolToStr(HasLegacyVersion)])); + + if RegQueryStringValue(HKLM, 'SOFTWARE\Aegisub\info', 'StartMenuDir', LegacyStartMenuFolder) then + LegacyStartMenuFolder := ExpandConstant('{userprograms}\') + LegacyStartMenuFolder; + Log(Format('Legacy version Start menu folder: %s', [LegacyStartMenuFolder])); + + RegQueryStringValue(HKLM, 'SOFTWARE\Aegisub\info', 'InstallDir', LegacyInstallFolder); + Log(Format('Legacy version install folder: %s', [LegacyInstallFolder])); + + RegQueryStringValue(HKLM, 'SOFTWARE\Aegisub\info', 'InstVer', LegacyVersionNumber); + except + Log('An exception occurred while trying to detect a legacy installation of Aegisub. Assuming there isn''t one.'); + HasLegacyVersion := False; + end; + + Result := True; + if HasLegacyVersion then + Result := SuppressibleMsgBox(Format('A previous installation of Aegisub %s has been detected and will be removed along with its configuration.'#13#10#13#10'Continue installing and remove old version?', [LegacyVersionNumber]), mbConfirmation, MB_YESNO, IDYES) = IDYES; +end; + + +procedure MigrateStyleCatalogs; +var + OldCatalogDir: string; + NewCatalogDir: string; + search: TFindRec; +begin + try + // Upgrade an 1.x style-catalog by moving it to {appdata} + OldCatalogDir := OldInstallFolder('') + '\Catalog\'; + Log('-- Migrate style catalogs --'); + if DirExists(OldCatalogDir) then + begin + NewCatalogDir := ExpandConstant('{userappdata}\Aegisub\catalog\'); + ForceDirectories(NewCatalogDir); + Log('Old style catalog dir: ' + OldCatalogDir); + Log('New catalog dir: ' + NewCatalogDir); + if FindFirst(OldCatalogDir + '*', search) then + try + repeat + Log('Found style catalog: ' + OldCatalogDir + search.Name); + if FileCopy(OldCatalogDir+search.Name, NewCatalogDir+search.Name, True) then + begin + Log('Copied catalog to: ' + NewCatalogDir+search.Name); + DeleteFile(OldCatalogDir+search.Name); + end; + until not FindNext(search); + finally + FindClose(search); + Log('Done migrating styles'); + end; + RemoveDir(OldCatalogDir); + end + else + Log('No existing style catalog collection found'); + except + Log('An exception occurred while trying to migrate style catalogues.'); + end; +end; + + +procedure UninstallLegacyVersion; +var + page: TOutputProgressWizardPage; + file_list: TStringList; + dir_list: TStringList; + shortcut_list: TStringList; + locale_list: TStringList; + itemsdone, totalitems, i: Integer; + curname: string; +begin + // Uninstall Aegisub 1.x + Log('-- Uninstall legacy version --'); + page := CreateOutputProgressPage('Uninstalling old version', 'Your old installation of Aegisub is being removed'); + try + page.SetText('Preparing list of files', ''); + page.Show; + + Log('Load file lists'); + ExtractTemporaryFile('legacy_shortcutlist.txt'); + ExtractTemporaryFile('legacy_filelist.txt'); + ExtractTemporaryFile('legacy_locales.txt'); + ExtractTemporaryFile('legacy_dirlist.txt'); + shortcut_list := TStringList.Create; + shortcut_list.LoadFromFile(ExpandConstant('{tmp}\legacy_shortcutlist.txt')); + file_list := TStringList.Create; + file_list.LoadFromFile(ExpandConstant('{tmp}\legacy_filelist.txt')); + locale_list := TStringList.Create; + locale_list.LoadFromFile(ExpandConstant('{tmp}\legacy_locales.txt')); + dir_list := TStringList.Create; + dir_list.LoadFromFile(ExpandConstant('{tmp}\legacy_dirlist.txt')); + itemsdone := 0; + totalitems := file_list.Count + dir_list.Count + shortcut_list.Count + locale_list.Count + 3; + // Two extra for the registry keys and one for Start menu folder + + for i := 0 to shortcut_list.Count-1 do + begin + try + curname := LegacyStartMenuFolder + '\' + shortcut_list.Strings[i]; + // Check that the link points to somewhere in the dir we're installing to so we don't + // delete a shortcut to something else + page.SetText('Removing shortcuts', curname); + if Pos(LegacyInstallFolder, RemoveQuotes(ReadShellLink(curname))) = 1 then + begin + page.SetProgress(itemsdone, totalitems); + Log('Remove shortcut: ' + curname); + if not DeleteFile(curname) then Log('* Deletion failed'); + itemsdone := itemsdone + 1; + end + else + Log('Not deleting shortcut, not to old installation: ' + curname); + except + Log('Exception removing shortcut: ' + curname); + end; + end; + page.SetText('Removing Start menu folder', LegacyStartMenuFolder); + page.SetProgress(itemsdone, totalitems); + Log('Remove directory: ' + LegacyStartMenuFolder); + if not RemoveDir(LegacyStartMenuFolder) then Log('* Directory deletion failed'); + itemsdone := itemsdone + 1; + + for i := 0 to file_list.Count-1 do + begin + curname := LegacyInstallFolder + '\' + file_list.Strings[i]; + page.SetText('Removing files', curname); + page.SetProgress(itemsdone, totalitems); + Log('Remove file: ' + curname); + if not DeleteFile(curname) then Log('* Deletion failed'); + itemsdone := itemsdone + 1; + end; + + for i := 0 to locale_list.Count-1 do + begin + curname := LegacyInstallFolder + '\' + locale_list.Strings[i]; + page.SetText('Removing folders', curname); + page.SetProgress(itemsdone, totalitems); + Log('Remove directory recursively: ' + curname); + if not DelTree(curname, True, True, True) then Log('* Tree deletion failed'); + itemsdone := itemsdone + 1; + end; + + for i := 0 to dir_list.Count-1 do + begin + curname := LegacyInstallFolder + '\' + dir_list.Strings[i]; + page.SetText('Removing folders', curname); + page.SetProgress(itemsdone, totalitems); + Log('Remove directory: ' + curname); + if not RemoveDir(curname) then Log('* Directory deletion failed'); + itemsdone := itemsdone + 1; + end; + + page.SetText('Removing registry entries', 'Installation data'); + page.SetProgress(itemsdone, totalitems); + curname := 'SOFTWARE\Aegisub'; + Log('Remove reg key: HKLM\' + curname); + if not RegDeleteKeyIncludingSubkeys(HKLM, curname) then Log('* Failed recursively deleting key'); + + page.SetText('Removing registry entries', 'Uninstaller entry'); + page.SetProgress(itemsdone+1, totalitems); + curname := 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Aegisub ' + LegacyVersionNumber; + Log('Remove reg key: HKLM\' + curname); + if not RegDeleteKeyIncludingSubkeys(HKLM, curname) then Log('* Failed recursively deleting key'); + + page.SetText('Uninstallation complete', ''); + page.SetProgress(totalitems, totalitems); + + except + Log('An exception occurred while trying to uninstall a legacy version'); + + finally + shortcut_list.Free; + file_list.Free; + locale_list.Free; + dir_list.Free; + page.Hide; + end; +end; + + +function SetFileAttributes(lpFileName: WideString; dwFileAttributes: Longint): Boolean; +external 'SetFileAttributesW@kernel32.dll stdcall'; + +procedure CleanUpOldVersion; +var + StartMenuFolder, InstallFolder: string; + page: TOutputProgressWizardPage; + file_list: TStringList; + dir_list: TStringList; + shortcut_list: TStringList; + locale_list: TStringList; + itemsdone, totalitems, i: Integer; + curname, linktarget: string; +begin + // Clean up from previous Aegisub 2.x installs + Log('-- Clean up old versions --'); + page := CreateOutputProgressPage('Cleaning old versions', 'Cleaning up from older versions of Aegisub 2'); + try + page.SetText('Preparing list of files', ''); + page.Show; + + Log('Load file lists'); + ExtractTemporaryFile('old_shortcutlist.txt'); + ExtractTemporaryFile('old_filelist.txt'); + ExtractTemporaryFile('old_locales.txt'); + ExtractTemporaryFile('old_dirlist.txt'); + shortcut_list := TStringList.Create; + shortcut_list.LoadFromFile(ExpandConstant('{tmp}\old_shortcutlist.txt')); + file_list := TStringList.Create; + file_list.LoadFromFile(ExpandConstant('{tmp}\old_filelist.txt')); + locale_list := TStringList.Create; + locale_list.LoadFromFile(ExpandConstant('{tmp}\old_locales.txt')); + dir_list := TStringList.Create; + dir_list.LoadFromFile(ExpandConstant('{tmp}\old_dirlist.txt')); + itemsdone := 0; + totalitems := file_list.Count + dir_list.Count + shortcut_list.Count + locale_list.Count + 2; + // Two extra: + // - Start menu folder + // - Renaming Aegisub.exe to aegiub32.exe + + StartMenuFolder := ExpandConstant('{commonprograms}\Aegisub\'); + InstallFolder := ExpandConstant('{app}\'); + for i := 0 to shortcut_list.Count-1 do + begin + try + curname := StartMenuFolder + '\' + shortcut_list.Strings[i]; + // Check that the link points to somewhere in the dir we're installing to so we don't + // delete a shortcut to something else + page.SetText('Removing shortcuts', curname); + linktarget := ReadShellLink(curname); + if Pos(InstallFolder, RemoveQuotes(linktarget)) = 1 then + begin + page.SetProgress(itemsdone, totalitems); + Log('Remove shortcut: ' + curname); + if not DeleteFile(curname) then Log('* Deletion failed'); + itemsdone := itemsdone + 1; + end + else + begin + Log('Not deleting shortcut, not to old installation: ' + curname); + Log('Link target: "' + linktarget + '"; Install folder: "' + InstallFolder + '"'); + end; + except + Log('Exception removing shortcut: ' + curname); + end; + end; + page.SetText('Removing Start menu folder', StartMenuFolder); + page.SetProgress(itemsdone, totalitems); + Log('Remove directory: ' + StartMenuFolder); + if not RemoveDir(StartMenuFolder) then Log('* Directory deletion failed'); + itemsdone := itemsdone + 1; + + for i := 0 to file_list.Count-1 do + begin + curname := InstallFolder + file_list.Strings[i]; + page.SetText('Removing files', curname); + page.SetProgress(itemsdone, totalitems); + Log('Remove file: ' + curname); + SetFileAttributes(curname, 128); // 128 = FILE_ATTRIBUTE_NORMAL + if not DeleteFile(curname) then Log('* Deletion failed'); + itemsdone := itemsdone + 1; + end; + + // This moving is done to help Windows' link tracking code be able to fix shortcuts + page.SetText('Moving EXE file to new name', 'Aegisub.exe'); + page.SetProgress(itemsdone, totalitems); + Log('Rename Aegisub.exe to aegisub32.exe'); + RenameFile(InstallFolder+'Aegisub.exe', InstallFolder+'aegisub32.exe'); + itemsdone := itemsdone + 1; + + for i := 0 to locale_list.Count-1 do + begin + curname := InstallFolder + locale_list.Strings[i]; + page.SetText('Removing folders', curname); + page.SetProgress(itemsdone, totalitems); + Log('Remove directory recursively: ' + curname); + if not DelTree(curname, True, True, True) then Log('* Tree deletion failed'); + itemsdone := itemsdone + 1; + end; + + for i := 0 to dir_list.Count-1 do + begin + curname := InstallFolder + dir_list.Strings[i]; + page.SetText('Removing folders', curname); + page.SetProgress(itemsdone, totalitems); + Log('Remove directory: ' + curname); + if not RemoveDir(curname) then Log('* Directory deletion failed'); + itemsdone := itemsdone + 1; + end; + + page.SetText('Uninstallation complete', ''); + page.SetProgress(totalitems, totalitems); + + except + Log('An exception occurred while trying to clean up an older version'); + + finally + shortcut_list.Free; + file_list.Free; + locale_list.Free; + dir_list.Free; + page.Hide; + end; +end; + + +procedure CurStepChangedMigration(CurStep: TSetupStep); +begin + if CurStep = ssInstall then + begin + if HasLegacyVersion then + begin + MigrateStyleCatalogs; + UninstallLegacyVersion; + end; + CleanUpOldVersion; + end; +end; + + + + + + diff --git a/aegisub/packages/win_installer/fragment_opengl.iss b/aegisub/packages/win_installer/fragment_opengl.iss new file mode 100644 index 000000000..21cb3ee14 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_opengl.iss @@ -0,0 +1,68 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +; Check whether the user has a possibly redundant OPENGL32.DLL file in his program folder and offer to remove it + +[InstallDelete] +Type: files; Name: {app}\opengl32.dll; Tasks: RemoveRedundantOpenGL +Type: files; Name: {app}\opengl32.txt; Tasks: RemoveRedundantOpenGL +Type: files; Name: {app}\opengl32.lib; Tasks: RemoveRedundantOpenGL + +[Tasks] +Name: RemoveRedundantOpenGL; Description: Remove OPENGL32.DLL from Aegisub folder; Check: OpenGLdllPresent + +[Messages] +WizardSelectTasks=Select Additional Tasks +SelectTasksDesc=Which additional tasks should be performed? +SelectTasksLabel2=You appear to have a Mesa3D OPENGL32.DLL file installed in your Aegisub directory. This file has previously helped make video display more stable, but is no longer needed because Aegisub's code has been made more robust.%nThis file will be removed by default, but if you want to keep it you can unselect the option below. + +[Code] +function OpenGLdllPresent: Boolean; +begin + try + Result := + FileExists(ExpandConstant('{app}\opengl32.dll')) + // MD5 hash of the DLL distributed on Aegisub's forum + and (GetMD5OfFile(ExpandConstant('{app}\opengl32.dll')) = 'f928a03f4b265658589be951cbd09a27') + ; + except + Result := False; + end; +end; +[/Code] + + + + diff --git a/aegisub/packages/win_installer/fragment_runtimes.iss b/aegisub/packages/win_installer/fragment_runtimes.iss new file mode 100644 index 000000000..e4bfb118c --- /dev/null +++ b/aegisub/packages/win_installer/fragment_runtimes.iss @@ -0,0 +1,68 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +; This file implements checking for and installing runtime libraries for Aegisub + +[Files] +DestDir: {tmp}; Source: src\vcredist_x86.exe; Flags: nocompression deleteafterinstall; Check: RuntimesRequired + +[Components] +Name: main/runtime; Description: Runtime libraries; Check: RuntimesRequired; Flags: fixed; Types: custom compact full; ExtraDiskSpaceRequired: 4630528 + +[Run] +Filename: {tmp}\vcredist_x86.exe; StatusMsg: Installing runtime libraries...; Check: RuntimesRequired; Components: main/runtime; Parameters: "/q" + +[Code] +function RuntimesRequired: Boolean; +var + DisplayVersion: string; +begin + // Check for uninstall entry for runtimes, don't bother installing if it can be uninstalled now + // HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475} + // Check: DisplayVersion = "9.0.30729" + try + DisplayVersion := ''; + Result := RegQueryStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}', + 'DisplayVersion', DisplayVersion); + Result := Result and (DisplayVersion = '9.0.30729'); + except + // If the check fails take the safe route + Result := False; + end; + + Result := not Result; +end; +[/Code] + diff --git a/aegisub/packages/win_installer/fragment_setupbase.iss b/aegisub/packages/win_installer/fragment_setupbase.iss new file mode 100644 index 000000000..2d45aac43 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_setupbase.iss @@ -0,0 +1,90 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + +#define VERSION "3.0.0" + +[Setup] +AppName=Aegisub +AppVerName=Aegisub {#VERSION} +AppVersion={#VERSION} +AppPublisher=Aegisub Team +AppPublisherURL=http://www.aegisub.org/ +AppSupportURL=http://forum.aegisub.org/ +AppCopyright=© 2005-2011 The Aegisub Team +VersionInfoVersion={#VERSION} +DefaultGroupName=Aegisub +AllowNoIcons=true +OutputDir=output +Compression=lzma/ultra64 +SolidCompression=true +MinVersion=0,5.0 +ShowLanguageDialog=no +LanguageDetectionMethod=none +DisableProgramGroupPage=yes +UsePreviousGroup=yes +UsePreviousSetupType=no +UsePreviousAppDir=yes +UsePreviousTasks=no +UninstallDisplayIcon={app}\aegisub32.exe +; Default to a large welcome bitmap, suitable for large fonts +; The normal fonts version is selected by code below +WizardImageFile=welcome-large.bmp +WizardSmallImageFile=aegisub-large.bmp + +OutputBaseFilename=Aegisub-{#VERSION}-{#SETUP_TYPE} +VersionInfoDescription=Aegisub {#VERSION} {#SETUP_TYPE} + +[Languages] +Name: english; MessagesFile: compiler:Default.isl + +[Messages] +; Replacement for License page, no need to bother the user with legal mumbo-jumbo +WelcomeLabel2=This will install Aegisub {#VERSION} on your computer.%n%nAegisub is covered by the GNU General Public License version 2. This means you may use the application for any purpose without charge, but that no warranties of any kind are given either.%n%nSee the Aegisub website for information on obtaining the source code. + +[Files] +; small bitmaps (used by beautify code) +DestDir: {tmp}; Flags: dontcopy; Source: welcome.bmp +DestDir: {tmp}; Flags: dontcopy; Source: aegisub.bmp +; uninstall data (used by migration code) +DestDir: {tmp}; Flags: dontcopy; Source: legacy_filelist.txt +DestDir: {tmp}; Flags: dontcopy; Source: legacy_dirlist.txt +DestDir: {tmp}; Flags: dontcopy; Source: legacy_locales.txt +DestDir: {tmp}; Flags: dontcopy; Source: legacy_shortcutlist.txt +DestDir: {tmp}; Flags: dontcopy; Source: old_filelist.txt +DestDir: {tmp}; Flags: dontcopy; Source: old_dirlist.txt +DestDir: {tmp}; Flags: dontcopy; Source: old_locales.txt +DestDir: {tmp}; Flags: dontcopy; Source: old_shortcutlist.txt + + + diff --git a/aegisub/packages/win_installer/fragment_shell_code.iss b/aegisub/packages/win_installer/fragment_shell_code.iss new file mode 100644 index 000000000..259d45a06 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_shell_code.iss @@ -0,0 +1,124 @@ +[Code] +(* +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; +*) + +// IShellLink interface and CLSID taken from sample +const + MAX_PATH = 260; + CLSID_ShellLink = '{00021401-0000-0000-C000-000000000046}'; + +type + TWin32FileTime = record + dwLowDateTime: DWord; + dwHighDateTime: DWord; + end; + + TWin32FindData = record + dwFileAttributes: DWord; + ftCreationTime: TWin32FileTime; + ftLastAccessTime: TWin32FileTime; + ftLastWriteTime: TWin32FileTime; + nFileSizeHigh: DWord; + nFileSizeLow: DWord; + dwReserved0: DWord; + dwReserved1: DWord; + cFileName: array[0..MAX_PATH-1] of WideChar; + cAlternateFileName: array[0..13] of WideChar; + end; + + IShellLink = interface(IUnknown) + '{000214F9-0000-0000-C000-000000000046}' + function GetPath(pszFile: string; cchMaxPath: Integer; var pfd: TWin32FindData; fFlags: DWord): HResult; + procedure Dummy2; // GetIDList(PIDLIST_ABSOLUTE) + procedure Dummy3; // SetIDList(PCIDLIST_ABSOLUTE) + function GetDescription(pszName: String; cchMaxName: Integer): HResult; + function SetDescription(pszName: String): HResult; + function GetWorkingDirectory(pszDir: String; cchMaxPath: Integer): HResult; + function SetWorkingDirectory(pszDir: String): HResult; + function GetArguments(pszArgs: String; cchMaxPath: Integer): HResult; + function SetArguments(pszArgs: String): HResult; + function GetHotkey(var pwHotkey: Word): HResult; + function SetHotkey(wHotkey: Word): HResult; + function GetShowCmd(out piShowCmd: Integer): HResult; + function SetShowCmd(iShowCmd: Integer): HResult; + function GetIconLocation(pszIconPath: String; cchIconPath: Integer; + out piIcon: Integer): HResult; + function SetIconLocation(pszIconPath: String; iIcon: Integer): HResult; + function SetRelativePath(pszPathRel: String; dwReserved: DWORD): HResult; + function Resolve(Wnd: HWND; fFlags: DWORD): HResult; + function SetPath(pszFile: String): HResult; + end; + + IPersist = interface(IUnknown) + '{0000010C-0000-0000-C000-000000000046}' + function GetClassID(var classID: TGUID): HResult; + end; + + IPersistFile = interface(IPersist) + '{0000010B-0000-0000-C000-000000000046}' + function IsDirty: HResult; + function Load(pszFileName: String; dwMode: Longint): HResult; + function Save(pszFileName: String; fRemember: BOOL): HResult; + function SaveCompleted(pszFileName: String): HResult; + function GetCurFile(out pszFileName: String): HResult; + end; + + +function ReadShellLink(LinkFileName: string): string; +var + Unk: IUnknown; + PF: IPersistFile; + SL: IShellLink; + fnd: TWin32FindData; + linkpath: string; +begin + try + Unk := CreateComObject(StringToGuid(CLSID_ShellLink)); + + PF := IPersistFile(Unk); + OleCheck(PF.Load(LinkFileName, 0)); + + SL := IShellLink(Unk); + SetLength(linkpath, MAX_PATH); + OleCheck(SL.GetPath(linkpath, MAX_PATH, fnd, 0)); + + Result := linkpath; + except + Log('Error reading shell link "' + LinkFileName + '": ' + GetExceptionMessage); + Result := ''; + end; +end; + diff --git a/aegisub/packages/win_installer/fragment_spelling.iss b/aegisub/packages/win_installer/fragment_spelling.iss new file mode 100644 index 000000000..6383a98e6 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_spelling.iss @@ -0,0 +1,45 @@ +; Copyright (c) 2007-2011, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +; This file declares all installables related to spell checking and thesaurii in Aegisub + +[Files] +Source: src\dictionaries\en_US.aff; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/en_US +Source: src\dictionaries\en_US.dic; DestDir: {app}\dictionaries; Flags: skipifsourcedoesntexist ignoreversion; Components: dic/en_US + +[Components] +; Languages support +Name: dic; Description: Spell checker; Types: full +Name: dic/en_US; Description: American English dictionary; Types: full diff --git a/aegisub/packages/win_installer/fragment_translations.iss b/aegisub/packages/win_installer/fragment_translations.iss new file mode 100644 index 000000000..f3efec0a2 --- /dev/null +++ b/aegisub/packages/win_installer/fragment_translations.iss @@ -0,0 +1,114 @@ +; Copyright (c) 2007-2009, Niels Martin Hansen +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; +; * Redistributions of source code must retain the above copyright notice, +; this list of conditions and the following disclaimer. +; * Redistributions in binary form must reproduce the above copyright notice, +; this list of conditions and the following disclaimer in the documentation +; and/or other materials provided with the distribution. +; * Neither the name of the Aegisub Group nor the names of its contributors +; may be used to endorse or promote products derived from this software +; without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; +; ----------------------------------------------------------------------------- +; +; AEGISUB +; +; Website: http://www.aegisub.org/ +; Contact: mailto:nielsm@indvikleren.dk +; + + +; This file declares everything related to installable translations of Aegisub + +[Files] +; localization (commented out ones are out of date; some don't have wxstd.mo) +Source: ..\..\po\ca.mo; DestDir: {app}\locale\ca; DestName: aegisub.mo; Flags: ignoreversion solidbreak; Components: i18n/ca +Source: src\wxstd-ca.mo; DestDir: {app}\locale\ca; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/ca +Source: ..\..\po\cs.mo; DestDir: {app}\locale\cs; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/cs +Source: src\wxstd-cs.mo; DestDir: {app}\locale\cs; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/cs +Source: ..\..\po\da.mo; DestDir: {app}\locale\da; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/da +Source: src\wxstd-da.mo; DestDir: {app}\locale\da; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/da +Source: ..\..\po\de.mo; DestDir: {app}\locale\de; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/de +Source: src\wxstd-de.mo; DestDir: {app}\locale\de; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/de +Source: ..\..\po\es.mo; DestDir: {app}\locale\es; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/es +Source: src\wxstd-es.mo; DestDir: {app}\locale\es; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/es +Source: ..\..\po\el.mo; DestDir: {app}\locale\el; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/el +Source: src\wxstd-el.mo; DestDir: {app}\locale\el; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/el +Source: ..\..\po\fa.mo; DestDir: {app}\locale\fa; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/fa +; Farsi wxstd missing +;Source: src\wxstd-fa.mo; DestDir: {app}\locale\fa; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/fa +Source: ..\..\po\fi.mo; DestDir: {app}\locale\fi; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/fi +Source: src\wxstd-fi.mo; DestDir: {app}\locale\fi; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/fi +Source: ..\..\po\fr_FR.mo; DestDir: {app}\locale\fr_FR; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/fr_FR +Source: src\wxstd-fr.mo; DestDir: {app}\locale\fr_FR; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/fr_FR +Source: ..\..\po\hu.mo; DestDir: {app}\locale\hu; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/hu +Source: src\wxstd-hu.mo; DestDir: {app}\locale\hu; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/hu +Source: ..\..\po\id.mo; DestDir: {app}\locale\id; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/id +Source: src\wxstd-id.mo; DestDir: {app}\locale\id; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/id +Source: ..\..\po\it.mo; DestDir: {app}\locale\it; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/it +Source: src\wxstd-it.mo; DestDir: {app}\locale\it; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/it +Source: ..\..\po\ja.mo; DestDir: {app}\locale\ja; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/ja +Source: src\wxstd-ja.mo; DestDir: {app}\locale\ja; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/ja +Source: ..\..\po\ko.mo; DestDir: {app}\locale\ko; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/ko +Source: src\wxstd-ko_KR.mo; DestDir: {app}\locale\ko; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/ko +Source: ..\..\po\pt_BR.mo; DestDir: {app}\locale\pt_BR; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/pt_BR +Source: src\wxstd-pt_BR.mo; DestDir: {app}\locale\pt_BR; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/pt_BR +Source: ..\..\po\pt_PT.mo; DestDir: {app}\locale\pt_PT; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/pt_PT +Source: src\wxstd-pt.mo; DestDir: {app}\locale\pt_PT; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/pt_PT +Source: ..\..\po\pl.mo; DestDir: {app}\locale\pl; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/pl +Source: src\wxstd-pl.mo; DestDir: {app}\locale\pl; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/pl +Source: ..\..\po\ru.mo; DestDir: {app}\locale\ru; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/ru +Source: src\wxstd-ru.mo; DestDir: {app}\locale\ru; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/ru +Source: ..\..\po\sr_RS.mo; DestDir: {app}\locale\sr_HS; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/sr +Source: ..\..\po\sr_RS@latin.mo; DestDir: {app}\locale\sr_HS@latin; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/sr +; Missing wxstd for Serbian +Source: ..\..\po\vi.mo; DestDir: {app}\locale\vi; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/vi +Source: src\wxstd-vi.mo; DestDir: {app}\locale\vi; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/vi +Source: ..\..\po\zh_CN.mo; DestDir: {app}\locale\zh_CN; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/zh_CN +Source: src\wxstd-zh_CN.mo; DestDir: {app}\locale\zh_CN; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/zh_CN +Source: ..\..\po\zh_TW.mo; DestDir: {app}\locale\zh_TW; DestName: aegisub.mo; Flags: ignoreversion; Components: i18n/zh_TW +Source: src\wxstd-zh_TW.mo; DestDir: {app}\locale\zh_TW; DestName: wxstd.mo; Flags: ignoreversion; Components: i18n/zh_TW + +[Components] +; Translations (commented out ones are out of date) +Name: i18n; Description: Languages; Types: full custom compact +Name: i18n/en; Description: "English (built in)"; Flags: fixed; Types: compact full custom +Name: i18n/ca; Description: "Català (Catalan)"; Types: full +Name: i18n/zh_CN; Description: "简体中文 (Chinese (Simplified))"; Types: full +Name: i18n/zh_TW; Description: "ç¹é«”中文 (Chinese (Traditional))"; Types: full +Name: i18n/cs; Description: "ÄŒeÅ¡tina (Czech)"; Types: full +Name: i18n/da; Description: "Dansk (Danish)"; Types: full +Name: i18n/fi; Description: "Suomi (Finnish)"; Types: full +Name: i18n/fr_FR; Description: "Français (French)"; Types: full +Name: i18n/de; Description: "Deutsch (German)"; Types: full +Name: i18n/el; Description: "Ελληνικά (Greek)"; Types: full +Name: i18n/hu; Description: "Magyar nyelv (Hungarian)"; Types: full +Name: i18n/id; Description: "Bahasa Indonesia (Indonesian)"; Types: full +Name: i18n/it; Description: "Italiano (Italian)"; Types: full +Name: i18n/ja; Description: "日本語 (Japanese)"; Types: full +Name: i18n/ko; Description: "한국어 (Korean)"; Types: full +Name: i18n/fa; Description: "Ùارسی (Farsi)"; Types: full +Name: i18n/pl; Description: "JÄ™zyk polski (Polish)"; Types: full +Name: i18n/pt_BR; Description: "Português do Brasil (Brazilian Portuguese)"; Types: full +Name: i18n/pt_PT; Description: "Português de Portugal (European Portuguese)"; Types: full +Name: i18n/ru; Description: "РуÑÑкий Ñзык (Russian)"; Types: full +Name: i18n/sr; Description: "СрпÑки/Srpski (Serbian, Cyrillic and Latin)"; Types: full +Name: i18n/es; Description: "Español (Spanish)"; Types: full +Name: i18n/vi; Description: "Tiếng Việt (Vietnamese)"; Types: full + + diff --git a/aegisub/packages/win_installer/latest.txt b/aegisub/packages/win_installer/latest.txt deleted file mode 100644 index 4a660683d..000000000 --- a/aegisub/packages/win_installer/latest.txt +++ /dev/null @@ -1,2 +0,0 @@ -release;2.1.3-2429;http://www.aegisub.net/2008/10/aegisub-213-released.html;Aegisub 2.1.3a Release Preview r2429 build - New default audio/video provider, audio stability issues, several general fixes. -svn;2429;http://www.aegisub.net/2008/10/aegisub-213-released.html;Aegisub 2.1.3a Release Preview r2429 build - New default audio/video provider, audio stability issues, several general fixes. \ No newline at end of file diff --git a/aegisub/packages/win_installer/legacy_filelist.txt b/aegisub/packages/win_installer/legacy_filelist.txt index 8eb70b2ae..0d5ade0be 100644 --- a/aegisub/packages/win_installer/legacy_filelist.txt +++ b/aegisub/packages/win_installer/legacy_filelist.txt @@ -1,18 +1,14 @@ -Uninstall.exe -Aegisub.exe -Aegisub.chm -changelog.txt -VSFilter.dll -msvcr71.dll -msvcp71.dll Aegisub Site.url -hotkeys.dat -config.dat +Aegisub.chm +Aegisub.exe +FexTrackerRel.dll +FexTrackerRel_Opti.dll +Uninstall.exe +VSFilter.dll +automation\auto3\line-per-syllable.auto3 +automation\auto3\multi-template.auto3 +automation\auto3\simple-k-replacer.auto3 automation\automation-lua.txt -automation\include\readme.txt -automation\include\karaskel-adv.lua -automation\include\karaskel.lua -automation\include\utils.lua automation\demos\1-minimal.lua automation\demos\2-dump.lua automation\demos\3-include.lua @@ -24,9 +20,21 @@ automation\demos\8-skeleton.lua automation\demos\9-skeleton-advanced.lua automation\demos\readme.txt automation\factorybrew\line-per-syllable.lua -automation\factorybrew\simple-k-replacer.lua -automation\factorybrew\readme.txt -FexTrackerRel.dll -FexTrackerRel_Opti.dll -automation\include\karaskel.txt automation\factorybrew\multi-template.lua +automation\factorybrew\readme.txt +automation\factorybrew\simple-k-replacer.lua +automation\include\karaskel-adv.auto3 +automation\include\karaskel-adv.lua +automation\include\karaskel-base.auto3 +automation\include\karaskel.auto3 +automation\include\karaskel.lua +automation\include\karaskel.txt +automation\include\readme.txt +automation\include\utils.auto3 +automation\include\utils.lua +changelog.txt +config.dat +hotkeys.dat +libauto3_32.dll +msvcp71.dll +msvcr71.dll diff --git a/aegisub/packages/win_installer/license.txt b/aegisub/packages/win_installer/license.txt index 211ed1406..5da076848 100644 --- a/aegisub/packages/win_installer/license.txt +++ b/aegisub/packages/win_installer/license.txt @@ -1,4 +1,4 @@ -Copyright (c) 2005-2009, the Aegisub Team. +Copyright (c) 2005-2011, the Aegisub Team. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/aegisub/packages/win_installer/old_dirlist.txt b/aegisub/packages/win_installer/old_dirlist.txt index 24e0ae391..d31bffd3f 100644 --- a/aegisub/packages/win_installer/old_dirlist.txt +++ b/aegisub/packages/win_installer/old_dirlist.txt @@ -4,3 +4,4 @@ automation\docs\ automation\demos\ automation\include\Aegisub\ automation\include\ +csri\ diff --git a/aegisub/packages/win_installer/old_filelist.txt b/aegisub/packages/win_installer/old_filelist.txt index 2edccb8fa..f2c3c6bc0 100644 --- a/aegisub/packages/win_installer/old_filelist.txt +++ b/aegisub/packages/win_installer/old_filelist.txt @@ -1,4 +1,3 @@ -Aegisub.exe Aegisub.pdb aegisub32.exe aegisub32.pdb @@ -53,3 +52,5 @@ automation\auto3\simple-k-replacer.auto3 automation\autoload\line-per-syllable.auto3 automation\autoload\multi-template.auto3 automation\autoload\simple-k-replacer.auto3 +csri\VSFilter.dll +csri\VSFilter-Aegisub.dll diff --git a/aegisub/packages/win_installer/portable-comment.txt b/aegisub/packages/win_installer/portable-comment.txt new file mode 100644 index 000000000..a9d9a1688 --- /dev/null +++ b/aegisub/packages/win_installer/portable-comment.txt @@ -0,0 +1,11 @@ +Path=.\Aegisub portable +Title=Aegisub 3.0.0 Portable +Text +{ +

Aegisub 3.0.0 Portable

+

This archive contains a "portable" version of +Aegisub, suitable for running e.g. from USB pen drives. Several features are stripped away +to keep the size small, this includes most spell checker dictionaries. These are available as +a separate download at the Aegisub website.

+

Select where you want to unpack Aegisub and click Extract.

+} diff --git a/aegisub/packages/win_installer/portable-sources.txt b/aegisub/packages/win_installer/portable-sources.txt new file mode 100644 index 000000000..92a67f7bc --- /dev/null +++ b/aegisub/packages/win_installer/portable-sources.txt @@ -0,0 +1,33 @@ +aegisub32.exe +avisynth.dll +devil.dll +directshowsource.dll +ffms2.dll +vsfilter-aegisub32.dll +config.json +Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest +Microsoft.VC90.CRT\msvcm90.dll +Microsoft.VC90.CRT\msvcp90.dll +Microsoft.VC90.CRT\msvcr90.dll +Microsoft.VC90.MFC\Microsoft.VC90.MFC.manifest +Microsoft.VC90.MFC\mfc90u.dll +Microsoft.VC90.OPENMP\Microsoft.VC90.OPENMP.manifest +Microsoft.VC90.OPENMP\vcomp90.dll +automation\autoload\cleantags-autoload.lua +automation\autoload\karaoke-auto-leadin.lua +automation\autoload\kara-templater.lua +automation\autoload\macro-1-edgeblur.lua +automation\autoload\macro-2-mkfullwitdh.lua +automation\autoload\select-overlaps.lua +automation\autoload\strip-tags.lua +automation\demos\future-windy-blur.lua +automation\include\cleantags.lua +automation\include\karaskel.lua +automation\include\karaskel-adv.lua +automation\include\karaskel-auto4.lua +automation\include\karaskel-base.lua +automation\include\unicode.lua +automation\include\utils.lua +automation\include\utils-auto4.lua +dictionaries\en_US.aff +dictionaries\en_US.dic diff --git a/aegisub/packages/win_installer/portable_config.json b/aegisub/packages/win_installer/portable_config.json new file mode 100644 index 000000000..dfc6ea631 --- /dev/null +++ b/aegisub/packages/win_installer/portable_config.json @@ -0,0 +1,5 @@ +{ + "App" : { + "Local Config" : true, + } +} diff --git a/aegisub/packages/win_installer/template.ass b/aegisub/packages/win_installer/template.ass new file mode 100644 index 000000000..1722c8b35 --- /dev/null +++ b/aegisub/packages/win_installer/template.ass @@ -0,0 +1,15 @@ +[Script Info] +Title: New subtitles +ScriptType: v4.00+ +WrapStyle: 0 +PlayResX: 640 +PlayResY: 480 +ScaledBorderAndShadow: yes + +[V4+ Styles] +Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding +Style: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1 + +[Events] +Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text +Dialogue: 0,0:00:00.00,0:00:05.00,Default,,0000,0000,0000,,