I'm running AutoIT version 3.3.12
When I compile the below scripts and run them on a Windows 2012R2 server I get differing results depending on if it's compiled using "Default" executionlevel or "asInvoker"
The below compiled script correctly outputs "WIN_2012R2" (using "Default" executionlevel)...
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_Fileversion=4.3.2.1
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
MsgBox(48,"",@osversion)
Exit
The below compiled script incorrectly outputs "WIN_2012" (using "asInvoker" executionlevel)...
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_Fileversion=4.3.2.1
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
MsgBox(48,"",@osversion)
Exit
Is this expected behavior or is this a bug?
Thanks