mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
* Un-register Environment variables in a clean manner when un-installing Netgen
This commit is contained in:
parent
a5ca6c603f
commit
4af6fd91cc
@ -659,6 +659,9 @@ Section Uninstall
|
||||
; Remove the Netgen entry from the SOFTWARE registry
|
||||
DeleteRegKey HKCU "SOFTWARE\Netgen\${NETGEN_VER}_${NETGEN_ARCH}"
|
||||
DeleteRegKey /ifempty HKCU "SOFTWARE\Netgen"
|
||||
|
||||
; Broadcast the changes in the environment variables to the rest of the system
|
||||
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
|
||||
SectionEnd
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user