I wrote a program which uses some file reading/writing. Then deployed, and installed on my computer. The problem is that if I don’t run the program as an administrator it doesn’t “get” access to the folder/files. If I set up the program in the manifest file to the “requireAdministrator” setting, UAC always prompts me to give it the rights.
I tried to run the program without the manifest setting (set as asInvoker), and after installation, set the folder/files security settings to grant users the same rights as admins. Result: works perfectly fine.
More solutions “acceptable”:
1: I would like to “save” the admin settings, without constant uac prompt. (It would be more convenient to a user to install the program only, and not to dive into the folder settings and change the security properties.)
2: Run a script after install to set the folder settings for the users, (and manifest set asInvoker).
3: Any other idea? :-D