User:Afrow UK: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (→‎NSIS Plugins (Supported): proper wiki links)
 
(93 intermediate revisions by 16 users not shown)
Line 1: Line 1:
== My Articles ==
== NSIS Plugins (Supported) ==
 
:<attach>NsJSON.zip</attach> [http://forums.winamp.com/showthread.php?t=3142256 Forum topic]<br />
<ol>
::Support for JSON parsing, editing, serialization, sorting; command-line input/output; REST APIs
<li>[[Get vertical space of INI file value]]</li>
<br />
<li>[[Refreshing labels after color change]]</li>
:<attach>NsArray.zip</attach> [http://forums.winamp.com/showthread.php?t=330425 Forum topic]<br />
<li>[[Replace all text before a string on a line]]</li>
::Supports any number of named dynamic arrays, indexed or hashed arrays, value getting, setting, insertion, removal, copying, joining and sorting (via quick sort algo.).
<li>[[Get installer to open in top left hand corner of screen]]</li>
<br />
<li>[[Replace 1st piece in string, then delete other parts]]</li>
:<attach>NsRichEdit.zip</attach> [[NsRichEdit plug-in|Plugin page]] [http://forums.winamp.com/showthread.php?t=333267 Forum topic]<br />
<li>[[Update an existing INI file with values from an updated INI file]]</li>
::Provides loading of text from a file into a RichEdit control, printing of a RichEdit control and addition of a Print button to the NSIS license pages.
<li>[[NSISdl macro system]]</li>
<br />
<li>[[Get first part of a string]]</li>
:<attach>Aero.zip</attach> [[Aero plug-in|Plugin page]] [http://forums.winamp.com/showthread.php?t=329990 Forum topic]<br />
<li>[[Sort String 1 (from end)]]</li>
::Enables Windows Aero glass effect on NSIS UI.
<li>[[Read from INI style file without section headers]]</li>
<br />
<li>[[Get extention of file]]</li>
:<attach>LockedList.zip</attach> [[LockedList plug-in|Plugin page]] [http://forums.winamp.com/showthread.php?t=274168 Forum topic]<br />
<li>[[NSIS Self-Extractor kit]]</li>
::An NSIS plugin to display or get a list of programs that are locking a selection of files that have to be uninstalled or overwritten.
<li>[[Read from text file line number]]</li>
<br />
<li>[[Read a string from an e.g. exe or dll file]]</li>
:<attach>NsExpr.zip</attach> [[NsExpr plug-in|Plugin page]] [http://forums.winamp.com/showthread.php?t=340355 Forum topic]<br />
<li>[[Replace line that starts with specified string]]</li>
::A small plug-in that evaluates Boolean and mathematical expressions.
<li>[[Search for text in file]]</li>
<br />
<li>[[Get Steam account name and install path]]</li>
:<attach>ButtonEvent.zip</attach> [[ButtonEvent plug-in|Plugin page]] [http://forums.winamp.com/showthread.php?t=273717 Forum topic]<br />
<li>[[Combine two text files into one text file]]</li>
::A plug-in that allows NSIS coders to add a custom button and tie a NSIS function to it.
<li>[[Arrays in NSIS]]</li>
<br />
<li>[[NSIS Syntax File for Crimson Editor]]</li>
:<attach>GetVersion.zip</attach> [[GetVersion (Windows) plug-in|Plugin page]] [http://forums.winamp.com/showthread.php?t=221621 Forum topic]<br />
<li>[[Sort String 3]]</li>
::A plug-in that gets Windows version information (name, type, version, server name, service pack, service pack build).
<li>[[More advanced dump log to file]]</li>
<br />
<li>[[Sort String 3 modified]]</li>
:* Unicode builds are included in all downloads.
<li>[[Convert 5 digit integers to pure text]]</li>
:* I have written many other plug-ins in the past, but these plug-ins above are the only plug-ins I now use or maintain.
<li>[[Delete dirs / files in a directory except one dir / file]]</li>
<li>[[Sort String 2]]</li>
<li>[[Delete lines from log window by line numbers]]</li>
<li>[[Change Uninstall Log Window Font]]</li>
<li>[[Simple loop testing macro]]</li>
<li>[[Get number of lines in text file]]</li>
<li>[[MultiCmd: One NSIS command instead of multiple]]</li>
<li>[[Change Log Window Font]]</li>
<li>[[VersionCheckNew: Compare version numbers]]</li>
<li>[[ReqFind: Recursive FindFirst, FindNext, FindClose]]</li>
<li>[[Write many values to INI file for reading]]</li>
<li>[[MakeFileList: Get files from dir]]</li>
<li>[[Some useful DlgItem changes]]</li>
<li>[[More advanced replace text in file]]</li>
<li>[[Get number of subdirs in dir path]]</li>
<li>[[Underline text in LogWindow]]</li>
<li>[[Two installations in one installer]]</li>
<li>[[Get URL segments for Joel's Internet plugin]]</li>
<li>[[Overwrite file line number in text file]]</li>
<li>[[Tutorial: Using labels in macro's]]</li>
<li>[[Generate a random number]]</li>
<li>[[Simple write text to file]]</li>
<li>[[Convert "\" to "\\" in a string or dir path]]</li>
<li>[[Write to text file line number]]</li>
<li>[[Check for spaces in a directory path]]</li>
<li>[[Convert Unix new-lines (\n) to Windows (\r\n)]]</li>
<li>[[Slice: Cut string out of string]]</li>
<li>[[Get last directory path part]]</li>
<li>[[Get installer filename]]</li>
<li>[[Invoking NSIS run-time commands on compile-time]]</li>
<li>[[Delete lines from one line to another line inclusive]]</li>
<li>[[SetReqStrLen: Allow compile w/ 8192 special build only]]</li>
<li>[[TrimText: Trim text e.g. to fit in a label ]]</li>
<li>[[Uninstall all dirs and subdirs created by your installer]]</li>
<li>[[Delete lines from one line to another line exclusive]]</li>
<li>[[Write to INI style file with no section headings]]</li>
<li>[[Get first part and rest of string]]</li>
<li>[[Find a string in an e.g. exe or dll file]]</li>
<li>[[Replace text on a file line number]]</li>
<li>[[Backup files on install, restore on uninstall]]</li>
<li>[[Copy to, or get from Windows Clipboard]]</li>
<li>[[FindIt: Simple search for file / directory]]</li>
<li>[[SetCompiler: Set compiler executable for current script]]</li>
<li>[[GetBetween: Get text in between two markers in a file]]</li>
<li>[[Save on variables]]</li>
<li>[[CharIndexReplace: Replace char in string with char size]]</li>
<li>[[Splice: Cut string @ index from array type string]]</li>
<li>[[ReplaceBetween: Replace text between two markers in a file]]</li>
<li>[[Count how many times your installer package has been executed]]</li>
<li>[[NSIS-Date]]</li>
<li>[[Uninstall only installed files]]</li>
<li>[[StrCSpn, StrCSpnReverse: Scan strings for characters]]</li>
<li>[[FileRequest through section or function]]</li>
<li>[[System Tray NotifyIcon creator plugin]]</li>
<li>[[Working Installation CompletionTime function]]</li>
<li>[[How to control Section selections, while using SubSections & InstTypes]]</li>
</ol>
 
== My Downloads ==
 
<ol>
<li>[[File:ioColors.zip|ioColors.zip]] (''InstallOptions + Modern UI colors example'')</li>
<li>[[File:Array.zip|Array.zip]] (''NSIS Array Script Header'')</li>
<li>[[File:MultiCmd.zip|MultiCmd.zip]] (''Allows use of multiple NSIS instruction calls on the same line'')</li>
<li>[[File:Ce-nsis.zip|Ce-nsis.zip]] (''NSIS script highlighter for Crimson Editor'')</li>
<li>[http://myweb.tiscali.co.uk/imker/afrowuk/stuff/NSISdl.nsh NSISdl.nsh] (''Macro system for NSISdl'')</li>
<li>[http://myweb.tiscali.co.uk/imker/downloads/NSIS%20Self-Extractor.exe NSIS Self-Extractor.exe] (''The first (original) Self-Extractor kit for NSIS'')</li>
</ol>

Latest revision as of 12:05, 11 December 2017

NSIS Plugins (Supported)

NsJSON.zip (130 KB) Forum topic
Support for JSON parsing, editing, serialization, sorting; command-line input/output; REST APIs


NsArray.zip (49 KB) Forum topic
Supports any number of named dynamic arrays, indexed or hashed arrays, value getting, setting, insertion, removal, copying, joining and sorting (via quick sort algo.).


NsRichEdit.zip (28 KB) Plugin page Forum topic
Provides loading of text from a file into a RichEdit control, printing of a RichEdit control and addition of a Print button to the NSIS license pages.


Aero.zip (48 KB) Plugin page Forum topic
Enables Windows Aero glass effect on NSIS UI.


LockedList.zip (92 KB) Plugin page Forum topic
An NSIS plugin to display or get a list of programs that are locking a selection of files that have to be uninstalled or overwritten.


NsExpr.zip (28 KB) Plugin page Forum topic
A small plug-in that evaluates Boolean and mathematical expressions.


ButtonEvent.zip (28 KB) Plugin page Forum topic
A plug-in that allows NSIS coders to add a custom button and tie a NSIS function to it.


GetVersion.zip (34 KB) Plugin page Forum topic
A plug-in that gets Windows version information (name, type, version, server name, service pack, service pack build).


  • Unicode builds are included in all downloads.
  • I have written many other plug-ins in the past, but these plug-ins above are the only plug-ins I now use or maintain.