Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.
Endpoint Management Community Blog

Using System Search Option in Wise package Studio to Check for .net Framework 2.0

Created: 13 Oct 2009 • Updated: 13 Oct 2009 • 2 comments
WiseUser's picture
+1 1 Vote
Login to vote

How to Check for prerequisite Microsoft .Net framework 2.0 installed on the machine before installation ?

1. Define a Property Name as DOTNET2 in the properties section to Null
2. In System Search Add -> Registry and do the following
   Property - DOTNET2
   Operation - Read raw value from registry
   Root - HKEY_LOCAL_MACHINE
   Key -SOFTWARE\Microsoft\.NETFramework\policy\v2.0
   Value Name - 50727
 
3. Go to Launch Condition - Build the condition

DOTNET2="50727-50727"

For Checking .net version 1.0

Regvalue name is SOFTWARE\Microsoft\.NETFramework\policy\v1.1

Value is "3706-4322"

 

Comments 2 CommentsJump to latest comment

B_Raj's picture

Good tip mate

Your method is easy compared to checking in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft .NET Framework 2.0

0
Login to vote
wancsho's picture

It's always better to assign a junk value or any value, rather leaving the public property with a NULL value.

0
Login to vote