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.
Comparing file versions
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 228 guests