NSIS Wiki:Sandbox: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Reverted edits by YordanGeorgiev to last version by Kichik)
Line 1: Line 1:
writing NSIS scripts with TextPad 4.7
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.


This assumes you installed NSIS with default settings if not search the makensis.exe and apply its path:
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.
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 ; )
Keep the page content below this note.
===================COPY PASTE START
Windows Registry Editor Version 5.00


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

Revision as of 23:53, 20 January 2009

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.

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.

Keep the page content below this note.