Archive: Script merging


Script merging
Hi everyone,

I've run into a bit of a wall here, and cant seem to get past it, I've got a script which checks the registry for an installation, once it finds it, it takes the install path and then proceeds to verify the MD5 checksum of the core application files. If it finds a file is corrupt, downloads it off the internet to fix the corruption.

This all works perfectly as a standalone little tool, but I'd like to integrate it into an installer, after the welcome, license pages, and I just cannot get it to work properly at all, I've tried a few different approaches without much progress at all.

I've attached the script in question, ideally I'd like to display the same page as is used during a file install, but at this point any help is appreciated.

Thanks
--a


Move your functions and variable declarations to a separate NSH file and !include it at the top of your NSI files. Then call the two functions in a chosen Section.

Stu