How to install Microsoft VC++ redistributables silently in Inno Setup?

You can add those to the setup script: [Files] Source: “vcredist_x86.exe”; DestDir: {tmp}; Flags: deleteafterinstall [Run] Filename: {tmp}\vcredist_x86.exe; \ Parameters: “/q /passive /Q:a /c:””msiexec /q /i vcredist.msi”””; \ StatusMsg: “Installing VC++ 2008 Redistributables…” Note that the run parameters will change slightly, if you are using a different redistributable version from 2008.

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

Passing conditional parameter in Inno Setup

Since you can’t imperatively modify flags for section entries and directly accessing the RunList would be quite a dirty workaround, I’m using for this two postinstall entries, while one has no unchecked flag specified and the second one has. So, the first entry represents the checked launch check box and the second one unchecked launch … Read more