NSIS Wiki:Sandbox

From NSIS Wiki
Revision as of 19:45, 20 January 2009 by YordanGeorgiev (talk | contribs) (testing textpad setup tutorial)
Jump to navigationJump to search

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