How to detect the presence of dotnet framework 2.0 using InstallShield Developer 8. is it possible using Dev 8?
if not how to detect it using Installshield premiere 11.5?
Thanx in advance
Please help
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Detection Of DotNet FrameWork
Started by
hiren_5kin
, Aug 02 2006 12:59
4 replies to this topic
Posted 02 August 2006 - 15:57
In almost any InstallShield you can detect the .Net framework, if this is the question you ask.
You need to look into the registry at the key HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\vVersionNumber.BuildNumber. If the .Net has SPs you will find a value with the SP number.
If you are looking to be able to install automatically the .Net there is another discussion. InstallShield 11.5 know how to do it, but with a bit of tinkering and not so elegant it can be done in 8.
You need to look into the registry at the key HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\vVersionNumber.BuildNumber. If the .Net has SPs you will find a value with the SP number.
If you are looking to be able to install automatically the .Net there is another discussion. InstallShield 11.5 know how to do it, but with a bit of tinkering and not so elegant it can be done in 8.
Edited by MrSmersh, 03 August 2006 - 10:30.
Posted 03 August 2006 - 05:29
Can u tell me please how to do it in Developer 8 just some tips?
It would be really helpful.
Also i found out another registry entry
For the .NET Framework 1.0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.0
For the .NET Framework 1.1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.1
For the .NET Framework 2.0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
Thanx for the tip i really apreciate it
It would be really helpful.
Also i found out another registry entry
For the .NET Framework 1.0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.0
For the .NET Framework 1.1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.1
For the .NET Framework 2.0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
Thanx for the tip i really apreciate it
Posted 03 August 2006 - 10:29
The NDP key is the Microsoft recommended way.
The simplest way to install the .Net 2.0 is to distribute with your application the dotnetfx for 2.0. When missing run it silently, has a size penalty, ads a 22 MB to your setup. Alternatively you could ask the user to install it, just give him the link. Also there are other solutions.
The simplest way to install the .Net 2.0 is to distribute with your application the dotnetfx for 2.0. When missing run it silently, has a size penalty, ads a 22 MB to your setup. Alternatively you could ask the user to install it, just give him the link. Also there are other solutions.