Error while downloading using latest beta

Error while downloading using latest beta

Postby negg » 23.03.2022, 09:52

Hi i get the following small error while downloading, its near the bottom (file not found)

Code: Select all
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
1406d7|OK  |   4.3MiB/s|../client/w100-x64/glb/windows10.0-kb5011495-x64_adec5ac78eb7196130fe41c849a7f425914e6c3f.cab

Status Legend:
(OK):download completed.
Downloading/validating update 12 of 12...

03/23 08:48:17 [NOTICE] Downloading 1 item(s)
[#534372 206MiB/206MiB(99%) CN:2 DL:4.9MiB]
03/23 08:49:17 [NOTICE] Download complete: ../client/w100-x64/glb/windows10.0-kb5011497-x64_dffefb0bb1f3efb759cfa201c7a14ebb181fc724.cab

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
534372|OK  |   5.8MiB/s|../client/w100-x64/glb/windows10.0-kb5011497-x64_dffefb0bb1f3efb759cfa201c7a14ebb181fc724.cab

Status Legend:
(OK):download completed.
Adjusting UpdateInstaller.ini file...
Cleaning up client directory for w100-x64 glb...
The system cannot find the file specified.
Removing NTFS alternate data streams for w100-x64 glb...
Verifying digital file signatures for w100-x64 glb...
negg
 
Posts: 217
Joined: 26.03.2014, 11:46

Re: Error while downloading using latest beta

Postby aker » 24.03.2022, 00:23

Please try this and post the output of the console between
Code: Select all
Cleaning up client directory for w100-x64 glb...

and
Code: Select all
Removing NTFS alternate data streams for w100-x64 glb...


Open .\cmd\DownloadUpdates.cmd in an editor and go to line 2361
Code: Select all
echo Cleaning up client directory for %1 %2...

After it add a line
Code: Select all
@echo on

Then go to line 2417
Code: Select all
call :Log "Info: Cleaned up client directory for %1 %2"

After it add a line
Code: Select all
@echo off


This will produce a lot of output in the console and help to find the root of the issue.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3979
Joined: 02.03.2011, 15:32

Re: Error while downloading using latest beta

Postby negg » 25.03.2022, 14:14

hi it seems to be limited to windows 10/11 downloads and here is the very long out put.

Its in there line 182

Code: Select all
Cleaning up client directory for w100-x64 glb...

H:\Utils\wsusoffline\cmd>if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" del "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"

H:\Utils\wsusoffline\cmd>if exist "C:\Users\negge\AppData\Local\Temp\ValidStaticLinks-w100-x64-glb.txt" type "C:\Users\negge\AppData\Local\Temp\ValidStaticLinks-w100-x64-glb.txt"  1>>"C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"

H:\Utils\wsusoffline\cmd>if exist "C:\Users\negge\AppData\Local\Temp\ValidDynamicLinks-w100-x64-glb.txt" type "C:\Users\negge\AppData\Local\Temp\ValidDynamicLinks-w100-x64-glb.txt"  1>>"C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"

H:\Utils\wsusoffline\cmd>if not exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" echo.  1>>"C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"

H:\Utils\wsusoffline\cmd>for /F "delims=" %i in ('dir ..\client\w100-x64\glb /A:-D /B 2>nul') do (if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "%i" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\%i"
 call :Log "Info: Deleted ..\client\w100-x64\glb\%i"
)
)  else (
del "..\client\w100-x64\glb\%i"
 call :Log "Info: Deleted ..\client\w100-x64\glb\%i"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "ssu-19041.1161-x64_7c0b02b7c1c2419ca955f7a4a4ab3f316dce6e23.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\ssu-19041.1161-x64_7c0b02b7c1c2419ca955f7a4a4ab3f316dce6e23.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\ssu-19041.1161-x64_7c0b02b7c1c2419ca955f7a4a4ab3f316dce6e23.cab"
)
)  else (
del "..\client\w100-x64\glb\ssu-19041.1161-x64_7c0b02b7c1c2419ca955f7a4a4ab3f316dce6e23.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\ssu-19041.1161-x64_7c0b02b7c1c2419ca955f7a4a4ab3f316dce6e23.cab"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb4562830-x64_93a5c65488affb6e73a0a48ad6a58d8bc1713fd7.msu" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb4562830-x64_93a5c65488affb6e73a0a48ad6a58d8bc1713fd7.msu"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4562830-x64_93a5c65488affb6e73a0a48ad6a58d8bc1713fd7.msu"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb4562830-x64_93a5c65488affb6e73a0a48ad6a58d8bc1713fd7.msu"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4562830-x64_93a5c65488affb6e73a0a48ad6a58d8bc1713fd7.msu"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb4589212-x64_9db59d4b6afaee4f4997d59d2787ead2fe5aab46.msu" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb4589212-x64_9db59d4b6afaee4f4997d59d2787ead2fe5aab46.msu"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4589212-x64_9db59d4b6afaee4f4997d59d2787ead2fe5aab46.msu"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb4589212-x64_9db59d4b6afaee4f4997d59d2787ead2fe5aab46.msu"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4589212-x64_9db59d4b6afaee4f4997d59d2787ead2fe5aab46.msu"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5000736-x64_880844224a175033802b3d7a1f40ec304c0548dd.msu" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb5000736-x64_880844224a175033802b3d7a1f40ec304c0548dd.msu"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5000736-x64_880844224a175033802b3d7a1f40ec304c0548dd.msu"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb5000736-x64_880844224a175033802b3d7a1f40ec304c0548dd.msu"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5000736-x64_880844224a175033802b3d7a1f40ec304c0548dd.msu"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5001399-x64_7ad89024a308303d6f6fe889f0185a7280ed45aa.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb5001399-x64_7ad89024a308303d6f6fe889f0185a7280ed45aa.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5001399-x64_7ad89024a308303d6f6fe889f0185a7280ed45aa.cab"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb5001399-x64_7ad89024a308303d6f6fe889f0185a7280ed45aa.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5001399-x64_7ad89024a308303d6f6fe889f0185a7280ed45aa.cab"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5003791-x64_73ea2c9804395921aa91a4ceea212a8282b55a84.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb5003791-x64_73ea2c9804395921aa91a4ceea212a8282b55a84.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5003791-x64_73ea2c9804395921aa91a4ceea212a8282b55a84.cab"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb5003791-x64_73ea2c9804395921aa91a4ceea212a8282b55a84.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5003791-x64_73ea2c9804395921aa91a4ceea212a8282b55a84.cab"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5005698-x64_4f8dabe70d975f89419f805cdbf45c4244eb1cff.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb5005698-x64_4f8dabe70d975f89419f805cdbf45c4244eb1cff.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5005698-x64_4f8dabe70d975f89419f805cdbf45c4244eb1cff.cab"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb5005698-x64_4f8dabe70d975f89419f805cdbf45c4244eb1cff.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5005698-x64_4f8dabe70d975f89419f805cdbf45c4244eb1cff.cab"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5008212-x64_77977a3d502169fc014fdc2052691ded44760ec9.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb5008212-x64_77977a3d502169fc014fdc2052691ded44760ec9.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5008212-x64_77977a3d502169fc014fdc2052691ded44760ec9.cab"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb5008212-x64_77977a3d502169fc014fdc2052691ded44760ec9.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5008212-x64_77977a3d502169fc014fdc2052691ded44760ec9.cab"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5008876-x64-ndp48_9b34f8d0e6a5586806ee62c89775d758621e9b46.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb5008876-x64-ndp48_9b34f8d0e6a5586806ee62c89775d758621e9b46.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5008876-x64-ndp48_9b34f8d0e6a5586806ee62c89775d758621e9b46.cab"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb5008876-x64-ndp48_9b34f8d0e6a5586806ee62c89775d758621e9b46.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5008876-x64-ndp48_9b34f8d0e6a5586806ee62c89775d758621e9b46.cab"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5011487-x64_69d93efb37d6fb59e3daec3d15a04f7a6fe89005.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\windows10.0-kb5011487-x64_69d93efb37d6fb59e3daec3d15a04f7a6fe89005.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5011487-x64_69d93efb37d6fb59e3daec3d15a04f7a6fe89005.cab"
)
)  else (
del "..\client\w100-x64\glb\windows10.0-kb5011487-x64_69d93efb37d6fb59e3daec3d15a04f7a6fe89005.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\windows10.0-kb5011487-x64_69d93efb37d6fb59e3daec3d15a04f7a6fe89005.cab"
) )

