Skip to content
⌘ NSIS Forum Archive

Genarating a .nsi file containing the recursive dir structure

2 posts

kolpotoru#

Genarating a .nsi file containing the recursive dir structure

I want to make a setup running which it will ask to select a dir then
it will genarate a .nsi file containing the recursive dir structure
usable with nsis for example if a dir contain following -

C:\MyDir\file1.exe
C:\MyDir\dll\mydll.dll
C:\MyDir\dll\myocx.ocx

then the output setup.nsi file will have following -

File "C:\MyDir\file1.exe"
File "C:\MyDir\dll\mydll.dll"
File "C:\MyDir\dll\myocx.ocx"

Please Help