Installation file signature
Hi all the NSIS developers!
I have a question regarding installation exe-file and adding a signature to it. The point is that I added a feature to my product which allows it to upgrade itself. It's done in a simple way - it just finds the file on the network, downloads and executes it with silent option (/S) and the installation script with some help from accompanying dll knows what to do. It works as I want it to work but the only thing I want to add to it is a small signature somewhere which confirms that it is really the correct file and correct version. What's the best way to do it? I was thinking about just adding the signature as a file to the project and then the application could extract (the same way as the exe header is doing it) it itself after downloading and then check it to be sure that it it's not a random file being executed.
Has anyone done it or can anyone maybe even give some hints how to do it in a better/easier way?
Thanks in advance!
/Allan
P.S. My best wishes to the developers of the NSIS! It's a great piece of software and I never want to use InstallShield again.