by Kevin Luck >> Wed, 22 Dec 1999 13:08:06 GMT
Some help needed here although it is a bit tangential to the use of JADE itself.
I'm using InstallShield Profession 6.0 to automate the upgrade process for an existing JADE application. When the upgrade program starts I want to verify the current version of JADE that is in the existing (target) installation. What is the best way to do this, once I've found the relevant jade.exe?
I thought that looking in the Registry would be one way, but my upgrade of JADE to 5.0.14 didn't produce any indication in the registry that there is a copy of 5.0.14 on my PC. Anyway, I don't see how this would be able to confirm the version of a particular set of jade binary files anyway: I have multiple versions on my PC at present.
WIndows Explorer shows the version number I need on the version tab of the properties dialog (when I right-click on jade.exe). Can anyone tell me how to get hold of this from an InstallShield script or some other batch file that could be fired off from the script?
Last option I thought of is simply checking the date/timestamps of the jade.exe file, although I am dubious about this approach as I have seen timestamps shift by an hour in Explorer when daylight-saving kicks in (or out), which could in turn put the date out by a day.
Any help gratefully received.
k