; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "撕裂控制" #ifndef MyAppVersion ; Keep standalone .iss compilation in sync with the application source version. #ifndef __DATE__ #define __DATE__ "" #endif #ifndef __TIME__ #define __TIME__ "" #endif #ifndef _WIN32 #define _WIN32 #endif #include "..\App\BeltTearing\BeltTearingApp\Version.h" #define MyAppVersion BELT_TEARING_APP_VERSION_STRING + "." + BELT_TEARING_APP_VERSION_BUILD #endif #define MyAppPublisher "" #define MyAppURL "" #define MyAppExeName "BeltTearingApp.exe" #define MyProgramPath ".\buildwin\BeltTearingApp" [Setup] ; NOTE: The value of AppId uniquely identifies this application. ; Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{7EFE68AC-05BD-4BA2-B420-2C71094031A1}} AppName={#MyAppName} AppVersion={#MyAppVersion} AppVerName={#MyAppName}_V{#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={pf}\{#MyAppName} DisableProgramGroupPage=yes OutputBaseFilename={#MyAppName}V{#MyAppVersion} OutputDir=..\Publish Compression=lzma SolidCompression=yes [Languages] Name: "default"; MessagesFile: "compiler:Languages\ChineseSimplified.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] ; Source: "D:\CoalDetect\Profile.ini"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs Source: "{#MyProgramPath}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon [Run] Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent runascurrentuser [Code]