Install Updater as service without UAC password - Advanced Installer Community
codemonk3y
Posts: 62
Joined: Thu Nov 01, 2012 3:51 pm

Install Updater as service without UAC password

We're doing a 2 phase approach to our client app to switch to using advanced installer. In phase 1 we need to get the updater on the clients machine. We build an updaterinstaller.exe which is launched with c# code, inside our application, to install the updater as a service. We want it to run as a service so it has elevated privileges for running future installs. Right now when I launch the exe (which is set to run as administrator) it prompts the user for UAC admin password. This is going to be installed on a lot of standard user machines who do not have access to an admin password. The UAC prompt is fine, but I need to be able to install it as a service without requiring an admin password. Is it something I need to do in c# or can it be done in the installer?

Thanks,
Scott
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install Updater as service without UAC password

Hello Scott,

Please keep in mind that when you configure our Updater to handle updates without elevation only the UAC prompt generated by the updates installation package (hosted on your server) will be supressed. If you are launching the Updater within your application (which requires elevation), then you should build accordingly your application so it can be launched without elevation. This cannot be configured within your installation project.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”