inno.iss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ; Script generated by the Inno Setup Script Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3. #define MyAppName "device-client"
  4. #define MyAppVersion "2.0.0.0"
  5. #define MyAppPublisher "usoftchina.com"
  6. #define MyAppURL "https://www.usoftchina.com/"
  7. #define MyAppExeName "device-client.exe"
  8. [Setup]
  9. ; NOTE: The value of AppId uniquely identifies this application.
  10. ; Do not use the same AppId value in installers for other applications.
  11. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
  12. AppId={{B53F1479-C51D-4EC5-9E67-C6A0D6705E75}
  13. AppName={#MyAppName}
  14. AppVersion={#MyAppVersion}
  15. ;AppVerName={#MyAppName} {#MyAppVersion}
  16. AppPublisher={#MyAppPublisher}
  17. AppPublisherURL={#MyAppURL}
  18. AppSupportURL={#MyAppURL}
  19. AppUpdatesURL={#MyAppURL}
  20. DefaultDirName={pf}\{#MyAppName}
  21. DisableProgramGroupPage=yes
  22. OutputBaseFilename=setup
  23. SetupIconFile=F:\workspace\smartschool-platform\applications\device\device-client\src\main\resources\icon.ico
  24. Compression=lzma
  25. SolidCompression=yes
  26. [Languages]
  27. Name: "english"; MessagesFile: "compiler:Default.isl"
  28. [Tasks]
  29. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  30. [Files]
  31. Source: "F:\workspace\smartschool-platform\applications\device\device-client\target\device-client.exe"; DestDir: "{app}"; Flags: ignoreversion
  32. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  33. [Icons]
  34. Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
  35. Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
  36. [Run]
  37. Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent