Ticket #79 (closed Defect: fixed)

Opened 6 years ago

Last modified 5 years ago

If ArcGIS is installed, setup.py should check that it is 9.1 or later

Reported by: jjr8 Owned by: jjr8
Priority: Medium Milestone: 0.6
Component: Setup & Installation Version: 0.2
Keywords: Cc:

Description

setup.py writes this code to the Windows post-installation script:

    if str(realVersion) == '9.1':
        executable = 'RegisterToolboxWithArcCatalog91.exe'
    else:
        executable = 'RegisterToolboxWithArcCatalog92.exe'

Rather than assuming that 9.2 is installed if 9.1 is not installed, it should check explicitly if 9.2 is installed, and then report an error if some other version is there (e.g. 9.0).

As it stands, RegisterToolboxWithArcCatalog?92.exe will be invoked on a 9.0 machine. This should not happen.

Thanks to Andrew DiMatteo for discovering this problem.

Change History

Changed 6 years ago by jjr8

  • status changed from new to assigned

Changed 6 years ago by jjr8

  • milestone changed from 0.3 to Unscheduled

Changed 6 years ago by jjr8

  • component changed from Build System to Setup & Installation

Changed 5 years ago by jjr8

  • milestone changed from Unscheduled to 0.6

Changed 5 years ago by jjr8

  • status changed from assigned to closed
  • resolution set to fixed

Implemented in MGET 0.6a1.

Note: See TracTickets for help on using tickets.