anchor.diff:  ) >"%TEMP%\ag_setup.reg"
   %LOG% type "%TEMP%\ag_setup.reg"
   >>"%LOGFILE%" type "%TEMP%\ag_setup.reg"
  -%EXEC% regedit.exe /s "%TEMP%\ag_setup.reg"
  +%EXEC% %REGEDIT% /s "%TEMP%\ag_setup.reg"
   if errorlevel 1 (
     %ERROR% Failed to import the uninstall information into the registry
     %PAUSE%
  
positive.code: 
  :# Write the uninstall information into the registry
  :# This is used by winget.exe to locate previous installations.
  %COMMENT% Writing uninstall information into the registry
  call :SplitVer %NEW_AG_VER% V_MAJOR V_MINOR V_PATCH V_BUILD
  set QUOTED_KEY="!UNINSTALL_KEY!"
  set "UNINSTALL_STRING=%windir%\System32\cmd.exe /c del !INSTALLED_FILES! & reg delete !QUOTED_KEY! /f"
  
negative.code: :#                  Pause before exiting after an error, to give time to      #
  :#                  read the error message from within ag_setup.exe.          #
  :#   2021-11-14 JFL Added option -y.                                          #
  :#                  Fixed the registry update from within ag_setup.exe.       #
  :#                                                                            #
  :##############################################################################
  
  