WebUpdate UAC

Hi, some of my users are unable to complete the update of my application due to this:

In WUpdate.pas I have tried to use both options of USEUAC, but I see no difference for my users.

May I ask if you see anything I can change in my use of WebUpdate, or do you think this could be my company's IT/security causing this?

Is your software installed in a folder with limited user rights, such as the Program Files or Users folder of a user that requires permission?
If this is the case, UAC cannot be avoided, it is Windows security measure.
If you install in a folder without any Windows permission control, removing the define USEUAC should avoid this dialog.

Thanks Bruno,

I tried the process all over again, and had just now 2 users retry the update, but they both still got the UAC Windows dialog.

My software installs to C:\TDWOS Software and that folder should not have limited user rights as far as I'm aware of.

When I now retried I did this:

  1. Open my Delphi project and opened WUpdate.pas.

(Delphi is version 12.1 Patch 1, and TMS WebUpdate is version 2.6.5.1)

  1. Removed the define USEUAC like this:
    Capture

  2. Did a "Clean" and them "Build" of my project in Release mode.

  3. Digitally Signed the executable with my Sectigo cert successfully

  4. Copied the EXE to my webserver and renamed it to ".....exe_NEW"

  5. Restarted the WebServer/site where the files are located.

  6. Asked 2 users to try to upgrade, and both got the same UAC Windows dialog. Thus not able to upgrade.

So I'm not sure if I'm doing anything wrong here, but happy if you have a suggestion for me.

Thank you

If your users have already an EXE that was compiled with the USEUAC define, updating this for the new version will have no effect for software that is already on the end user machine.

1 Like

Aha, that solved it right away!
Thank you for your swift reply and help.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.