diff --git a/etc/NSIS/setup.nsi b/etc/NSIS/setup.nsi index 95a726d5..9b8b093e 100644 --- a/etc/NSIS/setup.nsi +++ b/etc/NSIS/setup.nsi @@ -639,6 +639,7 @@ Section "-Update Registry" WriteRegStr HKLM "${MyRegPath}" "URLInfoAbout" "${MyWebSite}" WriteRegStr HKLM "${MyRegPath}" "URLUpdateInfo" "${MyWebSite}" + DeleteRegKey HKCU "${AppPaths}\LameXP.exe" WriteRegStr HKLM "${AppPaths}\LameXP.exe" "" "$INSTDIR\$R0" WriteRegStr HKLM "${AppPaths}\LameXP.exe" "Path" "$INSTDIR" SectionEnd