Your Computer Name: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library)
 
m (Updated author and download links, and changed format of some pages.)
Line 23: Line 23:
</highlight-nsis>
</highlight-nsis>


Page author: VegetaSan
Page author: [[User:VegetaSan|VegetaSan]]

Revision as of 12:41, 23 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