Windows上使用Inno Setup将应用程序打包成安装程序

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档


前言

有时候我们开发出来的软件是.exe文件+一些dll或配置文件,正常移交给客户就不太妥当了,一般客户需要的都是<程序名>.exe这种压缩后的安装程序。今天九交给你们一个方法打包安装程序。


一、安装Inno Setup

方法很多,今天就拿Inno Setup练练手。

官方网站

在这里插入图片描述

怎么安装就不说了,基本都会。

二、使用步骤

官方有一些示例,但是不能满足我们的需求,我花了半天的时间研究了下官方文档,终于可以用了,至少可以满足我的需求。

1.创建.iss文件

.iss就是安装配置脚本,里面配置安装程序的各种行为,这些行为很多,我们只演示基本的,其它的请大家自行研究官方文档。

配置文件分为很多个大条目,比如:
[Setup]:主要配置安装程序名称,版本号,压缩方式,安装程序导出位置等
[Files]:主要配置需要添加进安装程序的文件(包括可执行文件,配置,dll等)
[Icons]:桌面快捷图标,启动菜单图标等
[Languages]:安装程序的语言,比如英语,简体中文,日语等
[Run]:安装完成后的行为,比如查看README启动应用程序

注意:Languages是打包的安装程序的语言,不是应用程序的语言!

HSP.iss

; -- HSP.iss --

;Install Qt5 Program


;安装配置选项
[Setup]
;应用程序名称,随便写,不要有特殊字符
AppName=HSP
;应用程序版本,升级的时候需要更改版本号以区分新旧版本
AppVersion=1.0.0
;安装向导风格,根据个人喜好
WizardStyle=modern
;默认的安装目录名,最好给一个,否则可能安装在根目录,{autopf}是内部变量一般是C:\Program Files (x86)
DefaultDirName={autopf}\HSP
;组名,后面创建开始菜单的时候需要用到,中文软件就用中文
DefaultGroupName=卫监所
;卸载程序的图标,不给的话会有默认图标的,{app}是内部变量就是安装根目录
UninstallDisplayIcon={app}\HSP.exe
;压缩方式,默认就好,57MB的文件夹压缩好大概16MB,压缩效率还可以
Compression=lzma2
;维持默认
SolidCompression=yes
;安装程序的输出目录,填一个可以访问的或维持原样,就是Document
OutputDir=userdocs:Inno Setup Examples Output
;输出的安装程序名字,不给的话会有默认名字,也可以rename,没什么影响
OutputBaseFilename=HSP-install


;哪些文件打包进安装程序
[Files]
;特殊处理readme.txt,需要在Flags里明确标注isreadme,后面有用
Source: "readme.txt"; DestDir: "{app}"; Flags: isreadme
;指定需要打包到安装程序的所有文件或文件夹。后面解释这些参数
Source: "*"; Excludes: "*.iss"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs


;是否添加快捷方式
[Icons]
;将启动快捷方式添加到开始菜单组里面去
Name: "{group}\HSP"; Filename: "{app}\HSP.exe"; WorkingDir: "{app}"
;将卸载快捷方式添加到开始菜单组里面去,{uninstallexe}是内部变量,会自动定位卸载程序,维持原样就行了
Name: "{group}\卸载 HSP"; Filename: "{uninstallexe}"
;添加桌面快捷方式,这个应该都知道的
Name: "{commondesktop}\HSP"; Filename: "{app}\HSP.exe"; WorkingDir: "{app}"
;添加到应用程式组里面去,可以自行看下效果
;Name: "{commonprograms}\HSP"; Filename: "{app}\HSP.exe"; WorkingDir: "{app}"

;语言列表,第一个是默认
[Languages]
;简体中文为默认的安装语言,注意是安装语言,不是运行语言
Name: "cn"; MessagesFile: "compiler:Languages\Chinese.isl"
;英文
Name: "en"; MessagesFile: "compiler:Default.isl"
;荷兰语
Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl"

;运行选项,在安装完成后的选项
[Run]
;是否在安装完成后勾选启动应用程序?
Filename: "{app}\HSP.exe"; Description: "启动 应用程序"; Flags: postinstall nowait skipifsilent unchecked; WorkingDir: "{app}"

写好.iss文件后将.iss文件复制到你的应用程序目录,比如:

在这里插入图片描述

注意:我上面使用的是相对目录,所以.iss需要复制到应用程序目录。也可以指定其它目录,这个留给大家自己研究,我觉得相对目录也没啥问题。

