NSIS Wiki:Sandbox: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Reverted edits by 221.224.108.85 to last version by Kichik)
(testing textpad setup tutorial)
Line 1: Line 1:
This is where test stuff should be posted, if you don't know how things appear, or want to test if something works which can't be seen by just previewing the page.
writing NSIS scripts with TextPad 4.7


Right now, there is nothing being done to this page regularly to delete contents. Maybe a bot or the server will be used for the task, but nothing is sure.
This assumes you installed NSIS with default settings if not search the makensis.exe and apply its path:
Add new DOS commad:
Parameters:"C:\Program Files\NSIS\makensis.exe" /V4 $FileName
Initial Folder:$FileDir
check: Save All Documents first
check: Capture output
Regex to match output:
^.+in script "(.+)" on line ([0-9]+)[.,]?
Registers:
File 1 Line 2


Keep the page content below this note.
For the laziest (on your own risk ; ).Change the num of tools also ; )
===================COPY PASTE START
Windows Registry Editor Version 5.00


[[Category:Browse Wiki Maintenance Services by Name]]
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\13]
 
"Properties"=hex:01,00,00,00,68,80,00,00,e8,49,00,00
<hr />
"MenuText"="\"C:\\Program Files\\NSIS\\makensis.exe\" /V4 $FileName"
<!-- keep the note above intact and put the page content right below -->
"Command"="cmd.exe"
"Parameters"="\"C:\\Program Files\\NSIS\\makensis.exe\" /V4 $FileName"
"Folder"="$FileDir"
"RE"="^.+in script \"(.+)\" on line ([0-9]+)[.,]?"
===================COPY PASTE END

Revision as of 19:45, 20 January 2009

writing NSIS scripts with TextPad 4.7

This assumes you installed NSIS with default settings if not search the makensis.exe and apply its path: Add new DOS commad: Parameters:"C:\Program Files\NSIS\makensis.exe" /V4 $FileName Initial Folder:$FileDir check: Save All Documents first check: Capture output Regex to match output: ^.+in script "(.+)" on line ([0-9]+)[.,]? Registers: File 1 Line 2

For the laziest (on your own risk ; ).Change the num of tools also ; ) ===================COPY PASTE START Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\13] "Properties"=hex:01,00,00,00,68,80,00,00,e8,49,00,00 "MenuText"="\"C:\\Program Files\\NSIS\\makensis.exe\" /V4 $FileName" "Command"="cmd.exe" "Parameters"="\"C:\\Program Files\\NSIS\\makensis.exe\" /V4 $FileName" "Folder"="$FileDir" "RE"="^.+in script \"(.+)\" on line ([0-9]+)[.,]?" ===================COPY PASTE END