|
|
#1 |
|
Junior Member
Join Date: May 2007
Location: hyderabad
Posts: 12
|
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.. |
|
|
|
|
|
#2 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
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. * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2006
Location: Dallas
Posts: 462
|
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 |
|
|
|
|
|
#4 | |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Quote:
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
|
#5 | |
|
Senior Member
Join Date: Mar 2006
Location: Dallas
Posts: 462
|
Quote:
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|