Your Computer Name: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library) |
(No difference)
|
Revision as of 20:39, 9 April 2005
- Made By VegetaSan
- )
- http://fire.prohosting.com/vesan
- This script will detect you 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
Page author: VegetaSan