Inno Setup: How to watch variables values or write to debug output?

There’s currently no debug watch window, but you can simply hover the variable you want to inspect, when the debugger is stopped on a breakpoint. To print something to a debug output, use the Log procedure: procedure InitializeWizard; var Value: Integer; begin Value := 123; Log(‘The Value is: ‘ + IntToStr(Value)); end; Here is the … Read more

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

Inno-setup 32bit and 64bit in one

It is possible. Take a look at the 64BitTwoArch.iss sample (especially the Is64BitInstallMode boolean): ; — 64BitTwoArch.iss — ; Demonstrates how to install a program built for two different ; architectures (x86 and x64) using a single installer. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES! [Setup] AppName=My Program AppVersion=1.5 DefaultDirName={pf}\My Program … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)