I need a way to set the version information of an existing file. By version information I mean the information that is retrieved by a call to GetFileVersionInfo.
I have a component in my program to zip files into a cabinet (CAB) file. I frequently release updates of my program and I need a way to find out which version of the program a particular CAB file was made with. Unfortunately, the component that I use does not have an option to set the version information as it creates the file.
I can't find anything like a SetFileVersionInfo function in the API documentation and I'm not sure that what I'm trying to do is even possible. The only other option that I can think of is to put the version number in the filename but I would like to avoid that as my users frequently rename their backups.
Thank you in advance for your responses!