Archive: check .Net


check .Net
sorry not working


Section "Test" SEC

SetOutPath "$INSTDIR"
SetOverwrite ifnewer

ReadRegDWORD $0 HKLM 'Software\Microsoft\NET Framework Setup\NDP\v2.0.50727' Install
!if !$0
File "vcredist_x86.exe"
;install .NET Framework
ExecWait "vcredist_x86.exe"
;Delete dotnetx.exe
Delete "vcredist_x86.exe"
!EndIf

SectionEnd

!if is a compile time instruction. Use ${If} $0 == `` ... ${EndIf}

Stu


thanks alot Afrow UK