Archive: Telling NSIS to use a dependancy file?


Telling NSIS to use a dependancy file?
I am in the process of trying to learn NSIS to replace the installer for our software we are currently using and I havn't found the option to use a dependancy file yet? Can someone point me in the right direction? If possible Thank you.


Maybe you should give more information about what you're trying to do and what you mean by a dependancy file. I'm sure there's a function in NSIS somewhere for it. :)


whoops, a little braindead this morning.

I havn't found the option in NSIS to incorporate a DEP file, for including DLL's in a package I am creating.

I have searched the forum and FAQ too.


NSIS cannot do that yet nor am I aware of a plugin that will give you that information.


thanks for the help..i guess i'll have to figure out a diff. way.

do you understand what i was trying to do?


Please give some more details. What do you want to do?


I am not a programmer, I was given the task to create a packager for our software, I will do my best.

I guess the question is how do I tell NSIS that I want to use a dependency file: telling the packager what DLL's to include in the compiled install program. I have included the DEP file. If you can make out what I was trying to convey that is great.

the extention of this file was supposed to be .DEP but VBB will only let you upload certian file-types. so I renamed it to TXT.


Well.. for example..I use Visual Basic 6. So my apps need the VB6 Runtime, then I distribute it within the app.
Maybe if you detect the files that you need in the end-user machine and detect wich doesn't installed... then you can use nsisdl plugin
to download'em.


You can find all the names of the DLL's in the file.

Check which DLL's do not exist by default and use the UpgradeDLL macro to upgrade the others. The macro is available in the documentation/archive.