I am creating an installer that is designed to run as Per-user only. However, I am also setting the Updater. On the Updater Execution I have set up a schedule task for the silent updater. However, since this is run as per-user only, the installer shows a access denied message. I decided to set the condition to "AdminUser = 1" in the schedule task. This is not being detected by the installer when running without "Right-click > Run As Administrator".
What I want is, if the user who runs the installer has administrator privileges then set the updater schedule task. Otherwise, not. How can do that?
FOLLOW US
Get the latest news in Application Packaging