Yes, you can put the and sections at the end of your installation script. NET Framework folder as well and if neither are present then install the 2.0. You could modify the script to check for the 3.0. Version 2.0 is a subset of version 3.0 and does not need to be installed. You could display a dialog box to tell them to run Windows Update after the installation of your application.
It can be as easy as keeping a text file on the server that just has the latest version number listed, and your app reading that text file to compare against its own version, and downloading update files if needed. It's best to let the user install the service packs by running Windows Update. Inno Setup Check If Already Installed This is something that would be better for your own app to do. I wouldn't install the service pack in this instance because other service packs may be required. You should be installing the redistributable package: NET Framework 2.0 install' Check: Framework20NotInstalled(ExpandConstant('\Microsoft.NET\Framework\v7'))įunction Framework20NotInstalled(FolderPath: String): Boolean Filename: 'dotnetfx.exe' Description: 'Run.