Archive: install dependencies


install dependencies
Being a novice ,,,
I need to install make an nsis script which can automatically install the dependencies in my application if they are not in user's compputer for that i just have to put the dependencing software ( all files ) ....or should make an seprate package

my doubt is "Can we make a script which can install application(any file ) and install it's dependencies in the backhand"

if it is possible CAn anybody give me hint
some code will be really helpful..


There are a few ways to do that... there are macros examples in the wiki page.

The main object is:
1. Detect if users have the dependecy file, use IfFileExists.
2. If Don't, then install it, with the simple File command, as you use it for install any files.
3. Once Install, register it with RegDLL.

Simple, huh?

The only errors that you can get is..if the dependency file doesn't have entry point.


You can get other errors: if there are dependencies and the necessary dll is not in the PATH. Make sure the PATH variable is updated (if necessary) before calling REGDLL.

Don


Originally posted by demiller9
You can get other errors: if there are dependencies and the necessary dll is not in the PATH. Make sure the PATH variable is updated (if necessary) before calling REGDLL.

Don
That would be a n00b error ;)

That would be a n00b error
And we all know there aren't any n00bs here! ;)