i want settings like ssid name, anonymous identity, EAPAuthMethod, ... from an existing wifi profile.
My fist idea was that I could get it with netsh, but it doesn't work yet.
I guess that the pipe doesn't work. But maybe you have in all a better idea.
${NSD_CreateLabel} 0 0 40% 12u "Name:"
${NSD_CreateHLine} 0 20 100% 1 ButtonsLine
${NSD_CreateLabel} 0 40 40% 12u "SSID:"
${NSD_CreateLabel} 0 60 40% 12u "Anonymous identity:"
${NSD_CreateLabel} 0 80 40% 12u "Certificate:"
nsExec::ExecToStack 'netsh wlan show profile "ssid name" | findstr "Authentifizierung"'
Pop $0
Pop $1
{NSD_CreateLabel} 28% 40 33% 12u "$1"
${NSD_CreateLabel} 28% 60 33% 12u "..."
${NSD_CreateLabel} 28% 80 33% 12u "..."
${NSD_CreateLabel} 28% 100 33% 12u "..."