Inno Setup: Verify that .NET 4.0 is installed
The InitializeSetup function is called when the Inno Setup executable is run. Inserting this code for a custom script should do what you want: function IsDotNetDetected(version: string; service: cardinal): boolean; // Indicates whether the specified version and service pack of the .NET Framework is installed. // // version — Specify one of these strings for … Read more