完成之后用Inno Setup软件打开并编译build->compileCtrl+F9,生成安装可执行文件。

2.安装

找到打包成的可执行文件,我的是下面的:

在这里插入图片描述

就像一般的Windows软件一样执行:

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

安装完成。

桌面上有图标:

在这里插入图片描述

开始菜单快捷方式和卸载快捷方式

在这里插入图片描述

注意:卸载只会删除打包目录里的文件,不会删除后面生成的文件。

三、中文安装页面

默认Inno Setup不带中文,但是它默认字符集是UTF-8,所以你可以直接在文档里或脚本里写中文,而不用担心乱码的问题。它自带的语言保存在安装目录里。

在这里插入图片描述
这里面没有英语,因为英语在另一个文件里,叫Default.isl。就算你什么语言也不配置,它依然会使用英文显示。在这里插入图片描述

那么,怎么添加中文呢?请继续往下看:

将Default.isl复制一份放在Languages文件夹并改名为Chinese.isl,如果你用繁体中文就建两个isl文件区分下。要翻译的内容实在是多,由于最近又开始忙起来了,我翻译了比较重要的那一部分,就是正常安装和卸载会显示的那一部分,不包括失败的部分,感兴趣的可以拷贝走,如果有其它的英文你再追加翻译。快捷键貌似没生效,可能要改成Unicode码点才行,暂时没有时间去研究了。

注意:中文和英文在语法上的区别,别到时候翻译出来的让人看不懂,还要注意一些占位符和内部变量。

Chinese.isl

; *** Inno Setup version 6.1.0+ English messages ***
;
; To download user-contributed translations of this file, go to:
;   https://jrsoftware.org/files/istrans/
;
; Note: When translating this text, do not add periods (.) to the end of
; messages that didn't have them already, because on those messages Inno
; Setup adds the periods automatically (appending a period would result in
; two periods being displayed).

[LangOptions]
; The following three entries are very important. Be sure to read and 
; understand the '[LangOptions] section' topic in the help file.
LanguageName=简体中文
LanguageID=$0430
LanguageCodePage=0
; If the language you are translating to requires special font faces or
; sizes, uncomment any of the following entries and change them accordingly.
;DialogFontName=
;DialogFontSize=8
;WelcomeFontName=Verdana
;WelcomeFontSize=12
;TitleFontName=Arial
;TitleFontSize=29
;CopyrightFontName=Arial
;CopyrightFontSize=8

[Messages]

; *** Application titles
SetupAppTitle=安装
SetupWindowTitle=安装 - %1
UninstallAppTitle=卸载
UninstallAppFullTitle=%1 卸载

; *** Misc. common
InformationTitle=信息
ConfirmTitle=确认
ErrorTitle=错误

; *** SetupLdr messages
SetupLdrStartupMessage=这将会安装 %1. 你想要继续吗?
LdrCannotCreateTemp=无法创建临时文件。安装终止
LdrCannotExecTemp=无法在临时目录执行文件。安装终止
HelpTextNote=

; *** Startup error messages
LastErrorMessage=%1.%n%n错误 %2: %3
SetupFileMissing=The file %1 is missing from the installation directory. Please correct the problem or obtain a new copy of the program.
SetupFileCorrupt=The setup files are corrupted. Please obtain a new copy of the program.
SetupFileCorruptOrWrongVer=The setup files are corrupted, or are incompatible with this version of Setup. Please correct the problem or obtain a new copy of the program.
InvalidParameter=An invalid parameter was passed on the command line:%n%n%1
SetupAlreadyRunning=Setup is already running.
WindowsVersionNotSupported=This program does not support the version of Windows your computer is running.
WindowsServicePackRequired=This program requires %1 Service Pack %2 or later.
NotOnThisPlatform=This program will not run on %1.
OnlyOnThisPlatform=This program must be run on %1.
OnlyOnTheseArchitectures=This program can only be installed on versions of Windows designed for the following processor architectures:%n%n%1
WinVersionTooLowError=This program requires %1 version %2 or later.
WinVersionTooHighError=This program cannot be installed on %1 version %2 or later.
AdminPrivilegesRequired=You must be logged in as an administrator when installing this program.
PowerUserPrivilegesRequired=You must be logged in as an administrator or as a member of the Power Users group when installing this program.
SetupAppRunningError=Setup has detected that %1 is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit.
UninstallAppRunningError=Uninstall has detected that %1 is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit.

