I was wondering if there was a reason that USEUAC needed to be a conditional define rather than a property of TWebUpdate?
Tony
I was wondering if there was a reason that USEUAC needed to be a conditional define rather than a property of TWebUpdate?
After more digging in the code I found that the UACEnabled property reflects the current state of the USEUAC conditional define so I added an exception on program launch if UACEnabled is true. This isn't ideal because it's not caught during compile, just when the application is run - however it's better than missing it entirely.
The reason is to avoid adding an unnecessary +/- 80Kb resource to the EXE.
If I may piggyback on this discussion: What do I need to do to disable UAC in a C++ Builder app? I've removed the {$DEFINE USEUAC} line, but UACEnabled is still true.
From C++Builder, you might have to recompile the package TMSDxx.DPROJ