azvargas
Posts: 5
Joined: Wed May 11, 2022 12:55 am

Protect Advanced Updater

Hello. Is there a way to ask for admin credentials when the Advanced Updater is executed? This is to prevent non-admin users from running Advanced Updater.
Catalin
Posts: 7269
Joined: Wed Jun 13, 2018 7:49 am

Re: Protect Advanced Updater

Hello,

Normally, you would force the EXE to be run as administrator from the application code.

However, Windows offers the possibility to set the "Run as Administrator" for every EXE:
Screenshot_35.png
Screenshot_35.png (57.04 KiB) Viewed 7332 times

In order to do this programatically, please follow this article:

How to Run EXE files as Administrator in Windows Programmatically

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
azvargas
Posts: 5
Joined: Wed May 11, 2022 12:55 am

Re: Protect Advanced Updater

Thank you Catalin!
Liviu
Posts: 1273
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Protect Advanced Updater

You're always welcome!

Let us know if you have any other questions.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”