2023年11月24日发(作者:);#define指令(使输入更方便)

;程序名

#define MyAppName "变速精灵"

;版本信息

#define MyAppVersion "2.6.3 VIP破解版"

;发布者

#define MyAppPublisher "Yi Jibin"

;相关连接

#define MyAppPublisherURL ""

;程序主执行文件名

#define MyAppExeName "变速精灵.exe"





[Setup]

; 注: AppId的值为单独标识该应用程序。

; 不要为其他安装程序使用相同的AppId值。

; (生成新的GUID,点击 工具|在IDE中生成GUID。)

AppId={{03BE13FB-F0B8-4345-9EB3-AE2888887743}

;程序名

AppName={#MyAppName}

;版本信息

AppVersion={#MyAppVersion}

;AppVerName={#MyAppName} {#MyAppVersion}
;发布者

AppPublisher={#MyAppPublisher}

;相关链接

AppPublisherURL={#MyAppPublisherURL}

;程序安装初始路径(可手动修改)

DefaultDirName=D:Program Files{#MyAppName}

DefaultGroupName={#MyAppName}
;许可文件

LicenseFile=f:我的文档桌面许可.txt

;安装前查看的文本文件

InfoBeforeFile=f:我的文档桌面安装前信息.txt

;安装后查看的文本文件

InfoAfterFile=f:我的文档桌面安装后信息.txt

;是否打开->可选安装开始菜单项

AllowNoIcons=yes

;安装程序皮肤

WizardImageFile=compiler:

WizardSmallImageFile=compiler:

;安装程序输出目录

OutputDir=F:我的文档桌面

;安装程序输出文件名

OutputBaseFilename=变速精灵安装

;安装程序图标:

SetupIconFile=F:我的文档桌面图标.ico

;安装需要输入密码

;Password=123

;Encryption=yes

;压缩相关

Compression=lzma

SolidCompression=yes

;可以让用户忽略选择语言("yes"为需要选择语言,"no"为不需要选择语言。)

ShowLanguageDialog = no



;安装语言

[Languages]

;简体中文

Name: "chinesesimp"; MessagesFile: "compiler:"





;用户定制任务

[Tasks]

Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1

Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked



;文件安装

[Files]

;安装后的程序主执行文件

Source: "F:我的文档桌面变速精灵变速精灵.exe"; DestDir: "{app}"; Flags: ignoreversion

;安装在电脑的文件夹

Source: "F:我的文档桌面变速精灵*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

; 注意: 不要在任何共享系统文件上使用“Flags: ignoreversion”



;开始菜单,桌面快捷方式

[Icons]

Name: "{group}{#MyAppName}"; Filename: "{app}{#MyAppExeName}"

Name: "{group}{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"

Name: "{commondesktop}{#MyAppName}"; Filename: "{app}{#MyAppExeName}"; Tasks: desktopicon

Name: "{usera

ppdata}MicrosoftInternet ExplorerQuick Launch{#MyAppName}"; Filename: "{app}{#MyAppExeName}"; Tasks: quicklaunchicon



;用来在程序安装完成后在安装程序显示最终对话框之前执行程序常用与运行主程序显示自述文件删除临时文件

[Run]

Filename: "{app}{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&