THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/02/2008 at 20:35, xxxxxxxx wrote:
Cinema 4D Version: 10.5
Platform: Windows ;
Language(s) : C++ ;
We built a plugin for C4D 10. Now we want to migrate it to C4D 10.5. The problem is, we don't find any registry change after upgrade to R10.5. Is there anyone know a way to tell if the installed version is R10 or R10.5?
It seems our plugin for R10 just works fine under R10.5. Is it a good choice to just release this R10 plugin for R10.5 C4D users?
On 20/02/2008 at 22:04, xxxxxxxx wrote:
The SDK hasn't changed much from R10 to R10.5 so you should be okay as long as everything is working. The way to get the version is by GeC4DVersion(). This should return something like 10111 or 10506 to distinguish.
On 20/02/2008 at 22:27, xxxxxxxx wrote:
kuroyume0161, thank you for your quick reply.
We use InstallShield 12 and InstallShield 2008 to create installer for our plugin. The installer also needs know the installed C4D version so it can install correct component. Do you know a way to find the version number wihtout calling C4D SDK function?
On 20/02/2008 at 22:53, xxxxxxxx wrote:
Outside of the C4D SDK? Hmmm. Unless the user hasn't changed the install folder name, that is a good clue. The 'setuplog.txt' also includes the C4D version number. I suspect that a general solution here may not be as simple (one could check the Windows Registry - no good for MacOS or Unix).
I've seen installers, like Daz3D's, let you select from a drop-down list the version of the software to which is being installed. Probably not as elegant but it would avoid cases where discovering the version into which the install is going cannot be done.