|
|
#1 |
|
Senior Member
Join Date: Jul 2003
Posts: 152
|
Before installation of My NSIS program is it possible to check the version of an exisiting exe to see if its the correct version?
I don't really mean by checking it through the Reg though, as this does not show the correct version info. The original game is version 1.0.0.0, there are two updates for this game which will change the version to 2.0.0.1 or 2.0.0.2 I only want my NSIS program to install if the version is 2.0.0.2 otherwize you will get a message saying that you will need to update the game before you can install my NSIS program then quit If it is the correct version it will install normally At the momment My NSIS program checks the reg to see if the game is the correct version then installs using this bit of script PHP Code:
See in the Reg the "version" is either 1 for the original or 2 if either update has been added. Which makes checking the reg pointless Like I said the only real way to check this would be from the Games EXE as this shows the true version. Any help would be greatly appriciated plus showing me how the script should look Thanks in advance -Tony |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|