Locating the downloaded coredistools.dll fails for users that have
spaces in their names (their home directory has spaces in the path).
This change fixes the problem by adding quotes to the locating command.
REM Get downloaded dll path
echo Locating coredistools.dll
-FOR /F "delims=" %%i IN ('dir %__PkgDir%\coredistools.dll /b/s ^| findstr /R "win-%__Arch%"') DO set __LibPath=%%i
+FOR /F "delims=" %%i IN ('dir "%__PkgDir%\coredistools.dll" /b/s ^| findstr /R "win-%__Arch%"') DO set __LibPath=%%i
echo CoreDisTools library path: %__LibPath%
if not exist "%__LibPath%" (
echo Failed to locate the downloaded library: %__LibPath%