Archive: how to get administrator privileges


how to get administrator privileges
Hi all.

I wrote an installer that has to set GenericWrite permission to $INSTDIR. Since the user who runs the installer, is a Limited User, the above permission cannot be set.
Is there a way to give to the installer administrator privileges in order to set the permission?
Thanks in advance
szornyu


nope, as this would be a very big security hole.
under winxp you may use the RUNAS function. :)