diff --git a/browser/installer/windows/nsis/uninstaller.nsi b/browser/installer/windows/nsis/uninstaller.nsi index f91b38a9b970..4171d726348c 100755 --- a/browser/installer/windows/nsis/uninstaller.nsi +++ b/browser/installer/windows/nsis/uninstaller.nsi @@ -559,7 +559,7 @@ Function .onInit FunctionEnd Function un.onInit - GetFullPathName $INSTDIR "$INSTDIR\.." + ${un.GetParent} "$INSTDIR" $INSTDIR ${un.GetLongPath} "$INSTDIR" $INSTDIR ${Unless} ${FileExists} "$INSTDIR\${FileMainEXE}" Abort