H:\Utils\wsusoffline\cmd>if "w100" == "w100" (
if not "19041 19041 22000" == "" (for %b in (19041 19041 22000) do (
for /F "delims=" %i in ('dir ..\client\w100-x64\glb\%b /A:-D /B 2>nul') do (if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "%i" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\%b\%i"
 call :Log "Info: Deleted ..\client\w100-x64\glb\%b\%i"
)
)  else (
del "..\client\w100-x64\glb\%b\%i"
 call :Log "Info: Deleted ..\client\w100-x64\glb\%b\%i"
) )
 dir ..\client\w100-x64\glb\%b /A:-D  1>nul 2>&1
 if errorlevel 1 rd "..\client\w100-x64\glb\%b"
) )
 if not "10240 14393 17763 18362 20348" == "" (for %b in (10240 14393 17763 18362 20348) do (if exist "..\client\w100-x64\glb\%b" (
rd /s /q "..\client\w100-x64\glb\%b"
 call :Log "Info: Deleted updates for deselected build %b"
) ) )
)

H:\Utils\wsusoffline\cmd>(
for /F "delims=" %i in ('dir ..\client\w100-x64\glb\19041 /A:-D /B 2>nul') do (if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "w100-x64" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\19041\w100-x64"
 call :Log "Info: Deleted ..\client\w100-x64\glb\19041\w100-x64"
)
)  else (
del "..\client\w100-x64\glb\19041\w100-x64"
 call :Log "Info: Deleted ..\client\w100-x64\glb\19041\w100-x64"
) )
 dir ..\client\w100-x64\glb\19041 /A:-D  1>nul 2>&1
 if errorlevel 1 rd "..\client\w100-x64\glb\19041"
)

