Changeset 1037


Ignore:
Timestamp:
08/30/12 15:22:26 (5 years ago)
Author:
jjr8
Message:

Fixed more Python 2.7 / ArcGIS 10.1 compatibility problems.

Location:
MGET/Branches/Jason/PythonPackage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MGET/Branches/Jason/PythonPackage/Build_Win32_py27.cmd

    r1025 r1037  
    3838:Build 
    3939 
    40 cmd.exe /C c:\python27\python.exe setup.py bdist_wininst --pre-install-script=build\src\GeoEcoPreInstall.py --install-script=GeoEcoPostInstall.py --bitmap SetupLogo.bmp %1 %2 %3 %4 %5 %6 %7 %8 %9 
     40cmd.exe /C c:\python27\python.exe setup.py bdist_wininst --pre-install-script=build\src\GeoEcoPreInstall.py --install-script=GeoEcoPostInstall.py --bitmap SetupLogo.bmp --user-access-control=force %1 %2 %3 %4 %5 %6 %7 %8 %9 
    4141 
    4242:Done 
  • MGET/Branches/Jason/PythonPackage/setup.py

    r1025 r1037  
    19211921    try: 
    19221922        try: 
    1923             hkey = win32api.RegOpenKey(win32con.HKEY_LOCAL_MACHINE, r'SOFTWARE\\ESRI\\ArcInfo\\Desktop\\8.0') 
     1923            hkey = win32api.RegOpenKey(win32con.HKEY_LOCAL_MACHINE, r'SOFTWARE\\ESRI\\Desktop10.1') 
    19241924        except: 
    1925             hkey = win32api.RegOpenKey(win32con.HKEY_LOCAL_MACHINE, r'SOFTWARE\\ESRI\\Desktop10.0') 
     1925            try: 
     1926                hkey = win32api.RegOpenKey(win32con.HKEY_LOCAL_MACHINE, r'SOFTWARE\\ESRI\\Desktop10.0') 
     1927            except: 
     1928                hkey = win32api.RegOpenKey(win32con.HKEY_LOCAL_MACHINE, r'SOFTWARE\\ESRI\\ArcInfo\\Desktop\\8.0') 
    19261929        try: 
    19271930            (arcGISInstallDir, installDirType) = win32api.RegQueryValueEx(hkey, 'InstallDir') 
Note: See TracChangeset for help on using the changeset viewer.