Changed APPDIR, makes it always prompt UAC when starting app - Advanced Installer Community
abh3
Posts: 4
Joined: Tue Jun 11, 2013 4:19 am

Changed APPDIR, makes it always prompt UAC when starting app

Hello Support team,

My first attempt was placing the App on [AI_UserProgramFiles][Manufacturer]\[ProductName]. It's working fine.
But because the value of [Manufacturer] and [Product Name] is the same and it looks bad, I changed it to [AI_UserProgramFiles][ProductName].
The problem is after changing that APPDIR, when the app is already installed, the app always prompts UAC to ask for permission. This is BAD.

Assume my app name is "Starter", the APPDIR was C:\Program Files(x86)\Starter\Starter\
After I changed it, it becomes C:\Program Files(x86)\Starter\ but resulting Starter.exe always prompt for UAC every time I want to start it.

What should I change so it doesn't prompt UAC every time user starts my app?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Changed APPDIR, makes it always prompt UAC when starting

Hi Abraham,

Thank you for your interest in Advanced Installer.

This change should not affect the execution level of your application. Maybe the application needs to write something in this folder and it does not have the required permissions?

Usually the application prompts the UAC dialog only if it is internal manifest file has the execution level set to "Require administrator" or if the shortcut pointing to the EXE file is set to launch the EXE as administrator.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”