I'm writing a program that installs itself in the user's application folder, and adds uninstall information (for Add/Remove Programs) to the correct location under HKEY_CURRENT_USER in the registry.
Even though all registry entries and files/folders for the application are contained in user-specific locations, a user uninstalling the app can still get the following warning when starting the uninstall:
There are other users logged on to this computer.
If you uninstall this program while another user is running it, the program might not uninstall completely.
To properly uninstall or change this program, switch to and log off each user before you continue.
Is there a flag I can set or anything I can do to avoid this warning? The uninstall is completely safe for the user to run while others are logged in, and I'm concerned that this could throw less tech-savvy users.
Thanks!
I don't have too much time right now, but you can investigate a per-user installation: