123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- [Setup]
- AppName=My Program
- AppVersion=1.5
- WizardStyle=modern
- DefaultDirName={autopf}\My Program
- DefaultGroupName=My Program
- UninstallDisplayIcon={app}\MyProg.exe
- Compression=lzma2
- SolidCompression=yes
- OutputDir=userdocs:Inno Setup Examples Output
- ArchitecturesInstallIn64BitMode=x64 arm64
- [Files]
- Source: "MyProg-x64.exe"
- Source: "MyProg-ARM64.exe"
- Source: "MyProg.exe"
- Source: "MyProg.chm"
- Source: "Readme.txt"
- [Icons]
- Name: "{group}\My Program"
- [Code]
- function InstallX64: Boolean;
- begin
- Result := Is64BitInstallMode and (ProcessorArchitecture = paX64)
- end
- function InstallARM64: Boolean;
- begin
- Result := Is64BitInstallMode and (ProcessorArchitecture = paARM64)
- end
- function InstallOtherArch: Boolean;
- begin
- Result := not InstallX64 and not InstallARM64;
- end
|