I don't have to add an Application.Exit() or anything like that after i called for InstallNow() right?
That's correct, the AutomaticUpdater already handles exiting for you.
Anyway, it's not something grave, just avoiding that Processes Window would be less "Intrusive" to my Users.
We'll look for ways to make this smoother for the end-user.
Unclear about the Inclusion of wyUpdate.exe/client.wyc
[...]
- Always include them into my own Setup.exe to distribute if necessairy.
Correct.
- Never include them in the File List that is inside wyBuild ,even not in the first Version, nor in any Updates.
Well, you should never include wyUpdate.exe in your updates because wyUpdate updates itself in a completely different way (as described in the "How to make a custom version of wyUpdate" article.)
The client.wyc file is a different case. You can include this file in your updates.
- If i delete Versions in wyBuild ,that are older, the wyu files of corse can't be rebuild, but they still exist on my server, so would the Update still work
You shouldn't delete your old versions from your computer. wyBuild always reads these files from disk when it creates patches.
That being said, after you've uploaded your updates to your server you can delete the *.wyu and *.wys files from your computer. Even if the updates get corrupted or accidentally deleted on your server you can always rebuild and reupload the updates in wyBuild.
Also you can delete old updates from your server. For instance let's say you release updates to version "1.2" and you had previously released updates to version "1.1" you'll now have 2 sets of files on your server:
- "*.to.1.1.wyu" files
- "*.to.1.2.wyu" files
You can delete all the "*.to.1.1.wyu" files because they'll no longer be referenced from the *.wys file.
So, the short answer is never delete your original source binary files but you can sometimes delete the *.wyu files from your server depending on the case.
The files with all.to.version.1.x files are big ,of course because they need to include all files. If i delete such an all.to.version , does the Updater still do the incremental Updates.
You can opt out of the catch-all update altogether. In wyBuild, click File -> Properties -> Update & server files:
[attachment=0]no-catch-all.png[/attachment]
Uncheck "Create a catch-all update for corrupt installations". Now wyBuild will only create the patch files.