NSIS: Actually call the elevation wrapper

This commit is contained in:
Daniel Molkentin 2015-07-31 18:25:17 +02:00
parent b8d21bdd51
commit f66ebb2f1e
2 changed files with 2 additions and 0 deletions

View file

@ -720,6 +720,7 @@ Function .onInit
${MementoSectionRestore} ${MementoSectionRestore}
UAC_TryAgain: UAC_TryAgain:
!insertmacro UAC_RunElevated
${Switch} $0 ${Switch} $0
${Case} 0 ${Case} 0
${IfThen} $1 = 1 ${|} Quit ${|} ;we are the outer process, the inner process has done its work, we are done ${IfThen} $1 = 1 ${|} Quit ${|} ;we are the outer process, the inner process has done its work, we are done

1
cmake/modules/oc.nsi Symbolic link
View file

@ -0,0 +1 @@
NSIS.template.in