Your Computer Name: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.) |
m (Updated author links.) |
||
Line 1: | Line 1: | ||
{|align=right | |||
|<small>Author: [[{{ns:2}}:VegetaSan|VegetaSan]] ([[{{ns:3}}:VegetaSan|talk]], [[{{ns:-1}}:Contributions/VegetaSan|contrib]])</small> | |||
|} | |||
<br style="clear:both;"> | |||
; Made By VegetaSan :) | ; Made By VegetaSan :) | ||
; http://fire.prohosting.com/vesan | ; http://fire.prohosting.com/vesan | ||
Line 22: | Line 26: | ||
; rest of script | ; rest of script | ||
</highlight-nsis> | </highlight-nsis> | ||
Revision as of 03:06, 30 April 2005
Author: VegetaSan (talk, contrib) |
- 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