Returning Data from Installer
I want my program to check for updates on my website when it starts. If there is an update, I want the program to ask the user if they want to download and install it. I plan on exec'ing from my program an NSIS installer program that will use the NSISdl plugin to determine if there is a newer version (by downloading an INI file with the info about the latest version posted on the website).
My question - How can I pass data from the NSIS installer back to my program (written in C++)? I want to return the latest version number posted on the website so my program can prompt the user to update if it's newer.
I've thought about using an INI file or the registry to pass the data, but is there a better way to pass data back from an NSIS install program?