install.iss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #define MyAppName "PicView"
  2. #define MyAppVersion "{#MyAppVersion}"
  3. #define MyAppPublisher "Ruben2776"
  4. #define MyAppURL "https://picview.org/"
  5. #define MyAppExeName "{#MyAppExeName}"
  6. #define AppIcon "..\src\PicView.Avalonia.Win32\icon.ico"
  7. [Setup]
  8. AppId={{F102E394-0FA6-4AEA-826D-9FE699115BAB}
  9. AppName={#MyAppName}
  10. AppVersion={#MyAppVersion}
  11. AppPublisher={#MyAppPublisher}
  12. AppPublisherURL={#MyAppURL}
  13. AppSupportURL=https://github.com/Ruben2776/PicView/issues
  14. AppUpdatesURL={#MyAppURL}
  15. DefaultDirName={sd}\PicView
  16. DisableProgramGroupPage=yes
  17. LicenseFile="..\src\PicView.Core\Licenses\LICENSE.txt"
  18. PrivilegesRequired=lowest
  19. OutputDir={#MyAppOutputDir}
  20. OutputBaseFilename={#MyAppName}-{#MyAppVersion}
  21. SetupIconFile={#AppIcon}
  22. Compression=lzma
  23. SolidCompression=yes
  24. WizardStyle=modern
  25. UninstallDisplayIcon={app}\{#MyAppExeName}
  26. UninstallDisplayName={#MyAppName}-{#MyAppVersion}
  27. ChangesAssociations=yes
  28. VersionInfoVersion={#MyAppVersion}
  29. [Files]
  30. Source: "{#MyAppOutputDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
  31. [Icons]
  32. Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
  33. Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
  34. [Run]
  35. Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
  36. #include 'uninstallPrev.iss'
  37. #include 'registry.iss'