Thanx in advance
Regards,

Posted 02 January 2006 - 14:27
Posted 02 January 2006 - 18:30
Stefan Krüger
InstallSite.org twitter facebook
Posted 02 January 2006 - 18:38
CODE |
NUMBER nResult; // Require that the user has Administrative privileges nResult = Is(USER_ADMINISTRATOR, ""); if (nResult = FALSE) then MessageBox("The uninstall requires an account with Administrative privileges and cannot continue.", INFORMATION); abort(); endif; |
Posted 03 January 2006 - 06:01
CODE |
function OnMaintUIAfter() STRING szTitle, szMsg1, szMsg2, szOption1, szOption2; NUMBER bOpt1, bOpt2; NUMBER nResult; begin // Require that the user has Administrative privileges nResult = Is(USER_ADMINISTRATOR, ""); if (nResult = FALSE) then MessageBox("The uninstall requires an account with Administrative privileges and cannot continue.", INFORMATION); abort; endif; |
Edited by installme, 03 January 2006 - 06:01.
Posted 03 January 2006 - 14:46