mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
Installer: indent for better readability, clean up unused custom messages, minor internal changes
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@265 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
17a0e86e0c
commit
97e5015b68
@ -29,8 +29,6 @@ en.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please downlo
|
||||
en.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings and any custom changes you made in the dictionaries? %n%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_OnlineHelp=Subtitle Edit's Online Help
|
||||
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:
|
||||
@ -45,8 +43,6 @@ de.msg_AskToDownNET=Subtitle Edit benötigt .NET Framework 2.0 oder höher. Bitt
|
||||
de.msg_DeleteSettings=Möchten Sie ihre Einstellungen und Verzeichnisänderungen ebenfalls löschen? %n%nWenn Sie Subtitle Edit erneut installieren möchten, können Sie Ihre Einstellungen behalten.
|
||||
de.run_VisitWebsite=Besuchen Sie die Subtitle Edit Webseite
|
||||
de.sm_com_Changelog=Subtitle Edit's Changelog
|
||||
de.sm_com_OnlineHelp=Subtitle Edit's Online Help
|
||||
de.sm_com_ReadmeFile=Subtitle Edit's ReadMe
|
||||
de.tsk_AllUsers=Für alle Benutzer
|
||||
de.tsk_CurrentUser=Nur für mich
|
||||
de.tsk_Other=Andere:
|
||||
@ -61,8 +57,6 @@ dk.msg_AskToDownNET=Subtitle Edit kræver .NET Framework 2.0. Download and insta
|
||||
dk.msg_DeleteSettings=Vil du også slette Subtitle Edit's indstillinger og evt. ændringer i ordlister? %n%nHvis du 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_OnlineHelp=Subtitle Edit's Online Help
|
||||
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:
|
||||
@ -77,8 +71,6 @@ es.msg_AskToDownNET=Subtitle Edit requiere .NET Framework 2.0. Por favor, descar
|
||||
es.msg_DeleteSettings=¿Desea eliminar también la configuración de Subtitle Edit y cualquier otro cambio que se haya podido realizar en los diccionarios? %n%nSi piensa reinstalar más adelante Subtitle Edit no tiene por qué eliminarlos.
|
||||
es.run_VisitWebsite=Visite la página web de Subtitle Edit
|
||||
es.sm_com_Changelog=Registro de cambios de Subtitle Edit
|
||||
es.sm_com_OnlineHelp=Subtitle Edit's Online Help
|
||||
es.sm_com_ReadmeFile=Archivo Léeme de Subtitle Edit
|
||||
es.tsk_AllUsers=Para todos los usuarios
|
||||
es.tsk_CurrentUser=Sólo para el usuario actual
|
||||
es.tsk_Other=Otro:
|
||||
@ -93,8 +85,6 @@ fr.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please downlo
|
||||
fr.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings and any custom changes you made in the dictionaries? %n%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_OnlineHelp=Subtitle Edit's Online Help
|
||||
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:
|
||||
@ -108,8 +98,6 @@ hu.msg_AskToDownNET=A Subtitle Edit futtatásához .NET Framework 2.0 szüksége
|
||||
hu.msg_DeleteSettings=Törölni szeretné a Subtitle Edit beállításait és a szótárakban végrehajtott egyéni módosításokat? %n%nHa a Subtitle Edit újratelepítését tervezi, Önnek nem kell törölni azt.
|
||||
hu.run_VisitWebsite=A Subtitle Edit weboldalának felkeresése
|
||||
hu.sm_com_Changelog=Subtitle Edit's változásnapló
|
||||
hu.sm_com_OnlineHelp=Subtitle Edit's Online Help
|
||||
hu.sm_com_ReadmeFile=Subtitle Edit's fontos tudnivalók
|
||||
hu.tsk_AllUsers=Az összes felhasználó számára
|
||||
hu.tsk_CurrentUser=Csak a jelenlegi felhasználó számára
|
||||
hu.tsk_Other=Egyéb:
|
||||
@ -124,8 +112,6 @@ it.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please downlo
|
||||
it.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings and any custom changes you made in the dictionaries? %n%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_OnlineHelp=Subtitle Edit's Online Help
|
||||
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:
|
||||
@ -140,8 +126,6 @@ it.tsk_ResetSettings=Reset Subtitle Edit's settings
|
||||
;nl.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings and any custom changes you made in the dictionaries? %n%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_OnlineHelp=Subtitle Edit's Online Help
|
||||
;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:
|
||||
@ -156,8 +140,6 @@ pl.msg_AskToDownNET=Subtitle Edit requires the .NET Framework 2.0. Please downlo
|
||||
pl.msg_DeleteSettings=Do you also want to delete Subtitle Edit's settings and any custom changes you made in the dictionaries? %n%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_OnlineHelp=Subtitle Edit's Online Help
|
||||
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:
|
||||
@ -172,8 +154,6 @@ ro.msg_AskToDownNET=Subtitle Edit necesită .NET Framework 2.0. Vă rog să desc
|
||||
ro.msg_DeleteSettings=Vreţi de asemenea să ştergeţi setările şi personalizările făcute în dicţionare? %n%nDacă aveţi de gând să reinstalaţi Subtitle Edit, nu este nevoie să le ştergeţi.
|
||||
ro.run_VisitWebsite=Vizitaţi pagina Web a programului Subtitle Edit
|
||||
ro.sm_com_Changelog=Jurnalul modificărilor în programul Subtitle Edit
|
||||
ro.sm_com_OnlineHelp=Subtitle Edit's Online Help
|
||||
ro.sm_com_ReadmeFile=Citeşte-mă
|
||||
ro.tsk_AllUsers=Pentru toţi utilizatorii
|
||||
ro.tsk_CurrentUser=Pentru utilizatorul curent
|
||||
ro.tsk_Other=Altele:
|
||||
@ -188,8 +168,6 @@ sv.msg_AskToDownNET=Subtitle Edit necesită .NET Framework 2.0. Vă rog să desc
|
||||
sv.msg_DeleteSettings=Vreţi de asemenea să ştergeţi setările şi personalizările făcute în dicţionare? %n%nDacă aveţi de gând să reinstalaţi Subtitle Edit, nu este nevoie să le ştergeţi.
|
||||
sv.run_VisitWebsite=Vizitaţi pagina Web a programului Subtitle Edit
|
||||
sv.sm_com_Changelog=Jurnalul modificărilor în programul Subtitle Edit
|
||||
sv.sm_com_OnlineHelp=Subtitle Edit's Online Help
|
||||
sv.sm_com_ReadmeFile=Citeşte-mă
|
||||
sv.tsk_AllUsers=Pentru toţi utilizatorii
|
||||
sv.tsk_CurrentUser=Pentru utilizatorul curent
|
||||
sv.tsk_Other=Altele:
|
||||
|
@ -21,7 +21,7 @@
|
||||
; Inno Setup QuickStart Pack Unicode v5.4.0(+): http://www.jrsoftware.org/isdl.php#qsp
|
||||
|
||||
|
||||
#define installer_build_number "10"
|
||||
#define installer_build_number "11"
|
||||
|
||||
#define VerMajor
|
||||
#define VerMinor
|
||||
@ -71,17 +71,15 @@ VersionInfoProductName=Subtitle Edit
|
||||
VersionInfoProductVersion={#= simple_app_version}
|
||||
VersionInfoProductTextVersion={#= simple_app_version}
|
||||
MinVersion=0,5.0.2195
|
||||
;AppReadmeFile={app}\Readme.txt
|
||||
LicenseFile=..\src\gpl.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=yes
|
||||
Compression=lzma/ultra64
|
||||
Compression=lzma/ultra
|
||||
SolidCompression=yes
|
||||
EnableDirDoesntExistWarning=no
|
||||
DirExistsWarning=auto
|
||||
@ -116,96 +114,96 @@ BeveledLabel=Subtitle Edit v{#= simple_app_version} by Nikse, Setup v{#= install
|
||||
|
||||
|
||||
[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_dictionaries; Description: {cm:tsk_ResetDictionaries}; GroupDescription: {cm:tsk_Other}; Check: DictionariesExistCheck(); Flags: checkedonce unchecked
|
||||
Name: reset_settings; Description: {cm:tsk_ResetSettings}; GroupDescription: {cm:tsk_Other}; Check: SettingsExistCheck(); Flags: checkedonce unchecked
|
||||
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}; Flags: unchecked; OnlyBelowVersion: 0,6.01
|
||||
Name: reset_dictionaries; Description: {cm:tsk_ResetDictionaries}; GroupDescription: {cm:tsk_Other}; Flags: checkedonce unchecked; Check: DictionariesExistCheck()
|
||||
Name: reset_settings; Description: {cm:tsk_ResetSettings}; GroupDescription: {cm:tsk_Other}; Flags: checkedonce unchecked; Check: SettingsExistCheck()
|
||||
|
||||
|
||||
[Files]
|
||||
Source: psvince.dll; 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: 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
|
||||
Source: ..\src\Bin\Release\Icons\Open.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\Replace.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\Save.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\SaveAs.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\Settings.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\SpellCheck.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\VideoToogle.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\VisualSync.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\WaveFormToogle.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\Dictionaries\da_DK_names_etc.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\da_DK_user.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\dan_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\en_US.aff; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion
|
||||
Source: ..\Dictionaries\en_US.dic; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion
|
||||
Source: ..\Dictionaries\en_US_names_etc.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\en_US_user.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\eng_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\names_etc.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Tesseract\tessdata\eng.traineddata; DestDir: {app}\Tesseract\tessdata; Flags: ignoreversion
|
||||
Source: ..\Tesseract\leptonlib.dll; DestDir: {app}\Tesseract; Flags: ignoreversion
|
||||
Source: ..\Tesseract\tesseract.exe; DestDir: {app}\Tesseract; Flags: ignoreversion
|
||||
Source: psvince.dll; 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: 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
|
||||
Source: ..\src\Bin\Release\Icons\Open.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\Replace.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\Save.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\SaveAs.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\Settings.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\SpellCheck.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\VideoToogle.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\VisualSync.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\src\Bin\Release\Icons\WaveFormToogle.png; DestDir: {app}\Icons; Flags: ignoreversion
|
||||
Source: ..\Dictionaries\da_DK_names_etc.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\da_DK_user.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\dan_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\en_US.aff; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion
|
||||
Source: ..\Dictionaries\en_US.dic; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion
|
||||
Source: ..\Dictionaries\en_US_names_etc.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\en_US_user.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\eng_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Dictionaries\names_etc.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||
Source: ..\Tesseract\tessdata\eng.traineddata; DestDir: {app}\Tesseract\tessdata; Flags: ignoreversion
|
||||
Source: ..\Tesseract\leptonlib.dll; DestDir: {app}\Tesseract; Flags: ignoreversion
|
||||
Source: ..\Tesseract\tesseract.exe; DestDir: {app}\Tesseract; Flags: ignoreversion
|
||||
|
||||
|
||||
[Icons]
|
||||
Name: {group}\Subtitle Edit; Filename: {app}\SubtitleEdit.exe; Comment: Subtitle Edit v{#= simple_app_version}; WorkingDir: {app}; AppUserModelID: Nikse.SubtitleEdit; IconFilename: {app}\SubtitleEdit.exe; IconIndex: 0
|
||||
Name: {group}\Help and Support\Changelog; Filename: {app}\Changelog.txt; Comment: {cm:sm_com_Changelog}; WorkingDir: {app}
|
||||
;Name: {group}\Help and Support\Readme; Filename: {app}\Readme.txt; Comment: {cm:sm_com_ReadmeFile}; WorkingDir: {app}
|
||||
Name: {group}\Help and Support\Online Help; Filename: http://www.nikse.dk/se/Help.aspx; Comment: {cm:sm_com_OnlineHelp}
|
||||
Name: {group}\Subtitle Edit; Filename: {app}\SubtitleEdit.exe; Comment: Subtitle Edit v{#= simple_app_version}; WorkingDir: {app}; AppUserModelID: Nikse.SubtitleEdit; IconFilename: {app}\SubtitleEdit.exe; IconIndex: 0
|
||||
Name: {group}\Help and Support\Changelog; Filename: {app}\Changelog.txt; Comment: {cm:sm_com_Changelog}; WorkingDir: {app}
|
||||
Name: {group}\Help and Support\Online Help; Filename: http://www.nikse.dk/se/Help.aspx
|
||||
Name: {group}\Help and Support\{cm:ProgramOnTheWeb,Subtitle Edit}; Filename: {#= app_web_site}; Comment: {cm:ProgramOnTheWeb,Subtitle Edit}
|
||||
Name: {group}\{cm:UninstallProgram,Subtitle Edit}; Filename: {uninstallexe}; IconFilename: {app}\uninstall.ico; Comment: {cm:UninstallProgram,Subtitle Edit}; WorkingDir: {app}
|
||||
Name: {group}\{cm:UninstallProgram,Subtitle Edit}; Filename: {uninstallexe}; IconFilename: {app}\uninstall.ico; Comment: {cm:UninstallProgram,Subtitle Edit}; WorkingDir: {app}
|
||||
|
||||
Name: {commondesktop}\Subtitle Edit; Filename: {app}\SubtitleEdit.exe; Tasks: desktopicon\common; Comment: Subtitle Edit v{#= simple_app_version}; WorkingDir: {app}; AppUserModelID: Nikse.SubtitleEdit; IconFilename: {app}\SubtitleEdit.exe; IconIndex: 0
|
||||
Name: {userdesktop}\Subtitle Edit; Filename: {app}\SubtitleEdit.exe; Tasks: desktopicon\user; Comment: Subtitle Edit v{#= simple_app_version}; WorkingDir: {app}; AppUserModelID: Nikse.SubtitleEdit; IconFilename: {app}\SubtitleEdit.exe; IconIndex: 0
|
||||
Name: {userdesktop}\Subtitle Edit; Filename: {app}\SubtitleEdit.exe; Tasks: desktopicon\user; Comment: Subtitle Edit v{#= simple_app_version}; WorkingDir: {app}; AppUserModelID: Nikse.SubtitleEdit; IconFilename: {app}\SubtitleEdit.exe; IconIndex: 0
|
||||
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Subtitle Edit; Filename: {app}\SubtitleEdit.exe; Tasks: quicklaunchicon; Comment: Subtitle Edit v{#= simple_app_version}; WorkingDir: {app}; IconFilename: {app}\SubtitleEdit.exe; IconIndex: 0
|
||||
|
||||
|
||||
[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: {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
|
||||
|
||||
;remove old files from the {app} dir
|
||||
Type: files; Name: {app}\Dictionaries\da_DK_names_etc.xml
|
||||
Type: files; Name: {app}\Dictionaries\da_DK_user.xml
|
||||
Type: files; Name: {app}\Dictionaries\dan_OCRFixReplaceList.xml
|
||||
Type: files; Name: {app}\Dictionaries\en_US.aff
|
||||
Type: files; Name: {app}\Dictionaries\en_US.dic
|
||||
Type: files; Name: {app}\Dictionaries\en_US_names_etc.xml
|
||||
Type: files; Name: {app}\Dictionaries\en_US_user.xml
|
||||
Type: files; Name: {app}\Dictionaries\eng_OCRFixReplaceList.xml
|
||||
Type: files; Name: {app}\Dictionaries\names_etc.xml
|
||||
Type: files; Name: {app}\Dictionaries\da_DK_names_etc.xml
|
||||
Type: files; Name: {app}\Dictionaries\da_DK_user.xml
|
||||
Type: files; Name: {app}\Dictionaries\dan_OCRFixReplaceList.xml
|
||||
Type: files; Name: {app}\Dictionaries\en_US.aff
|
||||
Type: files; Name: {app}\Dictionaries\en_US.dic
|
||||
Type: files; Name: {app}\Dictionaries\en_US_names_etc.xml
|
||||
Type: files; Name: {app}\Dictionaries\en_US_user.xml
|
||||
Type: files; Name: {app}\Dictionaries\eng_OCRFixReplaceList.xml
|
||||
Type: files; Name: {app}\Dictionaries\names_etc.xml
|
||||
Type: dirifempty; Name: {app}\Dictionaries
|
||||
Type: files; Name: {app}\tessnet2_32.dll
|
||||
Type: files; Name: {app}\TessData\eng.DangAmbigs
|
||||
Type: files; Name: {app}\TessData\eng.freq-dawg
|
||||
Type: files; Name: {app}\TessData\eng.inttemp
|
||||
Type: files; Name: {app}\TessData\eng.normproto
|
||||
Type: files; Name: {app}\TessData\eng.pffmtable
|
||||
Type: files; Name: {app}\TessData\eng.unicharset
|
||||
Type: files; Name: {app}\TessData\eng.user-words
|
||||
Type: files; Name: {app}\TessData\eng.word-dawg
|
||||
Type: files; Name: {app}\tessnet2_32.dll
|
||||
Type: files; Name: {app}\TessData\eng.DangAmbigs
|
||||
Type: files; Name: {app}\TessData\eng.freq-dawg
|
||||
Type: files; Name: {app}\TessData\eng.inttemp
|
||||
Type: files; Name: {app}\TessData\eng.normproto
|
||||
Type: files; Name: {app}\TessData\eng.pffmtable
|
||||
Type: files; Name: {app}\TessData\eng.unicharset
|
||||
Type: files; Name: {app}\TessData\eng.user-words
|
||||
Type: files; Name: {app}\TessData\eng.word-dawg
|
||||
Type: dirifempty; Name: {app}\TessData
|
||||
|
||||
Type: files; Name: {app}\Settings.xml
|
||||
Type: files; Name: {app}\Settings.xml
|
||||
|
||||
|
||||
[Run]
|
||||
Filename: {app}\SubtitleEdit.exe; Description: {cm:LaunchProgram,Subtitle Edit}; WorkingDir: {app}; Flags: nowait postinstall skipifsilent runascurrentuser unchecked
|
||||
Filename: {#= app_web_site}; Description: {cm:run_VisitWebsite}; Flags: nowait postinstall skipifsilent shellexec runascurrentuser unchecked
|
||||
Filename: {#= app_web_site}; Description: {cm:run_VisitWebsite}; Flags: nowait postinstall skipifsilent shellexec runascurrentuser unchecked
|
||||
|
||||
|
||||
[Code]
|
||||
@ -227,9 +225,10 @@ external 'IsModuleLoaded@{app}\psvince.dll stdcall uninstallonly';
|
||||
// Check if Subtitle Edit's settings exist
|
||||
function SettingsExistCheck(): Boolean;
|
||||
begin
|
||||
Result := False;
|
||||
if FileExists(ExpandConstant('{userappdata}\Subtitle Edit\Settings.xml')) then
|
||||
Result := True;
|
||||
if FileExists(ExpandConstant('{userappdata}\Subtitle Edit\Settings.xml')) then begin
|
||||
Result := True;
|
||||
end else
|
||||
Result := False;
|
||||
end;
|
||||
|
||||
|
||||
@ -312,15 +311,17 @@ begin
|
||||
// When uninstalling ask user to delete Subtitle Edit's dictionaries and settings
|
||||
// based on whether these files exist only
|
||||
if CurUninstallStep = usUninstall then begin
|
||||
if SettingsExistCheck OR DictionariesExistCheck then begin
|
||||
if MsgBox(ExpandConstant('{cm:msg_DeleteSettings}'), mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then begin
|
||||
CleanUpDictionaries;
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Settings.xml'));
|
||||
end;
|
||||
if SettingsExistCheck OR DictionariesExistCheck then begin
|
||||
if MsgBox(ExpandConstant('{cm:msg_DeleteSettings}'), mbConfirmation, MB_YESNO OR MB_DEFBUTTON2) = IDYES then begin
|
||||
CleanUpDictionaries;
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Settings.xml'));
|
||||
end;
|
||||
|
||||
RemoveDir(ExpandConstant('{app}\WaveForms'));
|
||||
RemoveDir(ExpandConstant('{app}'));
|
||||
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit\WaveForms'));
|
||||
RemoveDir(ExpandConstant('{userappdata}\Subtitle Edit'));
|
||||
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
@ -332,7 +333,7 @@ var
|
||||
begin
|
||||
// Create a mutex for the installer and if it's already running then expose a message and stop installation
|
||||
if CheckForMutexes(installer_mutex_name) then begin
|
||||
if not WizardSilent() then
|
||||
if NOT WizardSilent() then
|
||||
MsgBox(ExpandConstant('{cm:msg_SetupIsRunningWarning}'), mbError, MB_OK);
|
||||
exit;
|
||||
end;
|
||||
@ -351,8 +352,8 @@ begin
|
||||
Result := True;
|
||||
except
|
||||
begin
|
||||
if not WizardSilent() then
|
||||
if MsgBox(ExpandConstant('{cm:msg_AskToDownNET}'), mbCriticalError, MB_YESNO or MB_DEFBUTTON1) = IDYES then begin
|
||||
if NOT WizardSilent() then
|
||||
if MsgBox(ExpandConstant('{cm:msg_AskToDownNET}'), mbCriticalError, MB_YESNO OR MB_DEFBUTTON1) = IDYES then begin
|
||||
Result := False;
|
||||
ShellExec('open','http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe','','',SW_SHOWNORMAL,ewNoWait,ErrorCode);
|
||||
end
|
||||
@ -371,21 +372,20 @@ function InitializeUninstall(): Boolean;
|
||||
begin
|
||||
// Check if app is running during uninstallation
|
||||
if IsModuleLoadedU( 'SubtitleEdit.exe' ) then begin
|
||||
MsgBox(ExpandConstant('{cm:msg_AppIsRunning}'), mbError, MB_OK );
|
||||
Result := False;
|
||||
end
|
||||
else Result := True;
|
||||
MsgBox(ExpandConstant('{cm:msg_AppIsRunning}'), mbError, MB_OK );
|
||||
Result := False;
|
||||
end else
|
||||
Result := True;
|
||||
|
||||
if NOT IsModuleLoadedU( 'SubtitleEdit.exe' ) then begin
|
||||
if CheckForMutexes(installer_mutex_name) then begin
|
||||
MsgBox(ExpandConstant('{cm:msg_SetupIsRunningWarning}'), mbError, MB_OK);
|
||||
Result := False;
|
||||
end
|
||||
else begin
|
||||
CreateMutex(installer_mutex_name);
|
||||
Result := True;
|
||||
if CheckForMutexes(installer_mutex_name) then begin
|
||||
if not WizardSilent() then
|
||||
MsgBox(ExpandConstant('{cm:msg_SetupIsRunningWarning}'), mbError, MB_OK);
|
||||
Result := False;
|
||||
end
|
||||
else begin
|
||||
CreateMutex(installer_mutex_name);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
// Unload the psvince.dll in order to be uninstalled
|
||||
|
Loading…
Reference in New Issue
Block a user