I have Inno Setup 5.1.10. How do I check administrator privilege? I do have PrivilegesRequired=admin in Setup section but I don't get the message that described in help file when I test it in with none admin log on, instead, I only got an Error window with no message!
Thanks!
What OS are you using? On Vista it may act differently. On the other OS's the message should appear.
I'm using XP Professional. I tried to comment out the line PrivilegesRequired=admin, the Error window still pops up (but no message). Only when I set the PrivilegesRequired=none, if I put the code IsAdminLoggedOn, it returns false.
Thanks!
Did you check your permissions? What are your permissions?
I don't quite understand what you mean by check your permissions. Why and how to check it?
If you need Admin privileges, Your login on your OS needs to have those rights. If not then it won't install.