H:\Utils\wsusoffline\cmd>(
for /F "delims=" %i in ('dir ..\client\w100-x64\glb\19041 /A:-D /B 2>nul') do (if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "w100-x64" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\19041\w100-x64"
 call :Log "Info: Deleted ..\client\w100-x64\glb\19041\w100-x64"
)
)  else (
del "..\client\w100-x64\glb\19041\w100-x64"
 call :Log "Info: Deleted ..\client\w100-x64\glb\19041\w100-x64"
) )
 dir ..\client\w100-x64\glb\19041 /A:-D  1>nul 2>&1
 if errorlevel 1 rd "..\client\w100-x64\glb\19041"
)
The system cannot find the file specified.

H:\Utils\wsusoffline\cmd>(
for /F "delims=" %i in ('dir ..\client\w100-x64\glb\22000 /A:-D /B 2>nul') do (if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "w100-x64" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\22000\w100-x64"
 call :Log "Info: Deleted ..\client\w100-x64\glb\22000\w100-x64"
)
)  else (
del "..\client\w100-x64\glb\22000\w100-x64"
 call :Log "Info: Deleted ..\client\w100-x64\glb\22000\w100-x64"
) )
 dir ..\client\w100-x64\glb\22000 /A:-D  1>nul 2>&1
 if errorlevel 1 rd "..\client\w100-x64\glb\22000"
)

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5008880-x64-ndp48_689648a71b3f4da54ef4e11b0f91bc581cf4ca02.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\22000\windows10.0-kb5008880-x64-ndp48_689648a71b3f4da54ef4e11b0f91bc581cf4ca02.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\22000\windows10.0-kb5008880-x64-ndp48_689648a71b3f4da54ef4e11b0f91bc581cf4ca02.cab"
)
)  else (
del "..\client\w100-x64\glb\22000\windows10.0-kb5008880-x64-ndp48_689648a71b3f4da54ef4e11b0f91bc581cf4ca02.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\22000\windows10.0-kb5008880-x64-ndp48_689648a71b3f4da54ef4e11b0f91bc581cf4ca02.cab"
) )

