I have an application that is a launcher for another application (my main one). The launcher goes to the FTP server, downloads the updates, and installs them. However, the update executable needs to copy some DLLs and EXEs to the installation directory of the main application, which is located in Program Files. Because of this, I currently need to upgrade update privileges.
This is a problem because my application starts at boot and usually just loads into the system tray (the application is comparable to a messenger / skype). If I start triggering UAC warnings on the screen when I try to silently update the application, it will no longer be quieter.
The only way I see now to avoid the problem is to give all users permissions to the installation directory of program files, but I am reluctant to do this. Any other ideas?
I am using Windows 7 and the applications are in C #.
source share