; *** Startup questions
PrivilegesRequiredOverrideTitle=选择安装模式
PrivilegesRequiredOverrideInstruction=选择安装模式
PrivilegesRequiredOverrideText1=%1 can be installed for all users (requires administrative privileges), or for you only.
PrivilegesRequiredOverrideText2=%1 can be installed for you only, or for all users (requires administrative privileges).
PrivilegesRequiredOverrideAllUsers=Install for &all users
PrivilegesRequiredOverrideAllUsersRecommended=Install for &all users (recommended)
PrivilegesRequiredOverrideCurrentUser=Install for &me only
PrivilegesRequiredOverrideCurrentUserRecommended=Install for &me only (recommended)

; *** Misc. errors
ErrorCreatingDir=安装程序无法创建文件夹 "%1"
ErrorTooManyFilesInDir=无法在文件夹里创建文件 "%1" 因为它包含了太多的文件了

; *** Setup common messages
ExitSetupTitle=退出安装
ExitSetupMessage=安装没有完成,如果你现在退出,程序将不会被安装。%n%n你可以在合适的时间重新安装。%n%n确定退出?
AboutSetupMenuItem=&关于 安装...
AboutSetupTitle=关于 安装
AboutSetupMessage=%1 版本 %2%n%3%n%n%1 主页:%n%4
AboutSetupNote=
TranslatorNote=

; *** Buttons
ButtonBack=< &返回
ButtonNext=&继续 >
ButtonInstall=&安装
ButtonOK=确认
ButtonCancel=取消
ButtonYes=&是
ButtonYesToAll=对&所有选是
ButtonNo=&否
ButtonNoToAll=对所有选&否
ButtonFinish=&完成
ButtonBrowse=&浏览...
ButtonWizardBrowse=&浏览...
ButtonNewFolder=&创建新文件夹

; *** "Select Language" dialog messages
SelectLanguageTitle=选择安装语言
SelectLanguageLabel=请选择安装界面的语言。

; *** Common wizard text
ClickNext=点击下一步继续,或点击取消退出安装。
BeveledLabel=
BrowseDialogTitle=浏览文件夹
BrowseDialogLabel=在列表中选择一个文件夹,然后点击确定。
NewFolderName=新文件夹

; *** "Welcome" wizard page
WelcomeLabel1=欢迎使用 [name] 安装向导
WelcomeLabel2=这将在你的电脑上安装[name/ver]。%n%n建议在此之前退出其它应用程序。

; *** "Password" wizard page
WizardPassword=密码
PasswordLabel1=本次安装受到密码保护。
PasswordLabel3=请提供密码,然后点击下一步继续。密码区分大小写。
PasswordEditLabel=&密码:
IncorrectPassword=输入的密码不正确,请重试。

; *** "License Agreement" wizard page
WizardLicense=同意条款
LicenseLabel=请在继续之前阅读下面的重要信息。
LicenseLabel3=请阅读下面的条款。在安装之前你必须同意下该条款。
LicenseAccepted=I &接受条款
LicenseNotAccepted=I &拒绝条款

; *** "Information" wizard pages
WizardInfoBefore=信息
InfoBeforeLabel=请在继续之前阅读下面的重要信息.
InfoBeforeClickLabel=当你准备好继续的时候,点击下一步。
WizardInfoAfter=信息
InfoAfterLabel=请在继续之前阅读下面的重要信息.
InfoAfterClickLabel=当你准备好继续的时候,点击下一步。

; *** "User Information" wizard page
WizardUserInfo=用户信息
UserInfoDesc=请输入你的信息。
UserInfoName=&用户名:
UserInfoOrg=&组织:
UserInfoSerial=&序列号:
UserInfoNameRequired=你必须输入一个用户名。

