Framework 1.1 is installed not
Hi everyone,
Before starting my Installer i want to check if frmework 1.1 is installed or not.
Function GetDotNETVersion
Push $0
Push $1
System::Call "mscoree::GetCORVersion(w .r0, i ${NSIS_MAX_STRLEN}, *i) i .r1 ?u"
StrCmp $1 "error" 0 +2
StrCpy $0 "not found"
Pop $1
Exch $0
FunctionEnd
This function gives me maximum version that is installed on m/c ie if both 1.1 & 2.0 are installed it gives 2.0 .
I just want to checkif 1.1 is installed or not if it is not installed then install it. I dont care if 2.0 is already installed.
Any solution