Inno Setup Get progress from .NET Framework 4.5 (or higher) installer to update progress bar position

The following shows Pascal Script implementation of the code from How to: Get Progress from the .NET Framework 4.5 Installer [Files] Source: “NDP462-KB3151800-x86-x64-AllOS-ENU.exe”; Flags: dontcopy [Code] // Change to unique names const SectionName=”MyProgSetup”; EventName=”MyProgSetupEvent”; const INFINITE = 65535; WAIT_OBJECT_0 = 0; WAIT_TIMEOUT = $00000102; FILE_MAP_WRITE = $0002; E_PENDING = $8000000A; S_OK = 0; MMIO_V45 = … Read more

How big can a memory-mapped file be?

You’re being too conservative: A memory-mapped file can be larger than the address space. The view of the memory-mapped file is limited by OS memory constraints, but that’s only the part of the file you’re looking at at one time. (And I guess technically you could map multiple views of discontinuous parts of the file … Read more