UAC prompt
864700Nov 3 2011 — edited Nov 4 2011Hi,
I have a desktop application and I made an installer for it using NSIS. Everything works fine on Windows XP, but when I'm trying to run it on Windows 7, it crashes. I was able to identify the reason. The pb is that the application is installed on C:\Program Files\MyApp and I'm trying to create a file there. To create files on C:\Program Files I need admin rights, on Win7. Is there a way to prompt the UAC when running my app so that I can confirm the admin rights?
Thanks a lot,
Iulia
P.S.
I did investigate the solutions proposed here http://stackoverflow.com/questions/2087072/java-admin-rights-uac, but didn't work for me.