; *** "Select Destination Location" wizard page
WizardSelectDir=选择目标位置
SelectDirDesc= [name] 应该被安装在哪里?
SelectDirLabel3=将会把 [name] 安装在以下文件夹里面。
SelectDirBrowseLabel=继续请按继续按钮。如果你想选择一个其它目录请点击浏览。
DiskSpaceGBLabel=至少需要 [gb] GB 磁盘空间。
DiskSpaceMBLabel=至少需要 [mb] MB 磁盘空间。
CannotInstallToNetworkDrive=不能安装在一个网络磁盘上。
CannotInstallToUNCPath=不能安装在一个UNC路径上。
InvalidPath=You must enter a full path with drive letter; for example:%n%nC:\APP%n%nor a UNC path in the form:%n%n\\server\share
InvalidDrive=The drive or UNC share you selected does not exist or is not accessible. Please select another.
DiskSpaceWarningTitle=Not Enough Disk Space
DiskSpaceWarning=Setup requires at least %1 KB of free space to install, but the selected drive only has %2 KB available.%n%nDo you want to continue anyway?
DirNameTooLong=The folder name or path is too long.
InvalidDirName=The folder name is not valid.
BadDirName32=Folder names cannot include any of the following characters:%n%n%1
DirExistsTitle=Folder Exists
DirExists=The folder:%n%n%1%n%nalready exists. Would you like to install to that folder anyway?
DirDoesntExistTitle=Folder Does Not Exist
DirDoesntExist=The folder:%n%n%1%n%ndoes not exist. Would you like the folder to be created?

; *** "Select Components" wizard page
WizardSelectComponents=Select Components
SelectComponentsDesc=Which components should be installed?
SelectComponentsLabel2=Select the components you want to install; clear the components you do not want to install. Click Next when you are ready to continue.
FullInstallation=Full installation
; if possible don't translate 'Compact' as 'Minimal' (I mean 'Minimal' in your language)
CompactInstallation=Compact installation
CustomInstallation=Custom installation
NoUninstallWarningTitle=Components Exist
NoUninstallWarning=Setup has detected that the following components are already installed on your computer:%n%n%1%n%nDeselecting these components will not uninstall them.%n%nWould you like to continue anyway?
ComponentSize1=%1 KB
ComponentSize2=%1 MB
ComponentsDiskSpaceGBLabel=Current selection requires at least [gb] GB of disk space.
ComponentsDiskSpaceMBLabel=Current selection requires at least [mb] MB of disk space.

; *** "Select Additional Tasks" wizard page
WizardSelectTasks=Select Additional Tasks
SelectTasksDesc=Which additional tasks should be performed?
SelectTasksLabel2=Select the additional tasks you would like Setup to perform while installing [name], then click Next.

; *** "Select Start Menu Folder" wizard page
WizardSelectProgramGroup=选择开始菜单目录
SelectStartMenuFolderDesc=安装程序应该把快捷方式放在哪个位置?
SelectStartMenuFolderLabel3=安装程序将会把快捷方式放置在下面的位置。
SelectStartMenuFolderBrowseLabel=继续请点击下一步。如果你想选另一个位置请点击浏览。
MustEnterGroupName=你必须输入一个目录名。
GroupNameTooLong=目录名太长了。
InvalidGroupName=目录名无效。
BadGroupName=目录名不能包含以下字符:%n%n%1
NoProgramGroupCheck2=&不要创建开始菜单目录

; *** "Ready to Install" wizard page
WizardReady=准备安装
ReadyLabel1=安装程序已经准备好将 [name] 安装在你的电脑上了。
ReadyLabel2a=点击安装按钮以继续安装,或点击返回按钮以更改配置。
ReadyLabel2b=点击安装按钮以继续安装。
ReadyMemoUserInfo=用户信息:
ReadyMemoDir=目标目录:
ReadyMemoType=安装类型:
ReadyMemoComponents=选择组件:
ReadyMemoGroup=开始菜单目录:
ReadyMemoTasks=附加任务:

; *** TDownloadWizardPage wizard page and DownloadTemporaryFile
DownloadingLabel=Downloading additional files...
ButtonStopDownload=&Stop download
StopDownload=Are you sure you want to stop the download?
ErrorDownloadAborted=Download aborted
ErrorDownloadFailed=Download failed: %1 %2
ErrorDownloadSizeFailed=Getting size failed: %1 %2
ErrorFileHash1=File hash failed: %1
ErrorFileHash2=Invalid file hash: expected %1, found %2
ErrorProgress=Invalid progress: %1 of %2
ErrorFileSize=Invalid file size: expected %1, found %2

; *** "Preparing to Install" wizard page
WizardPreparing=Preparing to Install
PreparingDesc=Setup is preparing to install [name] on your computer.
PreviousInstallNotCompleted=The installation/removal of a previous program was not completed. You will need to restart your computer to complete that installation.%n%nAfter restarting your computer, run Setup again to complete the installation of [name].
CannotContinue=Setup cannot continue. Please click Cancel to exit.
ApplicationsFound=The following applications are using files that need to be updated by Setup. It is recommended that you allow Setup to automatically close these applications.
ApplicationsFound2=The following applications are using files that need to be updated by Setup. It is recommended that you allow Setup to automatically close these applications. After the installation has completed, Setup will attempt to restart the applications.
CloseApplications=&Automatically close the applications
DontCloseApplications=&Do not close the applications
ErrorCloseApplications=Setup was unable to automatically close all applications. It is recommended that you close all applications using files that need to be updated by Setup before continuing.
PrepareToInstallNeedsRestart=Setup must restart your computer. After restarting your computer, run Setup again to complete the installation of [name].%n%nWould you like to restart now?

