Digital-Sapphire/PyUpdater

(Feature Request) Ignore errors on/do not copy spesific files when updating

chucklay opened this issue · 0 comments

Hey there, this is admittedly a niche situation, but it would be very nice to have:

So, I have a package that is installed as a windows service using pywin32. This has worked out so far, but as part of pywin32, I have a .pyd file (servicemanager.pyd) that is included as part of my package. The problem is that windows (especially windows server) tends to lock this file and consider it in-use, even if my service isn't running. However, this file essentially never changes, so if it isn't copied over as part of an update, it's not a problem. However, I still want to keep this file in the generated packages for first installs.

It seems like having an option to ignore errors when copying over specific files would be the easiest "fix," but if there's already a way to accomplish this, I'd love to know!

Thanks!