If you find files with the same name by checking the version and comparing them to the files in the UpdatePacks.
If so, I'd delete the old .cat and replace it with the new file.
and make improvements by getting the registry (checksum)
From HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates
I have to thank ramsey for the tip.
And it has a bug when I try to add WDF WIC and USB 2.0 Update.
When I try to add the services section to the registry from what I did in x86
Unable to start service
I've fixed it.
If you're interested in the script for 5eraph's UpdatePacks, I uploaded it in Github.
https://github.com/XPMilkChan/Dev-for-UpdatesPacks