Advertisement
Guest User

Hollow installer

a guest
Dec 19th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. ; Script generated by the Inno Setup Script Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3.  
  4. [Setup]
  5. ; NOTE: The value of AppId uniquely identifies this application.
  6. ; Do not use the same AppId value in installers for other applications.
  7. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
  8. AppId={{BEFA9DB7-29B3-4855-809F-6CA0673B3E49}
  9. AppName=Hollow
  10. AppVersion=2.2
  11. ;AppVerName=Hollow 2.2
  12. AppPublisher=Magpie Games
  13. DefaultDirName={pf}\Hollow
  14. DefaultGroupName=Hollow
  15. AllowNoIcons=yes
  16. OutputDir=D:\Development\Builds\Hollow\Installers
  17. OutputBaseFilename=Hollow_setup_v2_2
  18. SetupIconFile=D:\Development\hollow\Source\Hollow\Resources\Windows\Hollow.ico
  19. Compression=lzma
  20. SolidCompression=yes
  21.  
  22. [Languages]
  23. Name: "english"; MessagesFile: "compiler:Default.isl"
  24.  
  25. [Tasks]
  26. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  27. Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
  28.  
  29. [Files]
  30. Source: "D:\Development\Builds\Hollow\Hollow_v2_2\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
  31. Source: "D:\Development\hollow\Binaries\Win32\Leap.dll"; DestDir: "{sys}"; Flags: ignoreversion
  32. Source: "D:\Development\Builds\Hollow\UE4PrereqSetup_x86.exe"; DestDir: "{app}"; Flags: deleteafterinstall; Check: FrameworkIsNotInstalled
  33. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  34.  
  35. [Icons]
  36. Name: "{group}\Hollow"; Filename: "{app}\Hollow\Binaries\Win32\Hollow-Win32-Shipping.exe"
  37. Name: "{group}\{cm:UninstallProgram,Hollow}"; Filename: "{uninstallexe}"
  38. Name: "{commondesktop}\Hollow"; Filename: "{app}\Hollow\Binaries\Win32\Hollow-Win32-Shipping.exe"; Tasks: desktopicon
  39. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Hollow"; Filename: "{app}\Hollow\Binaries\Win32\Hollow-Win32-Shipping.exe"; Tasks: quicklaunchicon
  40.  
  41. [Run]
  42. Filename: "{app}\Hollow\Binaries\Win32\Hollow-Win32-Shipping.exe"; Description: "{cm:LaunchProgram,Hollow}"; Flags: nowait postinstall skipifsilent
  43. Filename: "{app}\UE4PrereqSetup_x86.exe"; Check: FrameworkIsNotInstalled
  44.  
  45. [code]
  46. function FrameworkIsNotInstalled: Boolean;
  47. begin
  48. Result := not RegKeyExists(HKEY_LOCAL_MACHINE, 'SOFTWARE\Wow6432Node\Microsoft\DevDiv\VC\Servicing\12.0\RuntimeMinimum');
  49. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement