Collection of DPF-based plugins for packaging
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
2.5KB

  1. ; This script requires Inno Setup Compiler 5.5.9 or later to compile
  2. ; The Inno Setup Compiler (and IDE) can be found at http://www.jrsoftware.org/isinfo.php
  3. ; General documentation on how to use InnoSetup scripts: http://www.jrsoftware.org/ishelp/index.php
  4. #ifndef Platform
  5. #error Platform undefined. Pass /DPlatform
  6. #endif
  7. #ifndef Configuration
  8. #error Configuration undefined. Pass /DConfiguration
  9. #endif
  10. #define MyAppName "projectM"
  11. #define MyAppInstallerVersion GetFileVersion("projectM.exe")
  12. #define MyAppPublisher "projectM Team"
  13. #define MyAppPublisherURL "https://github.com/mancoast/projectm"
  14. #define MyAppURL "https://github.com/projectM-visualizer/projectm"
  15. #define MyAppExeName "projectM.exe"
  16. #define MyAppIcoName "projectm_qDj_icon.ico"
  17. [Setup]
  18. AppId={{82DAD0F1-77DF-47FE-9FEE-123FFC5695B4}
  19. AppName={#MyAppName}
  20. AppVersion={#MyAppInstallerVersion}
  21. VersionInfoVersion={#MyAppInstallerVersion}
  22. AppPublisher={#MyAppPublisher}
  23. AppPublisherURL={#MyAppPublisherURL}
  24. AppSupportURL={#MyAppURL}
  25. AppUpdatesURL={#MyAppURL}
  26. AppCopyright=Copyright (C) 2019 {#MyAppPublisher}
  27. BackColor=clWhite
  28. BackSolid=yes
  29. DefaultDirName={pf}\{#MyAppName}
  30. DefaultGroupName={#MyAppName}
  31. OutputBaseFilename=projectM-v{#MyAppInstallerVersion}-Setup
  32. OutputDir=..\..\Setup\{#Configuration}\{#Platform}
  33. Compression=lzma2
  34. InternalCompressLevel=ultra64
  35. SolidCompression=yes
  36. DisableDirPage=yes
  37. DisableReadyPage=yes
  38. SetupIconFile={#MyAppIcoName}
  39. WizardImageStretch=no
  40. WindowResizable=no
  41. CloseApplications=yes
  42. ChangesEnvironment=yes
  43. ArchitecturesInstallIn64BitMode=x64
  44. LicenseFile=LICENSE.txt
  45. WizardImageFile=setup_inno.bmp
  46. WizardSmallImageFile=setup_inno_small.bmp
  47. [Tasks]
  48. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; \
  49. GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  50. [Icons]
  51. Name: "{group}\projectM"; Filename: "{app}\projectM.exe"; WorkingDir: "{app}"
  52. Name: "{group}\Uninstall projectM"; Filename: "{uninstallexe}"
  53. Name: "{userdesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; \
  54. IconFilename: "{app}\{#MyAppIcoName}"; Tasks: desktopicon
  55. [Languages]
  56. Name: "english"; MessagesFile: "compiler:Default.isl";
  57. [Types]
  58. Name: "full"; Description: "Full installation"
  59. [Components]
  60. [Files]
  61. DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Source:"*"
  62. [UninstallDelete]
  63. ; Deletes the entire installation directory, including files and subdirectories
  64. Type: filesandordirs; Name: "{app}";
  65. [Run]
  66. Filename: "{app}\projectM.exe"; Description: "Launch projectM application"; \
  67. Flags: postinstall nowait skipifsilent unchecked