I want to enable .net3.5 in nsis installer in windows 2012. I used next code:
nsExec::ExecToStack 'cmd /c %windir%\system32\dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /All'
But it return error 11.enter image description here
my dism log file: enter image description here
I run it on virtual machine, where I have only one user - administrator. If I run this command directly in cmd - everything ok.