install.iss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #define MyAppName "PicView"
  2. #define MyAppVersion "{#MyAppVersion}"
  3. #define MyAppVersionInfo "{#MyAppVersionInfo}"
  4. #define MyAppPublisher "Ruben2776"
  5. #define MyAppExeName "{#MyAppExeName}"
  6. #define AppIcon "{#MyAppIcon}"
  7. #define LicenseFile "{#MyAppLicenseFile}"
  8. [Setup]
  9. AppId={{F102E394-0FA6-4AEA-826D-9FE699115BAB}
  10. AppName={#MyAppName}
  11. AppVersion={#MyAppVersion}
  12. AppPublisher={#MyAppPublisher}
  13. AppPublisherURL=https://picview.org/
  14. AppSupportURL=https://github.com/Ruben2776/PicView/issues
  15. AppUpdatesURL=https://picview.org/download
  16. DefaultDirName={sd}\PicView
  17. DisableProgramGroupPage=yes
  18. LicenseFile={#LicenseFile}
  19. PrivilegesRequired=lowest
  20. OutputDir={#MyAppOutputDir}
  21. OutputBaseFilename={#MyAppName}-{#MyAppVersion}
  22. SetupIconFile={#AppIcon}
  23. Compression=lzma
  24. SolidCompression=yes
  25. WizardStyle=modern
  26. UninstallDisplayIcon={app}\{#MyAppExeName}
  27. UninstallDisplayName={#MyAppName}
  28. ChangesAssociations=yes
  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'