Checking privillege

Started by Randem, April 02, 2007, 05:17:29 AM

Previous topic - Next topic

Randem

If you need Admin privileges, Your login on your OS needs to have those rights. If not then it won't install.

bigsoldier

I don't quite understand what you mean by check your permissions. Why and how to check it?

Randem

Did you check your permissions? What are your permissions?

bigsoldier

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!

Randem

What OS are you using? On Vista it may act differently. On the other OS's the message should appear.

bigsoldier

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!