In the uninstaller portion, I'm not sure exactly how to remove that chunk of text ($INSTDIR\php) since I don't see a find/replace/remove string function. How does one accomplish this?
${registry::Read} "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\" "Path" $R1 $R2
StrCpy $R1 "$R1;$INSTDIR\php"
WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path" "$R1"
Help removing enviro paths
I'm currently using the following to add paths to the system path: