mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-12 08:07:28 +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
|
; Remove the Netgen entry from the SOFTWARE registry
|
||||||
DeleteRegKey HKCU "SOFTWARE\Netgen\${NETGEN_VER}_${NETGEN_ARCH}"
|
DeleteRegKey HKCU "SOFTWARE\Netgen\${NETGEN_VER}_${NETGEN_ARCH}"
|
||||||
DeleteRegKey /ifempty HKCU "SOFTWARE\Netgen"
|
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
|
SectionEnd
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user