Readregstr
I want that my installer first reads te register and if that key exists then it must display this..(see the code below) and if it doesnt then must my installer proceed... how do I do this
Function .OnInit
ReadRegStr $0 HKLM "SOFTWARE\AnimeSupremeCodecPack\20041104" "Version"
StrCpy $1 $0 4 3
MessageBox MB_YESNO|MB_ICONQUESTION "We see that CodecPack version : $0 allready is installed on your computer. Want to delete those Codecs first?" ;IDYES
; rest of script .......
; blblalblsaf
; blablalbslalblfla
FunctionEnd