installer.iss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #define MyAppName "Borg for Windows"
  2. #define MyAppVersion "1.1"
  3. #define MyAppPublisher "The Borg Collective"
  4. #define MyAppURL "https://borgbackup.rtfd.org/"
  5. #define MyAppExeName "borg.exe"
  6. [Setup]
  7. AppId={{1B6E8CD4-25F2-4400-A53F-4338D6614475}
  8. AppName={#MyAppName}
  9. AppVersion={#MyAppVersion}
  10. ;AppVerName={#MyAppName} {#MyAppVersion}
  11. AppPublisher={#MyAppPublisher}
  12. AppPublisherURL={#MyAppURL}
  13. AppSupportURL={#MyAppURL}
  14. AppUpdatesURL={#MyAppURL}
  15. DefaultDirName={pf}\{#MyAppName}
  16. DefaultGroupName={#MyAppName}
  17. AllowNoIcons=yes
  18. LicenseFile=LICENSE
  19. InfoBeforeFile=AUTHORS
  20. OutputBaseFilename=Borg Backup {#MyAppVersion} Setup
  21. Compression=lzma/normal
  22. SolidCompression=yes
  23. SourceDir=..\..
  24. ArchitecturesInstallIn64BitMode=x64
  25. ArchitecturesAllowed=x64
  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: "win32exe\*"; DestDir: "{app}"; Flags: replacesameversion recursesubdirs
  32. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  33. [Icons]
  34. Name: "{group}\{#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: shellexec postinstall skipifsilent