; *** "Installing" wizard page
WizardInstalling=正在安装
InstallingLabel=请稍等片刻正在你的电脑上安装 [name]; *** "Setup Completed" wizard page
FinishedHeadingLabel=完成 [name] 安装向导
FinishedLabelNoIcons=安装程序成功将 [name] 安装到你的电脑上。
FinishedLabel=安装程序成功将 [name] 安装到你的电脑上。可以通过快捷方式启动应用程序
ClickFinish=点击完成退出安装。
FinishedRestartLabel=为了完成 [name] 的安装,安装程序必须重启你的电脑。你确定要立即重启吗?
FinishedRestartMessage=为了完成 [name] 的安装,安装程序必须重启你的电脑。%n%n你确定要立即重启吗?
ShowReadmeCheck=是的, 我想要查看 README 文件
YesRadio=&是的,现在重启电脑
NoRadio=&否, 稍后重启电脑
; used for example as 'Run MyProg.exe'
RunEntryExec=运行 %1
; used for example as 'View Readme.txt'
RunEntryShellExec=查看 %1

; *** "Setup Needs the Next Disk" stuff
ChangeDiskTitle=Setup Needs the Next Disk
SelectDiskLabel2=Please insert Disk %1 and click OK.%n%nIf the files on this disk can be found in a folder other than the one displayed below, enter the correct path or click Browse.
PathLabel=&Path:
FileNotInDir2=The file "%1" could not be located in "%2". Please insert the correct disk or select another folder.
SelectDirectoryLabel=Please specify the location of the next disk.

; *** Installation phase messages
SetupAborted=Setup was not completed.%n%nPlease correct the problem and run Setup again.
AbortRetryIgnoreSelectAction=Select action
AbortRetryIgnoreRetry=&Try again
AbortRetryIgnoreIgnore=&Ignore the error and continue
AbortRetryIgnoreCancel=Cancel installation

; *** Installation status messages
StatusClosingApplications=正在关闭应用程序...
StatusCreateDirs=正在创建文件夹...
StatusExtractFiles=正在解压文件...
StatusCreateIcons=正在创建快捷方式...
StatusCreateIniEntries=正在创建配置条目...
StatusCreateRegistryEntries=正在注册条目...
StatusRegisterFiles=正在注册文件...
StatusSavingUninstall=正在保存卸载信息...
StatusRunProgram=正在完成卸载...
StatusRestartingApplications=正在重启应用程序...
StatusRollback=正在回滚变更...

; *** Misc. errors
ErrorInternal2=Internal error: %1
ErrorFunctionFailedNoCode=%1 failed
ErrorFunctionFailed=%1 failed; code %2
ErrorFunctionFailedWithMessage=%1 failed; code %2.%n%3
ErrorExecutingProgram=Unable to execute file:%n%1

; *** Registry errors
ErrorRegOpenKey=Error opening registry key:%n%1\%2
ErrorRegCreateKey=Error creating registry key:%n%1\%2
ErrorRegWriteKey=Error writing to registry key:%n%1\%2

; *** INI errors
ErrorIniEntry=Error creating INI entry in file "%1".

