File List Generator

From NSIS Wiki

Author: deguix (talk, contrib)

Download Links (5 KB)
Utility plus its source code in "C" scripting language.

Forum thread


This utility aid NSIS developers in supplying a way to to get a list of file instructions by drag & dropping files and folders to the utility's main window. Those instructions can be retrieved later copying them to the clipboard.

How To Use


Drag & Drop files and folders to the program's main window, and then copy the list to the clipboard by clicking "Copy file list". If you need to remove a file or directory entry from the list, select it, then click "Remove selected from list". After that, put the list into the NSIS scripts you desire.

File Instructions Syntax

For Files

File "%s"

(where %s is the file name with absolute path)

For Folders

File /r "%s\*.*"

(where %s is the folder name with absolute path)


This utility doesn't point correctly to the original files when the selected files are links.

SetOutPath instructions are not used by the utility. Their use in scripts is necessary in order to install files with folder structures (unless you are installing only a folder in $EXEDIR). You should consider adding them to your script manually.

Versions History

1.0 - 22/Nov/2001
  • First version.


Author: Peter Windridge (aka pjw62).


  This software is provided 'as-is', without any express or implied
  warranty. In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute
  it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented;
     you must not claim that you wrote the original software.
     If you use this software in a product, an acknowledgment in the
     product documentation would be appreciated but is not required.
  2. Altered versions must be plainly marked as such,
     and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any distribution.
Personal tools