Archive: Automate Installer creation ?


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


Are the files located on a network share or do you have to download them from a HTTP server?


nsisdl plugin could help you, then copy them in the Dir you want; or
just execute'em in the shell


They are on network share, but I can access them via ftp or http - if this would change anything


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.


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.


I didn't notice the fact that CopyFiles can access network shares - which is the simpliest solution.

Thanks.


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).