Ticket #79 (closed Defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
