View Full Version : getting MAYA install locations x86/x64
Buexe 07-27-2009, 06:53 PM Hi,
I`m trying to get the install locations for Maya which has x86 and x64 versions of
Maya 2009 installed. I`m only able to get the correct install path for one of them (x86) with this:
SOFTWARE\Autodesk\Maya\2009\Setup\InstallPath\MAYA_INSTALL_LOCATION
any idea how to get the correct install locations for each copy?
Thanks in advance!
|
|
whalerider
07-27-2009, 09:10 PM
check if your PATH environmental variable has the paths for both installations.
if that's the case, try this
import os
import re
paths = os.environ['PATH'].split(';')
for path in paths:
search_result = re.search('Maya', path)
if search_result:
print path
Hi,
I`m trying to get the install locations for Maya which has x86 and x64 versions of
Maya 2009 installed. I`m only able to get the correct install path for one of them (x86) with this:
SOFTWARE\Autodesk\Maya\2009\Setup\InstallPath\MAYA_INSTALL_LOCATION
any idea how to get the correct install locations for each copy?
Thanks in advance!
Robert Bateman
07-28-2009, 09:44 AM
These assume you are on a 64 bit os. When on a 32 bit os, ignore the 32bit keys below, and use the 64bit ones. Makes sure you open the registry with the 64bit flag....
Maya 7: 32bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Alias\Maya\7.0\Setup\InstallPath
Maya 8: 32bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Alias\Maya\8.0\Setup\InstallPath
Maya 8.5: 32bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Autodesk\Maya\8.5\Setup\InstallPath
Maya 2008: 32bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Autodesk\Maya\2008\Setup\InstallPath
Maya 2009: 32bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Autodesk\Maya\2009\Setup\InstallPath
Maya 8.5: 64bit
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Maya\8.5\Setup\InstallPath
Maya 2008: 64bit
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Maya\2008\Setup\InstallPath
Maya 2009: 64bit
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Maya\2009\Setup\InstallPath
Buexe
07-28-2009, 11:15 AM
Excellent, thanks rob! :wavey:
@whalerider: thanks, mate, But I needed the registry locations for an installer, which uses no python.
CGTalk Moderation
07-28-2009, 11:15 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.