I have the following problem.
When my application is installed and runs the first time it needs to create a text file in C:\
but when i do my application gets an error that it does not have the appropriate rights. When starting it as admin i do have the rights and do not get the error.
Some applications like dropbox ect do not have this problem. When it is not run as admin it just gives you the popup asking for permission to execute the command. When you give it permission it works fine.
Is there any way i can also bring this windows popup up so that my application does not have this problem?
The application auto-starts on startup so i cannot set it to run as admin because then windows does not allow it to start automatically.