![]() |
system Environment Variable delete when uninstall
in the script i use this:
ReadRegStr $0 HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path" WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path" "$0;$INSTDIR\bin" to registry the system Environment Variable.So i also want to delete it when uninstaller is running. but use the "DeleteRegValue " will delete all the system Environment Variables, what i want is only to delete the value "$INSTDIR\bin". how to do it? |
|
Thank U first!
|
I'm using a much simpler method to add/remove path stuff. Here I'm adding (then removing in the uninstaller portion) PHP from the system path:
code: |
| All times are GMT. The time now is 04:08. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.