Comparing file versions

Got a problem you cannot solve? Try here.
khalprin
Posts: 51
Joined: Fri Aug 25, 2006 2:02 pm

Comparing file versions

Postby khalprin » Wed Oct 04, 2006 8:49 pm

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.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu Oct 05, 2006 12:28 pm

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.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 228 guests