Tyrrrz/Onova

Onova.Updater doesn't run on fresh installation of Windows 7

Tyrrrz opened this issue · 1 comments

Version

v2.6.2

Details

Because Onova.Updater targets net46 instead of net35, it will not run on clean installation of Windows 7. We can do the same thing as with DotnetRuntimeBootstrapper which allows the executable to run on net35 or roll forward to net4x on newer operating systems (where net35 is not installed by default anymore):

https://github.com/Tyrrrz/DotnetRuntimeBootstrapper/blob/841ca5df0a31ee50725a7ffcfe3d09bfaf16a1d9/DotnetRuntimeBootstrapper.Executable/App.config#L1-L11

Steps to reproduce

  • Install Windows 7 SP1 (without any updates)
  • Run an application that uses Onova
  • Find an update to install, get it to run Onova.Updater
  • Observe that the update wasn't installed because Onova.Updater failed to run

This has been fixed in 3e64050