mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-24 20:22:41 +01:00
installer: updated script, converted custom_messages.iss to UTF-8 Signature
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@33 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
17c2d5d000
commit
be378f04a4
@ -1,4 +1,4 @@
|
||||
;* Subtitle Edit - Installer script
|
||||
;* Subtitle Edit - Installer script
|
||||
;*
|
||||
;* Copyright (C) 2010 XhmikosR
|
||||
;*
|
||||
@ -20,102 +20,99 @@
|
||||
|
||||
[CustomMessages]
|
||||
;sm=Start Menu, tsk=Task, com=Comment, msg=Message
|
||||
;NOTE: Do NOT change the file encoding it must me UTF-8 Signature
|
||||
;NOTE: Do NOT change the file encoding, it must be UTF-8 Signature!
|
||||
|
||||
;English
|
||||
en.msg_SetupIsRunningWarning=Subtitle Edit Setup is already running!
|
||||
en.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please download and install the .NET Framework and run setup again. %n%nDo you want to download the .NET Framework 2.0 now?
|
||||
en.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings? %nIf you plan on reinstalling Subtitle Edit you do not have to delete them.
|
||||
en.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
en.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
en.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
en.tsk_AllUsers=For all users
|
||||
en.tsk_CurrentUser=For the current user only
|
||||
en.tsk_Other=Other:
|
||||
en.tsk_ResetSettings=Reset Subtitle Edit's settings
|
||||
en.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
en.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
en.sm_ReadmeFile=ReadMe
|
||||
en.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
|
||||
|
||||
dk.msg_SetupIsRunningWarning=Subtitle Edit Setup kører allerede!
|
||||
dk.msg_AskToDownNET=Subtitle Edit kræver .NET Framework 2.0. Download and installer .NET Framework og kør setup igen. %n%nVil du downloade .NET Framework 2.0 nu?
|
||||
dk.msg_DeleteSettings=Vil du også slette Subtitle Edit indstillinger? %nHvis de vil geninstallere Subtitle Edit senere kan du beholde disse indstillinger.
|
||||
dk.msg_SetupIsRunningWarning=Subtitle Edit Setup kψrer allerede!
|
||||
dk.msg_AskToDownNET=Subtitle Edit krζver .NET Framework 2.0. Download and installer .NET Framework og kψr setup igen. %n%nVil du downloade .NET Framework 2.0 nu?
|
||||
dk.msg_DeleteSettings=Vil du ogsε slette Subtitle Edit indstillinger? %nHvis de vil geninstallere Subtitle Edit senere kan du beholde disse indstillinger.
|
||||
dk.run_VisitWebsite=Besψg Subtitle Edits Website
|
||||
dk.sm_com_Changelog=Subtitle Edit ζndringslog
|
||||
dk.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
dk.tsk_AllUsers=For alle brugere
|
||||
dk.tsk_CurrentUser=Kun for aktulle bruger
|
||||
dk.tsk_Other=Andre:
|
||||
dk.tsk_ResetSettings=Nulstil Subtitle Edit indstillinger
|
||||
dk.run_VisitWebsite=Besøg Subtitle Edits Website
|
||||
dk.sm_com_Changelog=Subtitle Edit ændringslog
|
||||
dk.sm_ReadmeFile=ReadMe
|
||||
dk.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
|
||||
es.msg_SetupIsRunningWarning=Subtitle Edit Setup is already running!
|
||||
es.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please download and install the .NET Framework and run setup again. %n%nDo you want to download the .NET Framework 2.0 now?
|
||||
es.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings? %nIf you plan on reinstalling Subtitle Edit you do not have to delete them.
|
||||
es.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
es.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
es.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
es.tsk_AllUsers=For all users
|
||||
es.tsk_CurrentUser=For the current user only
|
||||
es.tsk_Other=Other:
|
||||
es.tsk_ResetSettings=Reset Subtitle Edit's settings
|
||||
es.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
es.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
es.sm_ReadmeFile=ReadMe
|
||||
es.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
|
||||
|
||||
fr.msg_SetupIsRunningWarning=Subtitle Edit Setup is already running!
|
||||
fr.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please download and install the .NET Framework and run setup again. %n%nDo you want to download the .NET Framework 2.0 now?
|
||||
fr.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings? %nIf you plan on reinstalling Subtitle Edit you do not have to delete them.
|
||||
fr.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
fr.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
fr.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
fr.tsk_AllUsers=For all users
|
||||
fr.tsk_CurrentUser=For the current user only
|
||||
fr.tsk_Other=Other:
|
||||
fr.tsk_ResetSettings=Reset Subtitle Edit's settings
|
||||
fr.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
fr.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
fr.sm_ReadmeFile=ReadMe
|
||||
fr.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
|
||||
|
||||
it.msg_SetupIsRunningWarning=Subtitle Edit Setup is already running!
|
||||
it.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please download and install the .NET Framework and run setup again. %n%nDo you want to download the .NET Framework 2.0 now?
|
||||
it.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings? %nIf you plan on reinstalling Subtitle Edit you do not have to delete them.
|
||||
it.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
it.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
it.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
it.tsk_AllUsers=For all users
|
||||
it.tsk_CurrentUser=For the current user only
|
||||
it.tsk_Other=Other:
|
||||
it.tsk_ResetSettings=Reset Subtitle Edit's settings
|
||||
it.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
it.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
it.sm_ReadmeFile=ReadMe
|
||||
it.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
|
||||
|
||||
nl.msg_SetupIsRunningWarning=Subtitle Edit Setup is already running!
|
||||
nl.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please download and install the .NET Framework and run setup again. %n%nDo you want to download the .NET Framework 2.0 now?
|
||||
nl.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings? %nIf you plan on reinstalling Subtitle Edit you do not have to delete them.
|
||||
nl.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
nl.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
nl.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
nl.tsk_AllUsers=For all users
|
||||
nl.tsk_CurrentUser=For the current user only
|
||||
nl.tsk_Other=Other:
|
||||
nl.tsk_ResetSettings=Reset Subtitle Edit's settings
|
||||
nl.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
nl.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
nl.sm_ReadmeFile=ReadMe
|
||||
nl.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
|
||||
|
||||
pl.msg_SetupIsRunningWarning=Subtitle Edit Setup is already running!
|
||||
pl.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please download and install the .NET Framework and run setup again. %n%nDo you want to download the .NET Framework 2.0 now?
|
||||
pl.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings? %nIf you plan on reinstalling Subtitle Edit you do not have to delete them.
|
||||
pl.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
pl.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
pl.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
pl.tsk_AllUsers=For all users
|
||||
pl.tsk_CurrentUser=For the current user only
|
||||
pl.tsk_Other=Other:
|
||||
pl.tsk_ResetSettings=Reset Subtitle Edit's settings
|
||||
pl.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
pl.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
pl.sm_ReadmeFile=ReadMe
|
||||
pl.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
|
||||
|
||||
ro.msg_SetupIsRunningWarning=Subtitle Edit Setup is already running!
|
||||
ro.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please download and install the .NET Framework and run setup again. %n%nDo you want to download the .NET Framework 2.0 now?
|
||||
ro.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings? %nIf you plan on reinstalling Subtitle Edit you do not have to delete them.
|
||||
ro.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
ro.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
ro.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
ro.tsk_AllUsers=For all users
|
||||
ro.tsk_CurrentUser=For the current user only
|
||||
ro.tsk_Other=Other:
|
||||
ro.tsk_ResetSettings=Reset Subtitle Edit's settings
|
||||
ro.run_VisitWebsite=Visit Subtitle Edit's Website
|
||||
ro.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
ro.sm_ReadmeFile=ReadMe
|
||||
ro.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
|
@ -16,14 +16,12 @@
|
||||
;*
|
||||
;* You should have received a copy of the GNU General Public License
|
||||
;* along with Subtitle Edit. If not, see <http://www.gnu.org/licenses/>.
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
; Requirements:
|
||||
; *Inno Setup QuickStart Pack v5.3.11(+): http://www.jrsoftware.org/isdl.php#qsp
|
||||
; Inno Setup QuickStart Pack v5.3.11(+): http://www.jrsoftware.org/isdl.php#qsp
|
||||
|
||||
|
||||
#define installer_build_number "02"
|
||||
#define installer_build_number "03"
|
||||
|
||||
#define VerMajor
|
||||
#define VerMinor
|
||||
@ -33,7 +31,7 @@
|
||||
#expr ParseVersion("..\src\bin\Release\SubtitleEdit.exe", VerMajor, VerMinor, VerBuild, VerRevision)
|
||||
#define app_version str(VerMajor) + "." + str(VerMinor) + "." + str(VerBuild) + "." + str(VerRevision)
|
||||
|
||||
;the following simple_app_version is for 2 digit releases, one of the two must be uncommented at a time
|
||||
;the following simple_app_version is for 3 digit releases, one of the two must be uncommented at a time
|
||||
;#define simple_app_version str(VerMajor) + "." + str(VerMinor) + "." + str(VerBuild)
|
||||
#define simple_app_version str(VerMajor) + "." + str(VerMinor)
|
||||
|
||||
@ -65,29 +63,26 @@ VersionInfoProductTextVersion={#= simple_app_version}
|
||||
MinVersion=0,5.0.2195
|
||||
;AppReadmeFile={app}\Readme.txt
|
||||
LicenseFile=..\src\gpl.txt
|
||||
InfoAfterFile=Changelog.txt
|
||||
InfoAfterFile=..\src\Changelog.txt
|
||||
;InfoBeforeFile=..\Readme.txt
|
||||
SetupIconFile=..\src\Icons\SE.ico
|
||||
;WizardImageFile=Icons\WizardImageFile.bmp
|
||||
WizardSmallImageFile=Icons\WizardSmallImageFile.bmp
|
||||
OutputDir=.
|
||||
OutputBaseFilename=SubtitleEdit-{#= simple_app_version}-setup
|
||||
AllowNoIcons=false
|
||||
Compression=lzma/Ultra64
|
||||
SolidCompression=false
|
||||
EnableDirDoesntExistWarning=false
|
||||
DirExistsWarning=no
|
||||
ShowTasksTreeLines=false
|
||||
AlwaysShowDirOnReadyPage=false
|
||||
AlwaysShowGroupOnReadyPage=false
|
||||
AllowNoIcons=yes
|
||||
Compression=lzma/ultra64
|
||||
SolidCompression=yes
|
||||
EnableDirDoesntExistWarning=no
|
||||
DirExistsWarning=auto
|
||||
ShowTasksTreeLines=yes
|
||||
DisableReadyPage=yes
|
||||
PrivilegesRequired=admin
|
||||
ShowLanguageDialog=yes
|
||||
DisableDirPage=false
|
||||
DisableDirPage=auto
|
||||
DisableProgramGroupPage=auto
|
||||
AppMutex=Subtitle_Edit_Mutex
|
||||
AlwaysShowComponentsList=true
|
||||
FlatComponentsList=true
|
||||
DisableReadyPage=true
|
||||
|
||||
|
||||
[Languages]
|
||||
Name: en; MessagesFile: compiler:Default.isl
|
||||
@ -107,13 +102,23 @@ Name: ro; MessagesFile: Languages\Romanian.isl
|
||||
BeveledLabel=Subtitle Edit v{#= simple_app_version} by Nikse, Setup v{#= installer_build_number} built on {#= installer_build_date}
|
||||
|
||||
|
||||
[Tasks]
|
||||
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
|
||||
Name: desktopicon\user; Description: {cm:tsk_CurrentUser}; GroupDescription: {cm:AdditionalIcons}; Flags: exclusive
|
||||
Name: desktopicon\common; Description: {cm:tsk_AllUsers}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked exclusive
|
||||
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; OnlyBelowVersion: 0,6.01; Flags: unchecked
|
||||
Name: reset_settings; Description: {cm:tsk_ResetSettings}; GroupDescription: {cm:tsk_Other}; Check: SettingsExistCheck(); Flags: checkedonce unchecked
|
||||
|
||||
|
||||
[Files]
|
||||
Source: Changelog.txt; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\src\Changelog.txt; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\src\gpl.txt; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Hunspellx86.dll; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Interop.QuartzTypeLib.dll; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\NHunspell.dll; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\SubtitleEdit.exe; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\tessnet2_32.dll; DestDir: {app}; Flags: ignoreversion
|
||||
Source: Icons\uninstall.ico; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\Find.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\Help.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\New.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
@ -143,16 +148,6 @@ Source: ..\TessData\eng.pffmtable; DestDir: {app}\TessData; Flags: ignoreversion
|
||||
Source: ..\TessData\eng.unicharset; DestDir: {app}\TessData; Flags: ignoreversion
|
||||
Source: ..\TessData\eng.user-words; DestDir: {app}\TessData; Flags: ignoreversion
|
||||
Source: ..\TessData\eng.word-dawg; DestDir: {app}\TessData; Flags: ignoreversion
|
||||
Source: Icons\uninstall.ico; DestDir: {app}; Flags: ignoreversion
|
||||
|
||||
|
||||
[Tasks]
|
||||
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
|
||||
Name: desktopicon\user; Description: {cm:tsk_CurrentUser}; GroupDescription: {cm:AdditionalIcons}; Flags: exclusive
|
||||
Name: desktopicon\common; Description: {cm:tsk_AllUsers}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked exclusive
|
||||
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; OnlyBelowVersion: 0,6.01; Flags: unchecked
|
||||
|
||||
Name: reset_settings; Description: {cm:tsk_ResetSettings}; GroupDescription: {cm:tsk_Other}; Check: SettingsExistCheck(); Flags: checkedonce unchecked
|
||||
|
||||
|
||||
[Icons]
|
||||
@ -170,8 +165,7 @@ Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Subtitle Edit; File
|
||||
[InstallDelete]
|
||||
Type: files; Name: {userdesktop}\Subtitle Edit.lnk; Check: NOT IsTaskSelected('desktopicon\user') AND IsUpdate()
|
||||
Type: files; Name: {commondesktop}\Subtitle Edit.lnk; Check: NOT IsTaskSelected('desktopicon\common') AND IsUpdate()
|
||||
Type: files; Name: {userappdata}\Subtitle Edit\settings.xml; Tasks: reset_settings
|
||||
Type: dirifempty; Name: {userappdata}\Subtitle Edit; Tasks: reset_settings
|
||||
Type: files; Name: {userappdata}\Subtitle Edit\Settings.xml; Tasks: reset_settings
|
||||
|
||||
|
||||
[Run]
|
||||
@ -220,6 +214,15 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
procedure CurPageChanged(CurPageID: Integer);
|
||||
begin
|
||||
if CurPageID = wpSelectTasks then
|
||||
WizardForm.NextButton.Caption := SetupMessage(msgButtonInstall)
|
||||
else
|
||||
WizardForm.NextButton.Caption := SetupMessage(msgButtonNext);
|
||||
end;
|
||||
|
||||
|
||||
Procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
|
||||
begin
|
||||
// When uninstalling ask user to delete Subtitle Edit's logs and settings
|
||||
|
Loading…
Reference in New Issue
Block a user