Page 1 of 1

Comparing file versions

Posted: Wed Oct 04, 2006 8:49 pm
by khalprin
I would like to stop an existing installed service only if the install program is going to update it with a newer version. I looked at the Check File Version which can compare versions of two files. To use that, do I need to put my service file in the files list and in the support files list so it is available for comparison, or can I compare right from the DATADIR folder? Is there a better way to do this?

Thanks.

Posted: Thu Oct 05, 2006 12:28 pm
by MichaelNesmith
Well, you could compare directly with a built-in version number. If you want to auto-compare without hard-coding a version number, then I recommend the $SUPPORTDIR$ approach.