Archive: Machine using NSIS


Machine using NSIS
Within the install package, how can I pick up the machine name that I am installing on?

Need it to edit some files on install.


Maybe this string helps you

ReadRegStr $0 HKLM "System\CurrentControlSet\Control\ComputerName\ActiveComputerName" "ComputerName"


And try to use search on forum.

you can also call GetComputerName with the system plugin