ReActif

TacO Installer Script

Aug 14th, 2019 (edited)
603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Example of Inno Setup Script for the English versions of the TacO Setup file.
  2.  
  3. [Setup]
  4. ; The GUID of AppId must be a unique value
  5. ; Inno Setup Studio/Compiler automatically creates a unique GUID
  6. AppId={{########-####-####-####-############}
  7. AppName=GW2 TacO ReActif EN
  8. AppVerName=GW2 TacO ReActif EN
  9. AppVersion=047.2802r
  10. VersionInfoProductName=GW2 TacO ReActif (English)
  11. VersionInfoProductTextVersion=0.47.2802.r
  12. VersionInfoDescription=GW2 TacO ReActif with english markers
  13. VersionInfoCopyright=BoyC (boyc@scene.hu)
  14. VersionInfoOriginalFileName=GW2TacO.exe
  15. VersionInfoCompany=ReActif (https://reactif.games)
  16. VersionInfoVersion=2020.07.09.0
  17. AppContact=ReActif
  18. AppComments=Enjoy a part of TacO
  19. AppCopyright=BoyC (boyc@scene.hu)
  20. AppPublisher=ReActif
  21. AppPublisherURL=https://reactif.games/taco/?lang=en
  22. AppSupportURL=https://reactif.games/taco/?lang=en#faq
  23. AppUpdatesURL=https://reactif.games/taco/?lang=en#download
  24. DefaultDirName={commonpf}\GW2 TacO ReActif EN
  25. DefaultGroupName=GW2 TacO ReActif EN
  26. UsePreviousAppDir=yes
  27. UsePreviousGroup=yes
  28. AllowNoIcons=yes
  29. Uninstallable=yes
  30. UninstallDisplayIcon={app}\GW2TacO.ico
  31. UninstallDisplayName=GW2 TacO ReActif (English)
  32. OutputDir=#:\
  33. OutputBaseFilename=GW2 TacO ReActif EN Setup
  34. SetupIconFile=GW2TacO.ico
  35. SolidCompression=yes
  36. Compression=lzma2/ultra
  37. CloseApplications=force
  38. ; (Optional) Show a text in a window before the install
  39. ;InfoBeforeFile=InformationBeforeInstall.txt
  40.  
  41. [Languages]
  42. ; Language of the text in the Setup
  43. Name: "english"; MessagesFile: "compiler:Default.isl"
  44.  
  45. [Tasks]
  46. ; Indicate if the creation of a Desktop Icon are pre-check or not (here = uncheck by default)
  47. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  48.  
  49. [Icons]
  50. ; Set shortcut (must be configured even if the user does not use them)
  51. Name: "{group}\TacO ReActif EN"; Filename: "{app}\GW2TacO.exe"; IconFilename: "{app}\GW2TacO.ico"
  52. Name: "{commondesktop}\TacO ReActif EN"; Filename: "{app}\GW2TacO.exe"; IconFilename: "{app}\GW2TacO.ico"; Tasks: desktopicon
  53.  
  54. [InstallDelete]
  55. ; Configures the files of the installation folder which, if present, must be deleted before copying the new files
  56. ; This allows to delete a file that is no longer present in the new version or to remove the old log files
  57. ; The configuration or validation files are commented out to keep the parameters chosen by the user
  58. ;Type: files; Name: "{app}\activationdata.xml"
  59. Type: files; Name: "{app}\categorydata.xml"
  60. Type: files; Name: "{app}\crash.log"
  61. Type: files; Name: "{app}\GW2TacO.exe"
  62. Type: files; Name: "{app}\GW2TacO.ico"
  63. Type: files; Name: "{app}\GW2TacO.log"
  64. Type: files; Name: "{app}\hpgrids.xml"
  65. Type: files; Name: "{app}\locationaltimers.xml"
  66. Type: files; Name: "{app}\maptimer.xml"
  67. Type: files; Name: "{app}\TacO_Language_cn.xml"
  68. Type: files; Name: "{app}\TacO_Language_de.xml"
  69. Type: files; Name: "{app}\TacO_Language_en.xml"
  70. Type: files; Name: "{app}\TacO_Language_fr.xml"
  71. Type: files; Name: "{app}\TacO_Language_sp.xml"
  72. ;Type: files; Name: "{app}\TacOConfig.xml"
  73. Type: files; Name: "{app}\UI.wbs"
  74. Type: files; Name: "{app}\UI.xml"
  75. Type: files; Name: "{app}\UI_large.css"
  76. Type: files; Name: "{app}\UI_larger.css"
  77. Type: files; Name: "{app}\UI_normal.css"
  78. Type: files; Name: "{app}\UI_small.css"
  79. Type: filesandordirs; Name: "{app}\Data\*"
  80. Type: filesandordirs; Name: "{app}\Img\*"
  81. ; Only XML files are deleted (not external pack)
  82. Type: filesandordirs; Name: "{app}\POIs\*.xml"
  83.  
  84.  
  85. [UninstallDelete]
  86. ; When uninstalling, remove files, folders of TacO and shortcuts (Start Menu and if exist Desktop)
  87. Type: filesandordirs; Name: "{app}"
  88. Type: files; Name: "{commondesktop}\TacO ReActif EN.lnk"
  89.  
  90. [Files]
  91. ; List of all the files which will be installed
  92. ; Source = The location of the file on the development PC (no relation to the user's PC)
  93. ; DestDir = Destination in the installation folder of TacO {app}.
  94. Source: "#:\TacO\Release\GW2TacO.exe"; DestDir: "{app}"; Flags: ignoreversion
  95. Source: "#:\TacO\Release\GW2TacO.ico"; DestDir: "{app}"; Flags: ignoreversion
  96. Source: "#:\TacO\Release\categorydata.xml"; DestDir: "{app}"; Flags: ignoreversion
  97. Source: "#:\TacO\Release\hpgrids.xml"; DestDir: "{app}"; Flags: ignoreversion
  98. Source: "#:\TacO\Release\locationaltimers.xml"; DestDir: "{app}"; Flags: ignoreversion
  99. Source: "#:\TacO\Release\maptimer.xml"; DestDir: "{app}"; Flags: ignoreversion
  100. Source: "#:\TacO\Release\TacO_Language_cn.xml"; DestDir: "{app}"; Flags: ignoreversion
  101. Source: "#:\TacO\Release\TacO_Language_de.xml"; DestDir: "{app}"; Flags: ignoreversion
  102. Source: "#:\TacO\Release\TacO_Language_en.xml"; DestDir: "{app}"; Flags: ignoreversion
  103. Source: "#:\TacO\Release\TacO_Language_fr.xml"; DestDir: "{app}"; Flags: ignoreversion
  104. Source: "#:\TacO\Release\TacO_Language_sp.xml"; DestDir: "{app}"; Flags: ignoreversion
  105. Source: "#:\TacO\Release\TacOConfig.xml"; DestDir: "{app}"; Flags: onlyifdoesntexist
  106. Source: "#:\TacO\Release\UI.wbs"; DestDir: "{app}"; Flags: ignoreversion
  107. Source: "#:\TacO\Release\UI.xml"; DestDir: "{app}"; Flags: ignoreversion
  108. Source: "#:\TacO\Release\UI_large.css"; DestDir: "{app}"; Flags: ignoreversion
  109. Source: "#:\TacO\Release\UI_larger.css"; DestDir: "{app}"; Flags: ignoreversion
  110. Source: "#:\TacO\Release\UI_normal.css"; DestDir: "{app}"; Flags: ignoreversion
  111. Source: "#:\TacO\Release\UI_small.css"; DestDir: "{app}"; Flags: ignoreversion
  112. Source: "#:\TacO\Release\Data\*"; DestDir: "{app}\Data\"; Flags: ignoreversion recursesubdirs createallsubdirs
  113. Source: "#:\TacO\Release\Img\*"; DestDir: "{app}\Img\"; Flags: ignoreversion recursesubdirs createallsubdirs
  114. Source: "#:\TacO\Release\POIs\*"; DestDir: "{app}\POIs\"; Flags: ignoreversion recursesubdirs createallsubdirs
  115. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Add Comment
Please, Sign In to add comment