RequestExecutionLevel user /* RequestExecutionLevel REQUIRED! */ !define APPNAME "UACtest" Name "${APPNAME}" OutFile "${APPNAME}.exe" ShowInstDetails show Function .OnInit UAC::RunElevated MessageBox mb_ok "ec=$0 uacstate=$1 fork=$2 admin=$3" FunctionEnd Function .OnInstFailed UAC::Unload FunctionEnd Function .OnInstSuccess UAC::Unload FunctionEnd Section SectionEnd page InstFiles