instead of displaying C:\Program Files\Software, it leaves the ":" and displays C\Program Files\Software instead.
ReadRegStr $3 HKLM \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp3" \
"UninstallString"
StrCmp $3 "" Winamp2Check StripPath3
Winamp2Check:
ReadRegStr $2 HKLM \
"Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" \
"UninstallString"
StrCmp $2 "" End StripPath2
StripPath3:
StrCpy $INSTDIR $3
Call StripPath
Goto End please help.