Dec 3, 2014 at 7:01 AM
Edited Dec 4, 2014 at 4:11 PM
First off, I love this library! It's fast, and generally works without a hitch.
I really feel this library would be even better if you could define parameters within the appcast.xml for the installer that is being downloaded. The primary reason being that logic such as "/SILENT
" (E.G. Inno Installers) could be
added to the xml. Causing the program to automatically and silently update, leaving the user to only click "Update" before their newly updated program is ready for use.
I successfully implemented this myself a while ago, by creating a new entry in the appcast parser logic like so.
XmlNode appCastInstallParameters = item.SelectSingleNode("parameters");
InstallParameters = appCastInstallParameters != null ? appCastInstallParameters.InnerText : "";
Please do note, that I believe that this should be implemented separate for both 32 and 64 downloads. I.E.
, in case special or tweaked parameters are needed for the 64bit version of the installer.
Anyways, I hope you like this suggestion and I would really love to see it officially patched in. :)
I went ahead and put this together; outlining all the changes I made for this feature, and updated it to work with the newer url64 settings.