; Inno Setup script for 岩美酒库 Windows 客户端 ; Compiled in CI: ; ISCC /DAppVer= "/DSrcDir=" "/DOutDir=" jiu-installer.iss ; Produces: \jiu-windows-x64-setup.exe #ifndef AppVer #define AppVer "0.0.0" #endif #ifndef SrcDir #define SrcDir "." #endif #ifndef OutDir #define OutDir "." #endif #define MyAppName "岩美酒库" #define MyAppExe "jiu_client.exe" #define MyAppPublisher "岩美" [Setup] AppId={{A3F5C1E2-9B47-4D8A-B6E0-2C1D4F8A9E33} AppName={#MyAppName} AppVersion={#AppVer} AppPublisher={#MyAppPublisher} DefaultDirName={autopf}\Jiu DefaultGroupName={#MyAppName} DisableProgramGroupPage=yes OutputDir={#OutDir} OutputBaseFilename=jiu-windows-x64-setup Compression=lzma2 SolidCompression=yes WizardStyle=modern ArchitecturesAllowed=x64 ArchitecturesInstallIn64BitMode=x64 UninstallDisplayName={#MyAppName} UninstallDisplayIcon={app}\{#MyAppExe} ; 说明:未声明 [Languages],使用 Inno Setup 内置英文向导(简体中文语言文件 ; ChineseSimplified.isl 默认不随 Inno Setup 安装,依赖它会导致编译找不到文件)。 ; app 名称与快捷方式仍为中文(下方 UTF-8 字符串,与向导语言无关)。 [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkedonce [Files] Source: "{#SrcDir}\*"; DestDir: "{app}"; Flags: recursesubdirs createallsubdirs ignoreversion [Icons] Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExe}" Name: "{group}\卸载 {#MyAppName}"; Filename: "{uninstallexe}" Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExe}"; Tasks: desktopicon [Run] Filename: "{app}\{#MyAppExe}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent