Hello
You could add the define USEUAC at project level
Bruno
Remove the line
Bruno
That is the solution for the situation how it is NOW.
Maybe invert the default?
It is clear that any chance we consider needs to preserve backwards compatibility. We cannot afford to cause problems / unexpected behavior changes for the many other users who have come to expect the current behavior as default.
Filename has changed to Wupdate.pas
Not sure where you get this info from, but I cannot find any evidence that in more than a decade this component exists, that the unit was ever named anything else than wupdate.pas
Just took filename from your post on the 20th. When I couldn't find WebUpdate.pas figured the unit name had been changed
Was a typo indeed in post of 20 Feb, sorry for the confusion.
Backwards compatible way to allow to disable UAC:
or - where you define USEUAC
this will retain the USEUAC as default, but allow you to disable it by a project define (assuming you compile the .PAS file to .DCU in all projects).
I do not understand why something more is needed beyond what is already standard available with the existing USEUAC define.
Hi Bruno.
I've posted a bit of explanation about why it can be useful here:
What we have now works fine, the suggestion by Keld just simplifies things for users a bit, to be able to disable this conditional (e.g. with a project level define) without having copy/edit the entire WUpdate.pas source code.
Understood.
It is even somewhat more complex as $UNDEF isn't supported in old Delphi versions.
But it makes sense to control this at project level and leave the TMS VCL UI Pack source code untouched.
We will apply this improvement.