Thanks. But when was it changed?I had been using 6.2.0 and I assumed the source code I downloaded would have been the latest.I have now just downloaded 6.2.1 but I am still using my code. The reason I say this is because this user was getting that Internal Error and it specifically showed up in the obsolete way of doing things. And in his case teh InstallRoot was missing which also threw the wobbly. Your code does not show that error. So when was it introduced? Pre 6.2.1? If yes, then why did my user get that older error message?
Atleast for official inno to die more gracefully because the app path reg key is missing?
function IsDotNetInstalled(const MinVersion: TDotNetVersion; const MinServicePack: Cardinal): Boolean;
Returns True if the .NET Framework with the specified MinVersion and MinServicePack parameters is installed.
TDotNetVersion is defined as:
TDotNetVersion = (net11, net20, net30, net35, net4Client, net4Full, net45, net451, net452, net46, net461, net462, net47, net471, net472, net48);
For example, this documentation plus example does not use a try / catch block nor tell us to use it:
Pascal Scripting: IsDotNetInstalled
Martijn, can I ask you to add the description to use "Pascal Scripting: IsDotNetInstalled" in the try...except block in the [code] and in the example there?


--
You received this message because you are subscribed to a topic in the Google Groups "innosetup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/innosetup/u3ty6tfi4Ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/c6db38dc-798f-4e3b-8547-16eae52a423fn%40googlegroups.com.