Advertisement
Lus0rius

Exemple de script Inno Setup

Feb 4th, 2023
2,587
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Script generated by the Inno Setup Script Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3.  
  4. #define MyAppName "Assets Xertigny - Aillevillers"
  5. #define MyAppVersion "1.0"
  6. #define MyAppPublisher "Lus0rius"
  7. #define MyAppURL "https://www.rwcentral.com/"
  8.  
  9. [Setup]
  10. ; NOTE: The value of AppId uniquely identifies this application. 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={{ABA2B760-EF60-458D-91E1-3F41DC524058}
  13. AppName={#MyAppName}
  14. AppVersion={#MyAppVersion}
  15. VersionInfoVersion={#MyAppVersion}
  16. AppVerName={#MyAppName}
  17. AppPublisher={#MyAppPublisher}
  18. AppPublisherURL={#MyAppURL}
  19. AppSupportURL={#MyAppURL}
  20. AppUpdatesURL={#MyAppURL}
  21. DefaultDirName={reg:HKLM\SOFTWARE\RailSimulator.com\RailWorks,install_path|{reg:HKLM\SOFTWARE\WOW6432Node\railsimulator.com\railworks,install_path|{autopf}\Steam\steamapps\common\RailWorks}}
  22. DisableDirPage=no
  23. DirExistsWarning=no
  24. EnableDirDoesntExistWarning=yes
  25. DefaultGroupName={#MyAppName}
  26. AllowNoIcons=yes
  27. DisableWelcomePage=no
  28. ; Uncomment the following line to run in non administrative install mode (install for current user only.)
  29. ;PrivilegesRequired=lowest
  30. OutputDir=D:\Users\Albin\Documents\0-Work\Packs Assets\Assets Xertigny - Aillevillers\Version 1.0
  31. OutputBaseFilename={#MyAppName} v{#MyAppVersion}
  32. Compression=lzma2
  33. SolidCompression=yes
  34. WizardImageFile=D:\Users\Albin\Documents\0-Work\Packs Assets\Assets Xertigny - Aillevillers\Image.bmp
  35. WizardSmallImageFile=D:\Users\Albin\Documents\0-Work\Packs Assets\Assets Xertigny - Aillevillers\SmallImage.bmp
  36. Uninstallable=no
  37.  
  38. [Languages]
  39. Name: "en"; MessagesFile: "compiler:Default.isl"; LicenseFile: "License_en.txt"
  40. Name: "fr"; MessagesFile: "compiler:Languages\French.isl"; LicenseFile: "License_fr.txt"
  41. Name: "de"; MessagesFile: "compiler:Languages\German.isl"; LicenseFile: "License_de.txt"
  42.  
  43. [Files]
  44. Source: "E:\SteamLibrary\steamapps\common\RailWorks\Assets_PackEdgar\*"; Excludes: "*.pak,*.cost,*.tgt,*.bak*"; DestDir: "{app}\Assets"; Flags: ignoreversion recursesubdirs createallsubdirs onlyifdoesntexist uninsneveruninstall
  45. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement