cube2
10th March 2003 17:12 UTC
Automate Installer creation ?
I'm working on automating installer creation in my company.
I'd like to be able download latest verisons of programs (executables, config files, etc.) from the server and prepare installers automatically. Has nsis any functionality that can help with this? Or maybe somebody encountered similar problems and could give me some tips ?
thanks in advance,
Cube
Joost Verburg
10th March 2003 18:14 UTC
Are the files located on a network share or do you have to download them from a HTTP server?
Joel
10th March 2003 20:33 UTC
nsisdl plugin could help you, then copy them in the Dir you want; or
just execute'em in the shell
cube2
11th March 2003 07:48 UTC
They are on network share, but I can access them via ftp or http - if this would change anything
kichik
11th March 2003 15:02 UTC
If they are on a network share just use CopyFiles. If you want you can also use NSISdl to download them from HTTP.
Have a look at NSIS Update (Contrib\NSIS Update) source code. It updates NSIS through CVS and uses NSISdl to get the latest version information.
Joost Verburg
11th March 2003 15:04 UTC
If you can access them on a network share, why not use the network paths in your script? I see no reason to create an application for it.
cube2
11th March 2003 16:54 UTC
I didn't notice the fact that CopyFiles can access network shares - which is the simpliest solution.
Thanks.
Joost Verburg
11th March 2003 17:10 UTC
If the script is on your machine and the files are on network shares just use the File command with a network path (\\server\share\folder).