64Bit.iss 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. ; -- 64Bit.iss --
  2. ; Demonstrates installation of a program built for the x64 (a.k.a. AMD64)
  3. ; architecture.
  4. ; To successfully run this installation and the program it installs,
  5. ; you must have a "x64" edition of Windows or Windows 11 on Arm.
  6. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
  7. [Setup]
  8. AppName=My Program
  9. AppVersion=1.5
  10. WizardStyle=modern dynamic
  11. DefaultDirName={autopf}\My Program
  12. DefaultGroupName=My Program
  13. UninstallDisplayIcon={app}\MyProg.exe
  14. Compression=lzma2
  15. SolidCompression=yes
  16. OutputDir=userdocs:Inno Setup Examples Output
  17. ; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
  18. ; on anything but x64 and Windows 11 on Arm.
  19. ArchitecturesAllowed=x64compatible
  20. ; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
  21. ; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
  22. ; meaning it should use the native 64-bit Program Files directory and
  23. ; the 64-bit view of the registry.
  24. ArchitecturesInstallIn64BitMode=x64compatible
  25. [Files]
  26. Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"
  27. Source: "MyProg.chm"; DestDir: "{app}"
  28. Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
  29. [Icons]
  30. Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"