开发者

Deploying a plug-in for Autodesk motionbuilder 2011

I have to make an installer for 开发者_JAVA技巧motionbuilder 2011 for 32 bit and 64 bit. The installer should detect and deploy the corresponding plug-ins. One of the 64 bit machines has both versions installed on it but the registry shows only one of them at a time. Is there any way to detect both the installed versions and deploy the corresponding plug-ins in their install directories?

Thanks


you have to query HKEY_LOCAL_MACHINE64 to get MoBu 64-bit path. For example, using Inno Setup script:

32-bit path

RegQueryStringValue(HKEY_LOCAL_MACHINE, Software\Autodesk\MotionBuilder\2011, 'InstallPath', path)

64-bit path

RegQueryStringValue(HKLM64, Software\Autodesk\MotionBuilder\2011, 'InstallPath', path)

Hope that helps!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