Advertisement
Guest User

Untitled

a guest
Jan 26th, 2017
230
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 "DARO - Serveur ragnarok francophone"
  5. #define MyAppVersion "1.0"
  6. #define MyAppPublisher "DARO"
  7. #define MyAppURL "http://www.daro.fr/"
  8. #define MyAppExeName "neoncube.exe"
  9.  
  10. [Setup]
  11. ; NOTE: The value of AppId uniquely identifies this application.
  12. ; Do not use the same AppId value in installers for other applications.
  13. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
  14. AppId={{ADC5E3E6-FD95-4FC0-BFA5-15BAC561174D}
  15. AppName={#MyAppName}
  16. AppVersion={#MyAppVersion}
  17. ;AppVerName={#MyAppName} {#MyAppVersion}
  18. AppPublisher={#MyAppPublisher}
  19. AppPublisherURL={#MyAppURL}
  20. AppSupportURL={#MyAppURL}
  21. AppUpdatesURL={#MyAppURL}
  22. DefaultDirName={pf}\{#MyAppName}
  23. DisableProgramGroupPage=yes
  24. OutputBaseFilename=setup
  25. Compression=lzma
  26. SolidCompression=yes
  27. BackColor=$FF0000
  28. BackColor2=$000000
  29.  
  30.  
  31. [Languages]
  32. Name: "french"; MessagesFile: "compiler:Languages\French.isl"
  33.  
  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.  
  38. [Files]
  39. Source: "D:\Jeux\DARO\neoncube.exe"; DestDir: "{app}"; Flags: ignoreversion
  40. Source: "D:\Jeux\DARO\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
  41. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  42.  
  43. [Icons]
  44. Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
  45. Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
  46. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
  47.  
  48. [Registry]
  49. Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\neoncube.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1
  50. Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\daro.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1
  51. Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueType: String; ValueName: "{app}\Setup.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1
  52.  
  53. [Run]
  54. Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement