On Wed, 2015-11-11 at 10:48 +0100, IOhannes m zmoelnig wrote:
On 2015-11-11 10:41, Roman Haefeli wrote:
iirc, the main problem with this is, that for the *uninstaller* you need
to enumerate the files as well (again you can use wildcards, but then you risk deleting unrelated files)
Yes, one more reason to build the list of files dynamically.
yes definitely.
btw, nsis allows to "include" additional files, so you could factor-out the file-list snippets from the "static" parts of the installer (license foo,...)
That's what the script does. It generates two nsh files, one for the files to be installed and one for the files to be uninstalled. Those are included in the main pd.nsi.
Roman