Your Computer Name: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
Crdoconnor (talk | contribs) No edit summary |
Crdoconnor (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{PageAuthor|VegetaSan}} | {{PageAuthor|VegetaSan}} | ||
[http://fire.prohosting.com/vesan Made By VegetaSan :)] | |||
<highlight-nsis> | <highlight-nsis> |
Revision as of 09:43, 8 November 2005
Author: VegetaSan (talk, contrib) |
; Made By VegetaSan :) ; http://fire.prohosting.com/vesan ; This script will detect your Computer Name OutFile "Your ComputerName.exe" Name "Your ComputerName" Caption "ComputerName" XPStyle "on" Function .onInit ReadRegStr $0 HKLM "System\CurrentControlSet\Control\ComputerName\ActiveComputerName" "ComputerName" StrCpy $1 $0 4 3 MessageBox MB_OK "Your ComputerName : $0" Quit FunctionEnd Section "-boo" ; SectionEnd ; rest of script