You can't use "RequestExecutionLevel admin" if you want non-admins to be able to install, use highest or user.
You should not mix HKCU with HKLM & $PROGRAMFILES.
And your version check is strange. Non-admin programs should work on 2000 & XP. And even if not, you forgot about 2003. Your check should be for AtLeastVista if you are thinking about UAC.
IntOp $PostCount $PostCount + 1
|