diff --git a/Icons/ass.ico b/Icons/ass.ico index 9de387be4..637240b86 100644 Binary files a/Icons/ass.ico and b/Icons/ass.ico differ diff --git a/Icons/dfxp.ico b/Icons/dfxp.ico index 0ca0fabd0..8701a1593 100644 Binary files a/Icons/dfxp.ico and b/Icons/dfxp.ico differ diff --git a/Icons/itt.ico b/Icons/itt.ico new file mode 100644 index 000000000..b593f8649 Binary files /dev/null and b/Icons/itt.ico differ diff --git a/Icons/sbv.ico b/Icons/sbv.ico index 434716309..5cfd999a9 100644 Binary files a/Icons/sbv.ico and b/Icons/sbv.ico differ diff --git a/Icons/smi.ico b/Icons/smi.ico index a3dc317f0..c7c908790 100644 Binary files a/Icons/smi.ico and b/Icons/smi.ico differ diff --git a/Icons/srt.ico b/Icons/srt.ico index 283597de7..9f9fb402d 100644 Binary files a/Icons/srt.ico and b/Icons/srt.ico differ diff --git a/Icons/ssa.ico b/Icons/ssa.ico index 0e9ccd6d9..00994df57 100644 Binary files a/Icons/ssa.ico and b/Icons/ssa.ico differ diff --git a/Icons/stl.ico b/Icons/stl.ico index aff33fb7d..1bb412cd2 100644 Binary files a/Icons/stl.ico and b/Icons/stl.ico differ diff --git a/Icons/sub.ico b/Icons/sub.ico index b1e170082..c1de580ce 100644 Binary files a/Icons/sub.ico and b/Icons/sub.ico differ diff --git a/Icons/sup.ico b/Icons/sup.ico index d14caf369..2b5e2a916 100644 Binary files a/Icons/sup.ico and b/Icons/sup.ico differ diff --git a/Icons/vtt.ico b/Icons/vtt.ico index 09251e774..a06fbfc9d 100644 Binary files a/Icons/vtt.ico and b/Icons/vtt.ico differ diff --git a/installer/Subtitle_Edit_installer.iss b/installer/Subtitle_Edit_installer.iss index 234fe5b76..612d4f6c4 100644 --- a/installer/Subtitle_Edit_installer.iss +++ b/installer/Subtitle_Edit_installer.iss @@ -245,6 +245,8 @@ Source: ..\Icons\stl.ico; DestDir: {app}\Icons; Source: ..\Icons\sub.ico; DestDir: {app}\Icons; Flags: ignoreversion uninsneveruninstall onlyifdoesntexist; Components: main Source: ..\Icons\sup.ico; DestDir: {app}\Icons; Flags: ignoreversion uninsneveruninstall onlyifdoesntexist; Components: main Source: ..\Icons\vtt.ico; DestDir: {app}\Icons; Flags: ignoreversion uninsneveruninstall onlyifdoesntexist; Components: main +Source: ..\Icons\smi.ico; DestDir: {app}\Icons; Flags: ignoreversion uninsneveruninstall onlyifdoesntexist; Components: main +Source: ..\Icons\itt.ico; DestDir: {app}\Icons; Flags: ignoreversion uninsneveruninstall onlyifdoesntexist; Components: main #ifdef localize Source: {#bindir}\Languages\ar-EG.xml; DestDir: {app}\Languages; Flags: ignoreversion; Components: translations @@ -485,6 +487,16 @@ Root: HKCU ; Subkey: "Software\Classes\{#SetupSetting('AppName')}.vtt\shell\open Root: HKCU ; Subkey: "Software\Classes\.vtt"; ValueData: "{#SetupSetting('AppName')}.vtt"; Flags: uninsdeletevalue; ValueType: string; ValueName: ""; Check: DoSystemAssoc('vtt') Root: HKCU ; Subkey: "Software\Classes\{#SetupSetting('AppName')}.vtt\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\Icons\vtt.ico"; Check: DoSystemAssoc('vtt') +Root: HKCU ; Subkey: "Software\Classes\{#SetupSetting('AppName')}.smi"; ValueData: "{app}\{#SetupSetting('AppExeName')}"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; Check: DoSystemAssoc('smi') +Root: HKCU ; Subkey: "Software\Classes\{#SetupSetting('AppName')}.smi\shell\open\command"; ValueData: """{app}\SubtitleEdit.exe"" ""%1"""; ValueType: string; ValueName: ""; Check: DoSystemAssoc('smi') +Root: HKCU ; Subkey: "Software\Classes\.smi"; ValueData: "{#SetupSetting('AppName')}.smi"; Flags: uninsdeletevalue; ValueType: string; ValueName: ""; Check: DoSystemAssoc('smi') +Root: HKCU ; Subkey: "Software\Classes\{#SetupSetting('AppName')}.smi\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\Icons\smi.ico"; Check: DoSystemAssoc('smi') + +Root: HKCU ; Subkey: "Software\Classes\{#SetupSetting('AppName')}.itt"; ValueData: "{app}\{#SetupSetting('AppExeName')}"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; Check: DoSystemAssoc('itt') +Root: HKCU ; Subkey: "Software\Classes\{#SetupSetting('AppName')}.itt\shell\open\command"; ValueData: """{app}\SubtitleEdit.exe"" ""%1"""; ValueType: string; ValueName: ""; Check: DoSystemAssoc('itt') +Root: HKCU ; Subkey: "Software\Classes\.itt"; ValueData: "{#SetupSetting('AppName')}.itt"; Flags: uninsdeletevalue; ValueType: string; ValueName: ""; Check: DoSystemAssoc('itt') +Root: HKCU ; Subkey: "Software\Classes\{#SetupSetting('AppName')}.itt\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\Icons\itt.ico"; Check: DoSystemAssoc('itt') + ; Add .ass (Advanced SubStation Alpha) to the SE-supported file types Root: HKLM; Subkey: "{#keyApps}\SubtitleEdit.exe\SupportedTypes"; ValueType: string; ValueName: ".ass"; ValueData: ""; Check: HklmKeyExists('{#keyApps}') @@ -671,6 +683,8 @@ begin DeleteFile(ExpandConstant('{app}\Icons\sub.ico')); DeleteFile(ExpandConstant('{app}\Icons\sup.ico')); DeleteFile(ExpandConstant('{app}\Icons\vtt.ico')); + DeleteFile(ExpandConstant('{app}\Icons\smi.ico')); + DeleteFile(ExpandConstant('{app}\Icons\itt.ico')); DelTree(ExpandConstant('{app}\Icons'), True, True, True); RemoveDir(ExpandConstant('{app}\Icons')); DelTree(ExpandConstant('{userappdata}\Subtitle Edit\Ocr\*.*'), False, True, False);