H:\Utils\wsusoffline\cmd>(if exist "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt" (
C:\Windows\System32\find.exe /I "windows10.0-kb5011493-x64_578b6e643d11af8b49fbc637da208d1c353580cc.cab" "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"  1>nul 2>&1
 if errorlevel 1 (
del "..\client\w100-x64\glb\22000\windows10.0-kb5011493-x64_578b6e643d11af8b49fbc637da208d1c353580cc.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\22000\windows10.0-kb5011493-x64_578b6e643d11af8b49fbc637da208d1c353580cc.cab"
)
)  else (
del "..\client\w100-x64\glb\22000\windows10.0-kb5011493-x64_578b6e643d11af8b49fbc637da208d1c353580cc.cab"
 call :Log "Info: Deleted ..\client\w100-x64\glb\22000\windows10.0-kb5011493-x64_578b6e643d11af8b49fbc637da208d1c353580cc.cab"
) )

H:\Utils\wsusoffline\cmd>(if exist "..\client\w100-x64\glb\10240" (
rd /s /q "..\client\w100-x64\glb\10240"
 call :Log "Info: Deleted updates for deselected build 10240"
) )

H:\Utils\wsusoffline\cmd>(if exist "..\client\w100-x64\glb\14393" (
rd /s /q "..\client\w100-x64\glb\14393"
 call :Log "Info: Deleted updates for deselected build 14393"
) )

H:\Utils\wsusoffline\cmd>(if exist "..\client\w100-x64\glb\17763" (
rd /s /q "..\client\w100-x64\glb\17763"
 call :Log "Info: Deleted updates for deselected build 17763"
) )

H:\Utils\wsusoffline\cmd>(if exist "..\client\w100-x64\glb\18362" (
rd /s /q "..\client\w100-x64\glb\18362"
 call :Log "Info: Deleted updates for deselected build 18362"
) )

H:\Utils\wsusoffline\cmd>(if exist "..\client\w100-x64\glb\20348" (
rd /s /q "..\client\w100-x64\glb\20348"
 call :Log "Info: Deleted updates for deselected build 20348"
) )

H:\Utils\wsusoffline\cmd>del "C:\Users\negge\AppData\Local\Temp\ValidLinks-w100-x64-glb.txt"

H:\Utils\wsusoffline\cmd>dir ..\client\w100-x64\glb  1>nul 2>&1

H:\Utils\wsusoffline\cmd>if errorlevel 1 rd ..\client\w100-x64\glb

H:\Utils\wsusoffline\cmd>dir ..\client\w100-x64  1>nul 2>&1

H:\Utils\wsusoffline\cmd>if errorlevel 1 rd ..\client\w100-x64

H:\Utils\wsusoffline\cmd>call :Log "Info: Cleaned up client directory for w100-x64 glb"

H:\Utils\wsusoffline\cmd>echo 25/03/2022 13:04:24.17 - Info: Cleaned up client directory for w100-x64 glb 1>>..\log\download.log

H:\Utils\wsusoffline\cmd>goto :eof
Press any key to continue . . .





















negg
 
Posts: 217
Joined: 26.03.2014, 11:46

Re: Error while downloading using latest beta

Postby Dalai » 25.03.2022, 14:59

