Hi Omaer,
Hi Wyatt,I've been using WyUpdate and WyBuild to great success, and have posted some doubts on this forum earlier - for which I got more than adequate help. Thank you.
My pleasure.
I was wondering if there's a way to not generate 'Tiny Patches' for certain files but to generate them for the rest. I don't think this is possible in the current version of WyBuild but it would be wonderful if this could be added.
Allow me to explain myself more clearly. I'm creating updates for a product which is really large - multiple GB - but the changes being pushed to the users are not major - so the patches are tiny - which is great. However, there are certain files which will be modified by the program as and when it runs - on the users computer. So, when the user updates the application, instead of downloading the tiny patch from previous version to latest, wyUpdate downloads the All to latest patch, which is massive. I guess it's doing this because it is unable to inject the changes I've made to those files. This is a great fallback - if WyUpdate can't patch a file, it'll download the All to Latest patch and run that to ensure that at the very least the user does get the updates this way. However, if I know which files will cause the problem, I'd like to include complete copies of these files in the update instead of tiny patches- so that instead of patching these particular files, wyUpdate simply replaces them - which is much better than downloading the massive All to latest patch... I hope I've been able to explain the problem clearly.
The workaround I use at the moment is to delete the old versions of these files, include the new versions of these files under different names, and execute a bat file at the end of the update so it renames the new files to the old names.
This seems to be working great - but I was wondering if there's a less hacky way of going about this - to exclude certain files from being patched from within WyBuild itself...
I'll see if we can sneak this feature into wyBuild 2.6. At the very latest it will be part of wyBuild 2.7.
Another doubt I have is what kind of files WyBuild creates patches for by default. Does it do this for all files? Or only Exe files? Or certain kinds of files? Because it doesn't make sense that WyUpdate would download the massive All To Latest update if the user accidentally modified the Readme.txt file for instance...
wyBuild treats all files equally. It tries to create patches for all files, regardless of the filetype.