windows.iss 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ; This script need to use a special Inno Setup version located here : http://jrsoftware.org/isdl.php#qsp
  2. [CustomMessages]
  3. QWBFS_NAME=QWBFS Manager
  4. QWBFS_COPYRIGHTS=2010-2014 Filipe Azevedo
  5. QWBFS_URL=https://github.com/pasnox/qwbfsmanager
  6. QWBFS_ISSUES_URL=https://github.com/pasnox/qwbfsmanager/issues
  7. #define QWBFS_VERSION GetEnv("VERSION")
  8. #define QWBFS_VERSION_STR GetEnv("VERSION_STR")
  9. #define QWBFS_SETUP_NAME "qwbfsmanager-" +QWBFS_VERSION_STR +"-win32"
  10. #define QT_PATH "Z:\" +GetEnv("CROSS_WIN32_QT_PATH")
  11. #define DLLS_PATH "Z:\" +GetEnv("DLLS_PATH")
  12. [Setup]
  13. SourceDir=..\bin
  14. OutputDir=..\packages
  15. OutputBaseFilename={#QWBFS_SETUP_NAME}
  16. VersionInfoVersion={#QWBFS_VERSION}
  17. VersionInfoCompany=Filipe Azevedo
  18. VersionInfoDescription=Free, Fast and Powerfull cross platform Wii Backup File System Manager
  19. VersionInfoTextVersion={#QWBFS_VERSION}
  20. VersionInfoCopyright={cm:QWBFS_COPYRIGHTS}
  21. AppCopyright={cm:QWBFS_COPYRIGHTS}
  22. AppName={cm:QWBFS_NAME}
  23. AppVerName={cm:QWBFS_NAME} {#QWBFS_VERSION}
  24. InfoAfterFile=..\GPL-2
  25. InfoBeforeFile=..\GPL-2
  26. LicenseFile=..\GPL-2
  27. ChangesAssociations=true
  28. PrivilegesRequired=none
  29. DefaultDirName={pf}\{cm:QWBFS_NAME}
  30. EnableDirDoesntExistWarning=false
  31. AllowNoIcons=true
  32. DefaultGroupName={cm:QWBFS_NAME}
  33. AlwaysUsePersonalGroup=true
  34. ;SetupIconFile=..\qwbfs\resources\qwbfsmanager.ico
  35. AppPublisher={cm:QWBFS_COPYRIGHTS}
  36. AppPublisherURL={cm:QWBFS_URL}
  37. AppSupportURL={cm:QWBFS_ISSUES_URL}
  38. AppVersion={#QWBFS_VERSION}
  39. AppComments=Thanks using {cm:QWBFS_NAME}
  40. AppContact={cm:QWBFS_ISSUES_URL}
  41. UninstallDisplayName={cm:QWBFS_NAME}
  42. ShowLanguageDialog=yes
  43. UsePreviousLanguage=no
  44. [_ISTool]
  45. UseAbsolutePaths=false
  46. [Files]
  47. ; Fresh framework related
  48. Source: ..\fresh.git\translations\*.qm; DestDir: {app}\translations; Flags: promptifolder
  49. ; QWBFS Manager related files
  50. Source: qwbfsmanager.exe; DestDir: {app}; Flags: promptifolder
  51. Source: ..\packages\qt_windows.conf; DestDir: {app}; DestName: qt.conf; Flags: promptifolder
  52. Source: ..\GPL-2; DestDir: {app}; Flags: promptifolder
  53. Source: ..\translations\*.qm; DestDir: {app}\translations; Flags: promptifolder
  54. ; Qt related files
  55. Source: {#QT_PATH}\bin\QtCore4.dll; DestDir: {app}; Flags: promptifolder
  56. Source: {#QT_PATH}\bin\QtGui4.dll; DestDir: {app}; Flags: promptifolder
  57. Source: {#QT_PATH}\bin\QtXml4.dll; DestDir: {app}; Flags: promptifolder
  58. Source: {#QT_PATH}\bin\QtNetwork4.dll; DestDir: {app}; Flags: promptifolder
  59. Source: {#QT_PATH}\plugins\accessible\*.dll; DestDir: {app}\qt\plugins\accessible; Flags: promptifolder; Excludes: *d4.dll
  60. Source: {#QT_PATH}\plugins\codecs\*.dll; DestDir: {app}\qt\plugins\codecs; Flags: promptifolder; Excludes: *d4.dll
  61. Source: {#QT_PATH}\plugins\graphicssystems\*.dll; DestDir: {app}\qt\plugins\graphicssystems; Flags: promptifolder; Excludes: *d4.dll
  62. Source: {#QT_PATH}\plugins\imageformats\*.dll; DestDir: {app}\qt\plugins\imageformats; Flags: promptifolder; Excludes: *d4.dll
  63. Source: {#QT_PATH}\translations\qt*.qm; DestDir: {app}\qt\translations; Flags: promptifolder recursesubdirs; Excludes: qt_help*.qm,qtconfig*.qm
  64. ; Dependencies related files
  65. Source: {#QT_PATH}\bin\mingwm10.dll; DestDir: {app}; Flags: promptifolder
  66. Source: {#QT_PATH}\bin\libgcc_s_dw2-1.dll; DestDir: {app}; Flags: promptifolder skipifsourcedoesntexist
  67. Source: {#QT_PATH}\bin\libstdc++-6.dll; DestDir: {app}; Flags: promptifolder skipifsourcedoesntexist
  68. Source: {#DLLS_PATH}\libeay32.dll; DestDir: {app}; Flags: promptifolder
  69. Source: {#DLLS_PATH}\libssl32.dll; DestDir: {app}; Flags: promptifolder
  70. Source: {#DLLS_PATH}\ssleay32.dll; DestDir: {app}; Flags: promptifolder
  71. [Icons]
  72. Name: {group}\{cm:QWBFS_NAME}; Filename: {app}\qwbfsmanager.exe; WorkingDir: {app}; IconFilename: {app}\qwbfsmanager.exe; IconIndex: 0
  73. Name: {userdesktop}\{cm:QWBFS_NAME}; Filename: {app}\qwbfsmanager.exe; WorkingDir: {app}; IconFilename: {app}\qwbfsmanager.exe; IconIndex: 0
  74. Name: {group}\Home Page; Filename: {app}\Home Page.url; WorkingDir: {app}
  75. Name: {group}\Tracker; Filename: {app}\Tracker.url; WorkingDir: {app}
  76. [INI]
  77. Filename: {app}\Home Page.url; Section: InternetShortcut; Key: URL; String: {cm:QWBFS_URL}; Flags: createkeyifdoesntexist uninsdeleteentry uninsdeletesectionifempty; Components:
  78. Filename: {app}\Tracker.url; Section: InternetShortcut; Key: URL; String: {cm:QWBFS_ISSUES_URL}; Flags: createkeyifdoesntexist uninsdeleteentry uninsdeletesectionifempty
  79. [UninstallDelete]
  80. Name: {app}\Home Page.url; Type: files
  81. Name: {app}\Tracker.url; Type: files
  82. Name: {app}\*.ini; Type: files
  83. Name: {app}; Type: dirifempty
  84. [Run]
  85. Filename: {app}\qwbfsmanager.exe; WorkingDir: {app}; Flags: postinstall skipifsilent; Description: {cm:QWBFS_NAME}