setup32.iss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ; Script generated by the Inno Script Studio Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3. #define MyAppName "Qt Visual Graph Editor"
  4. #define MyAppVersion "0.6.3 (32 bit)"
  5. #define MyAppPublisher "Ars L. Masiuk"
  6. #define MyAppURL "https://sourceforge.net/projects/qvge"
  7. #define MyAppExeName "qvgeapp.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={{D5881152-81E2-48FB-A16C-1B7CA4364730}
  13. AppName={#MyAppName}
  14. AppVersion={#MyAppVersion}
  15. ;AppVerName={#MyAppName} {#MyAppVersion}
  16. AppPublisher={#MyAppPublisher}
  17. AppPublisherURL={#MyAppURL}
  18. AppSupportURL={#MyAppURL}
  19. AppUpdatesURL={#MyAppURL}
  20. DefaultGroupName={#MyAppName} {#MyAppVersion}
  21. AllowNoIcons=yes
  22. LicenseFile=..\..\LICENSE
  23. SetupIconFile=icon.ico
  24. Compression=lzma
  25. SolidCompression=yes
  26. OutputDir=..\..\..\..\_releases\win32
  27. OutputBaseFilename=qvge-0.6.3-setup-32bit
  28. DefaultDirName={pf}\QVGE
  29. [Languages]
  30. Name: "english"; MessagesFile: "compiler:Default.isl"
  31. Name: "german"; MessagesFile: "compiler:Languages\German.isl"
  32. Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
  33. Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl"
  34. [Tasks]
  35. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  36. Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
  37. [Files]
  38. Source: "bin32\*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs createallsubdirs
  39. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  40. ;Source: "vcredist_x86.exe"; DestDir: {tmp}; Flags: deleteafterinstall
  41. Source: "..\..\LICENSE"; DestDir: "{app}"
  42. Source: "..\..\CHANGES"; DestDir: "{app}"
  43. Source: "..\..\README.md"; DestDir: "{app}"
  44. Source: "..\..\examples\*"; DestDir: "{app}\examples"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "..\3rdParty\tools\*"; DestDir: "{app}\tools"; Flags: ignoreversion recursesubdirs createallsubdirs
  45. [Icons]
  46. Name: "{group}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"
  47. Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
  48. Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: desktopicon
  49. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: quicklaunchicon
  50. Name: "{group}\{cm:UninstallProgram, {#MyAppName}}"; Filename: "{uninstallexe}"
  51. [Run]
  52. ; Filename: {tmp}\vcredist_x86.exe; \
  53. Parameters: "/q /passive /Q:a /c:""msiexec /q /i vcredist.msi"""; \
  54. StatusMsg: "Installing VC++ 2015 Redistributables..."
  55. Filename: "{app}\bin\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent