I tried SetComputerName, SetComputerNameA, SetComputerNameEx, SetComputerNameExw.
StrCpy $ComputerName "TestName"
System::Call 'kernel32.dll::SetComputerName???(t "$ComputerName") i .r0'
If I use
The Computername is inserted in the registry, but the name isn't changed.
System::Call 'kernel32.dll::SetComputerName(t "$ComputerName") i .r0'
I read on
MSDN something about COMPUTER_NAME_FORMAT
I think i'm missing something.
Hope that someone can help me.