View forum topicList of forum topics
Subject: Why would update.exe trigger UAC prompt?
I've been developing the installer for my application for the last several days, which includes using the updater to check for and install updates to my application. Up until recently, update.exe would not trigger the UAC prompt. Now all of a sudden it does, but I haven't changed anything in my Update Script, so it's a bit puzzling why it's appearing all of a sudden.
The only thing about my installer itself that I suspect may have led to a higher level of scrutiny by UAC is that I had it delete a couple of shortcuts from the desktop and the Start Programs menu that were left over from an older version of my application but are now obsolete. But I don't know why this would cause update.exe to trigger a UAC prompt, rather than just my Setup.exe. I rebuilt my installer without having it delete those shortcuts, but update.exe still triggers the UAC prompt.
I can handle requiring my users to answer a UAC prompt when they install updates, but not every time they run update.exe. Any insight would be much appreciated.
I got past the problem by selecting "Administrator rights are not required" for the Update Script. I never had that option selected before, though, so I'm not sure why the UAC prompt didn't appear earlier when I tried to run setup.exe.
Oops, I mean, I'm not sure why the UAC prompt didn't appear earlier when I tried to run UPDATE.EXE.
By default, Update Script - Update root has the checked 'Adminstrative rights are not required'.
The previous versions of CreateInstall created update.exe without UAC, by default too.
I see that when I create a new installer project, which is how I created the one I've been using (rather than converting one from an older version). Odd. I don't know how it got turned off, since I don't remember touching it.
February 05, 2021 Installer CreateInstall 8.8.0 was released. read more
April 11, 2020 Installer CreateInstall 8.7.0 was released.
March 07, 2020 Installer CreateInstall 8.6.2 was released.
November 09, 2019 Installer CreateInstall 8.5.5 was released.
August 08, 2019 Installer CreateInstall 8.5.1 was released.
June 19, 2019 Installer CreateInstall 8.4.11 was released.