; *** File copying errors
FileAbortRetryIgnoreSkipNotRecommended=&Skip this file (not recommended)
FileAbortRetryIgnoreIgnoreNotRecommended=&Ignore the error and continue (not recommended)
SourceIsCorrupted=The source file is corrupted
SourceDoesntExist=The source file "%1" does not exist
ExistingFileReadOnly2=The existing file could not be replaced because it is marked read-only.
ExistingFileReadOnlyRetry=&Remove the read-only attribute and try again
ExistingFileReadOnlyKeepExisting=&Keep the existing file
ErrorReadingExistingDest=An error occurred while trying to read the existing file:
FileExistsSelectAction=Select action
FileExists2=The file already exists.
FileExistsOverwriteExisting=&Overwrite the existing file
FileExistsKeepExisting=&Keep the existing file
FileExistsOverwriteOrKeepAll=&Do this for the next conflicts
ExistingFileNewerSelectAction=Select action
ExistingFileNewer2=The existing file is newer than the one Setup is trying to install.
ExistingFileNewerOverwriteExisting=&Overwrite the existing file
ExistingFileNewerKeepExisting=&Keep the existing file (recommended)
ExistingFileNewerOverwriteOrKeepAll=&Do this for the next conflicts
ErrorChangingAttr=An error occurred while trying to change the attributes of the existing file:
ErrorCreatingTemp=An error occurred while trying to create a file in the destination directory:
ErrorReadingSource=An error occurred while trying to read the source file:
ErrorCopying=An error occurred while trying to copy a file:
ErrorReplacingExistingFile=An error occurred while trying to replace the existing file:
ErrorRestartReplace=RestartReplace failed:
ErrorRenamingTemp=An error occurred while trying to rename a file in the destination directory:
ErrorRegisterServer=Unable to register the DLL/OCX: %1
ErrorRegSvr32Failed=RegSvr32 failed with exit code %1
ErrorRegisterTypeLib=Unable to register the type library: %1

; *** Uninstall display name markings
; used for example as 'My Program (32-bit)'
UninstallDisplayNameMark=%1 (%2)
; used for example as 'My Program (32-bit, All users)'
UninstallDisplayNameMarks=%1 (%2, %3)
UninstallDisplayNameMark32Bit=32-bit
UninstallDisplayNameMark64Bit=64-bit
UninstallDisplayNameMarkAllUsers=All users
UninstallDisplayNameMarkCurrentUser=Current user

; *** Post-installation errors
ErrorOpeningReadme=尝试打开README文件的时候报错。
ErrorRestartingComputer=安装程序无法重启电脑。请手动重启

; *** Uninstaller messages
UninstallNotFound=文件 "%1" 不存在。无法卸载
UninstallOpenError=文件 "%1" 无法打开。无法卸载
UninstallUnsupportedVer=The uninstall log file "%1" is in a format not recognized by this version of the uninstaller. Cannot uninstall
UninstallUnknownEntry=An unknown entry (%1) was encountered in the uninstall log
ConfirmUninstall=你确定要完全移除 %1 和它的所有组件吗?
UninstallOnlyOnWin64=This installation can only be uninstalled on 64-bit Windows.
OnlyAdminCanUninstall=This installation can only be uninstalled by a user with administrative privileges.
UninstallStatusLabel=Please wait while %1 is removed from your computer.
UninstalledAll=%1 被成功从你的电脑里移除。
UninstalledMost=%1 卸载完成。%n%n有些元素不能被移除。请手动移除它们。
UninstalledAndNeedsRestart=为了完全移除 %1, 你的电脑必须被重启。%n%n你想现在重启吗?
UninstallDataCorrupted="%1" 文件错误,无法卸载。

; *** Uninstallation phase messages
ConfirmDeleteSharedFileTitle=移除共享文件?
ConfirmDeleteSharedFile2=The system indicates that the following shared file is no longer in use by any programs. Would you like for Uninstall to remove this shared file?%n%nIf any programs are still using this file and it is removed, those programs may not function properly. If you are unsure, choose No. Leaving the file on your system will not cause any harm.
SharedFileNameLabel=文件名:
SharedFileLocationLabel=位置:
WizardUninstalling=卸载状态
StatusUninstalling=正在卸载 %1...

; *** Shutdown block reasons
ShutdownBlockReasonInstallingApp=正在安装 %1。
ShutdownBlockReasonUninstallingApp=正在卸载 %1。

; The custom messages below aren't used by Setup itself, but if you make
; use of them in your scripts, you'll want to translate them.

[CustomMessages]

NameAndVersion=%1 版本 %2
AdditionalIcons=Additional shortcuts:
CreateDesktopIcon=Create a &desktop shortcut
CreateQuickLaunchIcon=Create a &Quick Launch shortcut
ProgramOnTheWeb=%1 on the Web
UninstallProgram=卸载 %1
LaunchProgram=启动 %1
AssocFileExtension=&Associate %1 with the %2 file extension
AssocingFileExtension=Associating %1 with the %2 file extension...
AutoStartProgramGroupDescription=Startup:
AutoStartProgram=Automatically start %1
AddonHostProgramNotFound=%1 could not be located in the folder you selected.%n%nDo you want to continue anyway?


总结

1、普通的用法够了,其它的用法根据个人需要吧。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值