添加Windows安装程序支持

- 创建Inno Setup安装脚本(VideoSubtitleRemover.iss)
- 添加中英文语言支持(ChineseSimplified.isl, English.isl)
- 创建安装程序编译脚本(build_installer.bat)
- 添加详细的编译说明文档
- 支持桌面快捷方式创建
- 支持开始菜单项添加
- 支持完整卸载程序
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
yaofanguk
2026-04-10 22:08:01 +08:00
parent 774940e39b
commit 3ca33fce3c
8 changed files with 301 additions and 59 deletions

View File

@@ -0,0 +1,54 @@
; 简体中文语言文件
;
; 注意:此文件需要使用 UTF-8 BOM 编码
;
[LangOptions]
LanguageName=简体中文
LanguageID=$0804
LanguageCode=zh-CN
DialogFontName=MS Shell Dlg
DialogFontSize=9
[Messages]
BeveledLabel=
BrowseForFolder=浏览文件夹
BrowseForFolderTitle=选择文件夹
CannotChangeFolder=无法更改文件夹
ClickNext=下一步 >
ClickCancel=取消
ClickFinish=完成
ClickInstall=安装
ClickUninstall=卸载
ConfirmUninstall=您确定要卸载程序吗?
ConfirmDelete=您确定要删除以下文件吗?
DirDoesntExist=目录不存在
DirExists=该目录已存在。是否安装到那里?
DirNotEmpty=该目录不为空且不是安装目录。是否继续?
DiskSpaceMB=需要的磁盘空间:
DurationMinutes=分钟
DurationSeconds=秒
FinishedLabel=完成
FinishedHeadingLabel=安装向导完成
InstallingLabel=正在安装
InstallationRequiresPrivileges=此程序需要管理员权限才能安装。请以管理员身份运行。
NoProgramGroup=开始菜单
NoProgramGroup2=开始菜单
UninstallNotFound=卸载程序未找到
WelcomeLabel1=欢迎使用
WelcomeLabel2=视频字幕去除器安装向导。
WelcomeLabel3=此程序将把视频字幕去除器安装到您的计算机上。点击"下一步"继续。
SelectDirBrowseLabel=浏览...
SelectDirDescription3=选择安装程序的目标文件夹。
SelectDirLabel3=选择安装文件夹:
SelectDirLabelBrowseLabel=浏览...
SelectDirLabel3=选择目标位置:
[CustomMessages]
NameAndVersion=%1 %2
CreatingDesktopIcon=正在创建桌面快捷方式...
CreatingUninstallingIcon=正在创建卸载图标...
FinishedHeadingLabel=视频字幕去除器已成功安装到您的计算机上。
FinishedLabel=%1 已成功安装到您的计算机上。%n%n%n%n点击"完成"退出安装向导。
Running=正在运行程序...
Uninstalling=正在卸载...

View File

@@ -0,0 +1,54 @@
; English language file
;
; Note: This file needs to be encoded with UTF-8 BOM
;
[LangOptions]
LanguageName=English
LanguageID=$0409
LanguageCode=en
DialogFontName=MS Shell Dlg
DialogFontSize=9
[Messages]
BeveledLabel=
BrowseForFolder=Browse for folder
BrowseForFolderTitle=Select folder
CannotChangeFolder=Cannot change folder
ClickNext=Next >
ClickCancel=Cancel
ClickFinish=Finish
ClickInstall=Install
ClickUninstall=Uninstall
ConfirmUninstall=Are you sure you want to completely uninstall %1 and all of its components?
ConfirmDelete=Are you sure you want to delete the following files?
DirDoesntExist=The directory does not exist.
DirExists=The directory already exists. Would you like to install to that folder anyway?
DirNotEmpty=The directory is not empty and is not the installation directory. Are you sure you want to install there?
DiskSpaceMB=Required disk space:
DurationMinutes=minutes
DurationSeconds=seconds
FinishedLabel=Completed
FinishedHeadingLabel=Installation Wizard Completed
InstallingLabel=Installing
InstallationRequiresPrivileges=This program requires administrator privileges to install. Please run as administrator.
NoProgramGroup=Start Menu
NoProgramGroup2=Start Menu
UninstallNotFound=Uninstall program not found
WelcomeLabel1=Welcome
WelcomeLabel2=Video Subtitle Remover Installation Wizard. This program will install Video Subtitle Remover on your computer. Click Next to continue.
WelcomeLabel3=Video Subtitle Remover Installation Wizard. This program will install Video Subtitle Remover on your computer. Click Next to continue.
SelectDirBrowseLabel=Browse...
SelectDirDescription3=Select the folder where you want the program to be installed.
SelectDirLabel3=Select destination folder:
SelectDirLabelBrowseLabel=Browse...
SelectDirLabel3=Select destination location:
[CustomMessages]
NameAndVersion=%1 %2
CreatingDesktopIcon=Creating desktop shortcut...
CreatingUninstallingIcon=Creating uninstalling icon...
FinishedHeadingLabel=Video Subtitle Remover has been installed on your computer.
FinishedLabel=%1 has been installed on your computer.%n%n%n%nClick Finish to close the Setup Wizard.
Running=Running %1...
Uninstalling=Uninstalling %1...