Hi,
I'm trying to install a folder full of files to a target system, where each file is written as a zero byte file, but using a directory listing on the Build PC at compile time as the list of file names to create on the target.
I'm currently doing this by distributing & installing the original files using
File '<Path>\*.ext'
... then using a loop with FindFirst / Delete / FileOpen / FileClose / FindNext to delete & create blank versions of the same files.
This works, but is not very elegant and bloats out the installer by having to distribute the full files.
Without having to maintain a list of file names in the script, is there an easier way?
Cheers
Duncan
How to Install zero byte version of files in folder?
2 posts
You can use !system to call a batch file that generates a list and/or code you can include.
See also: http://stackoverflow.com/questions/7...h-nsis/7318869
See also: http://stackoverflow.com/questions/7...h-nsis/7318869