Archive: Admin Rights?


Admin Rights?
Is there a way to make the install exe run ONLY under administrator and not under a user?

Any help would be appreciated. Thanks in advance.


This wouldn't be a proper way to do it but only thing that i can remotely think of.. If the normal users arn't suppose to be able to write to HKLM on your .onInit function you could attemp to write somewhere in the HKLM registry and if it returns and error Abort the installer. but if the user can write to that part of the registry then this method is no good.


Well, if the user can write to HKLM, it probably has enough rights granted by the admin to install applications :)