The build 19041 is iterated twice in the for loop around line 133:
Code: Select all
for %b in (19041 19041 22000) do (
. The first time it runs without error, but deleting something makes the second run throw an error.

Regards
Dalai
Dalai
 
Posts: 1040
Joined: 12.07.2016, 21:00

Re: Error while downloading using latest beta

Postby aker » 26.03.2022, 00:31

The root cause might be a broken Windows10Versions.ini...
Could you post its content here?

I'll try to create a kind of workaround for it, but for testing I'll need your Windows10Versions.ini.
1) Improve the parser and check for invalid values for TMP_BUILDS_ENABLED and TMP_BUILDS_DISABLED
2) add an "if exist" to the cleanup code

I still don't see any reason for a line like this:
Code: Select all
"..\client\w100-x64\glb\19041\w100-x64"

This would mean that the dir command
Code: Select all
dir ..\client\w100-x64\glb\19041 /A:-D /B 2>nul

somehow outputs "w100-x64", which it shouldn't do in any case.
The source of the dir command is this line:
Code: Select all
for /F "delims=" %%i in ('dir ..\client\%1\%2\%%b /A:-D /B 2^>nul') do (

where "%1" is expected to be "w100-x64", "%2" should be "glb" and "%%b" one element of "%TMP_BUILDS_ENABLED%" (in this case 19041, 19041 and 22000).
The "dir"-command should not return anything to the for-loop, if the folder "..\client\%1\%2\%%b" is empty.

EDIT:
I just played around with the "dir"-command a little bit, but wasn't able to reproduce this behaviour in any way. I'm exited to see the ini-file.
An extremely simplified example output looks like this:
Code: Select all
D:\wsusoffline\tmp>setlocal enableextensions enabledelayedexpansion
D:\wsusoffline\tmp>cd /d "D:\wsusoffline\tmp\"
D:\wsusoffline\tmp>for /F "delims=" %i in ('dir ..\work_folder /A:-D /B 2>nul') do (echo %i )
D:\wsusoffline\tmp>endlocal
D:\wsusoffline\tmp>pause
Drücken Sie eine beliebige Taste . . .
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3979
Joined: 02.03.2011, 15:32

Re: Error while downloading using latest beta

Postby negg » 29.03.2022, 12:50

hi here is my windows ini file

Code: Select all
[Platforms]
10240_x86=Disabled
10240_x64=Disabled
14393_x86=Disabled
14393_x64=Disabled
17763_x86=Disabled
17763_x64=Disabled
18362_x86=Disabled
18362_x64=Disabled
19041_x86=Disabled
19041_x64=Enabled
20348_x64=Disabled
[Windows 10]
10240_x86=Disabled
10240_x64=Disabled
14393_x86=Disabled
14393_x64=Disabled
17763_x86=Disabled
17763_x64=Disabled
18362_x86=Disabled
18362_x64=Disabled
19041_x86=Disabled
19041_x64=Enabled
20348_x64=Disabled
[Windows 11]
22000_x64=Enabled
negg
 
Posts: 217
Joined: 26.03.2014, 11:46

Re: Error while downloading using latest beta

Postby aker » 29.03.2022, 22:27

b28 should work around the problem. An actual fix will follow.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3979
Joined: 02.03.2011, 15:32

Re: Error while downloading using latest beta

Postby negg » 29.03.2022, 22:46

ok will keep an eye out for it
negg
 
Posts: 217
Joined: 26.03.2014, 11:46

Re: Error while downloading using latest beta

Postby aker » 30.03.2022, 00:30

b31 now properly fixes the parser issue.
This should prevent the problem in the cleanup section.

I'll try to reproduce the issue you reported and improve the code in the cleanup section, too.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3979
Joined: 02.03.2011, 15:32

Re: Error while downloading using latest beta

Postby boco » 30.03.2022, 00:48

A big Thank you for your continued development and dedication!

I think you became the new head honcho. ;)
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2376
Joined: 24.11.2009, 17:00
Location: Germany

Next

Return to Download

Who is online

Users browsing this forum: No registered users and 9 guests