File List Generator: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page.)
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageAuthor|deguix}}
== Download Links ==
== Download Links ==
<attach>nsisdd.zip</attach><br>
<attach>Nsisdd.zip</attach><br>
Utility plus its source code in "C" scripting language.
Utility plus its source code in "C" scripting language.
[http://forums.winamp.com/showthread.php?threadid=66402 Forum thread]


== Description ==
== Description ==
Line 62: Line 65:
     and must not be misrepresented as being the original software.
     and must not be misrepresented as being the original software.
   3. This notice may not be removed or altered from any distribution.</pre>
   3. This notice may not be removed or altered from any distribution.</pre>
[[Category:Related Software]]

Latest revision as of 21:43, 11 November 2005

Author: deguix (talk, contrib)


Download Links

Nsisdd.zip (5 KB)
Utility plus its source code in "C" scripting language.

Forum thread

Description

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

Usage

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)

Remarks

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.

Credits

Author: Peter Windridge (aka pjw62).

License

  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.