Your Computer Name: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Adding new author and category links.) |
Crdoconnor (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{PageAuthor|VegetaSan}} | {{PageAuthor|VegetaSan}} | ||
<highlight-nsis> | |||
; Made By VegetaSan :) | ; Made By VegetaSan :) | ||
; http://fire.prohosting.com/vesan | ; http://fire.prohosting.com/vesan | ||
; This script will detect | ; This script will detect your Computer Name | ||
OutFile "Your ComputerName.exe" | OutFile "Your ComputerName.exe" | ||
Name "Your ComputerName" | Name "Your ComputerName" |
Revision as of 09:42, 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