I found the following thread on this forum discussing Inno scripting to check for .Net Framework 2.0.

Link

The very last post by Skyus denotes how to check. If I have the following Inno 5 script I made just using the basic wizard, where would I put Skyus' script in mine:

Code:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{7BF3220B-BA3B-4D93-97D9-2C1EF1C386C3}
AppName=My Program
AppVerName=My Program 1.5
DefaultDirName=C:\My Program
DefaultGroupName=My Program
AllowNoIcons=yes
LicenseFile=C:\Setup\production\license.txt
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "C:\Setup\production\WindowsApplication1.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\My Program"; Filename: "{app}\WindowsApplication1.exe"
Name: "{commondesktop}\My Program"; Filename: "{app}\WindowsApplication1.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\My Program"; Filename: "{app}\WindowsApplication1.exe"; Tasks: quicklaunchicon

[Run]
Filename: "{app}\WindowsApplication1.exe"; Description: "{cm:LaunchProgram,My Program}"; Flags: nowait postinstall skipifsilent