View Single Post
Old 24th November 2015, 09:08   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
The UAC plug-in is difficult to use correctly so please consider a different approach.

Your code is fundamentally broken, you cannot combine RequestExecutionLevel admin and the UAC plug-in!

You are not quoting the path in ExecWait and it probably should be silent.

Normally I'd ask you to report your Windows, NSIS and UAC plug-in versions but your insufficient and broken example code is not worth my time trying to reproduce your problem...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote