Skip to content
⌘ NSIS Forum Archive

installdirregkey does not work in my uninstaller

4 posts

superwan#

installdirregkey does not work in my uninstaller

hello everybody

this is my code :


!define REP_DEFAULT "$PROGRAMFILES\K!TV"

InstallDir "${REP_DEFAULT}"


InstallDirRegKey HKLM "Software\K!TV" "Path"
in my uninstaller (which can install...) :


WriteRegStr HKLM "Software\K!TV" "Path" $INSTDIR

the value path is well written in my registry...

BUT when I enter another instdir, restarting the installation doesn't change the directory in the page MUI_INSTDIR... why ?