abbodi1406 / BatUtil

Collection of batch scripts utilities for Windows
993 stars 241 forks source link

UUP->ISO stuck because 7z ask whether to replace the existing file #30

Closed Alex6357 closed 8 months ago

Alex6357 commented 10 months ago
uup-converter-wimlib/convert-UUP.cmd: line 3169:
7z.exe e "%_www%" -o.\bin\temp\pmcppc %1\Windows\servicing\Packages\Microsoft-Windows-Printing-PMCPPC-FoD-Package~%_Pkt%~*~%langid%~*.* %1\Windows\WinSxS\Manifests\*_microsoft-windows-p..oyment-languagepack_*.manifest %1\Windows\WinSxS\Manifests\*_microsoft-windows-p..ui-pmcppc.resources_*.manifest %_Nul3%

When executing to this line, 7z will ask whether to replace the existing files because there are files with the same name. And since output is disabled, it looks like the script was stucked. I checked these files and they seems to be the same. Windows version 22621.2428 from uupdump.net

abbodi1406 commented 10 months ago

The first line of the subroutine is ment so that it's executed once (extracting the files), it wouldn't need to overwrite files if exist "bin\temp\pmcppc\Microsoft-Windows-Printing-PMCPPC-FoD-Package*.mum" goto :eof

however, i agree that i should add -aoa parameter just in case