Skip to content
⌘ NSIS Forum Archive

Updating files in an install file without remaking the nsi.

5 posts

Nadrew#

Updating files in an install file without remaking the nsi.

Hello, I've had NSIS on my system for a while, and played with it a few times, but I've hit a problem. Is it possible to add/update files in your install file without remaking the whole thing? This would be helpful, as I am using NSIS to distribute files that are frequently updated, and I don't want to remake my installer each time there is an update. Is there an easy way to do this? If so, how? Thanks for any help.
Vytautas#
It's not possible to modify the installer itself, but you could create an installer which uses external files, e.g. from a zip or cab archive, then you could update the archives containing the files without needing to modify the installer.

Vytautas 😁
Nadrew#
That defeats my purpose, the installer is meant to replace the zip file I use now, I suppose I can just remake the installer each time, with my registry stuff saved in a different file for copy/pasting.
Yathosho#
i have an installer that downloads parts from the internet (to make sure they are up-to-date) and installs them
kichik#
Nadrew, why would it defeat your purpose? The installer can still do all of the extracting using ZipDLL for example.