I am trying to update a win mobile 6.0 project to allow it to have update notifications.
To make this easier from our end, I wan to be able to update the installer CAB file via a web interface and have the web determine the version of the application automatically.
In .net, I know a way to determnine a file's version is:
FileVersionInfo.GetVersionInfo
But since the files are in a CAB, and CABs don't have versions, I can't determine the version.
I also know there is an extract.exe tool to extract CAB contents, but it doesn't extract the same way as when the CAB is installed on a device. For example, the exe file is extracted like this:
APPEXENAME~1.026
I can't get the file version from that. Plus, I wouldn't even know which file was the ".exe" anyway since al lot of the files start with "APPEXENAME".
Is what I am trying to do even possible? Or will I have to manually enter the version number every time we update?