I would like to know how to get the Full computer name in Inno Setup, for example Win8-CL01.cpx.local
in the following image.
I already know how to get the computer name with GetComputerNameString but I also would like to have the Domain name of the computer. How can I get this full computer name or this domain name ?
There's no built-in function for this in Inno Setup. You can use the
GetComputerNameEx
Windows API function: