Skip to Content.

mget-help - RE: [mget-help] MGET Post-installation Issues

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: "Jason Roberts" <>
To: "'Mallon, Michael Gregory'" <>
Cc: <>
Subject: RE: [mget-help] MGET Post-installation Issues
Date: Thu, 17 Nov 2011 13:05:18 -0500

Mike,

 

Sorry for the confusion around this. The correct procedure is to install it once as admin and then have non-admin users simply add the toolbox to their instance of ArcGIS. The procedure for that is:

 

1.    Close all ArcGIS programs.

2.    Start ArcCatalog.

3.    If the ArcToolbox window is not already visible, open it by clicking the red ArcToobox icon on the main toolbar.

4.    Right click the top node (called ArcToolbox) and select Add Toolbox.

5.    Navigate to C:\Program Files (x86)\GeoEco\ArcGISToolbox and add the toolbox there. (On 32-bit Windows, use C:\Program Files, without the “(x86)”).

6.    Close ArcCatalog.

 

This should probably be the first step in a GIS lab exercise that involves MGET for the first time. From this point forward, the toolbox will appear in the ArcToolbox window for ArcCatalog and all new ArcMap documents, for that user. Existing ArcMap documents will not show the toolbox, because each ArcMap document persists its own customized ArcToolbox. Users can add it manually inside of ArcMap following steps 4 and 5 above. New ArcMap documents will initialize themselves with the ArcToolbox from ArcCatalog.

 

This begs the question: why can’t the MGET installer make this work automatically? It is because the installer must call some custom ESRI COM APIs to add the toolbox to the ArcToolbox list. These APIs modify something in the user’s local profile folder (under Application Data, I think). ESRI does not say how to accomplish this for users other than the logged-on user. They do not say, for example, how to do this for the Windows Default profile, so that new non-admin logons pick up a modified list of default toolboxes when their local profile is initialized for the first time.

 

It might be theoretically possible to add the toolbox for all users who have previously logged on and established a local profile by looping through those users and running ArcCatalog under their account (similar to using the “runas” command). But even if this could be done, it would be VERY slow. You may have noticed a big pause at the end of the MGET install, where the installer appears to hang. This is due to the installer starting ArcCatalog, adding the toolbox, and waiting for ArcCatalog to exit. It often takes 30 to 120 seconds. Multiply that by each user who has logged on and established a local profile… We decided it was just not worth it.

 

All that said, I know we could improve our documentation around this. I’ll put that on our To Do list.

 

Best,

 

Jason

 

From: Mallon, Michael Gregory [mailto:]
Sent: Thursday, November 17, 2011 12:30 PM
To:
Subject: [mget-help] MGET Post-installation Issues

 

Greetings-

 

I manage a computer lab at Boston University and a professor is teaching a class using MGET.  I am having trouble installing it correctly.  I am using ArcGIS 10, Win7 Pro 64-bit, and Python 2.6.  I downloaded and install the pywin32 for Python 2.6 and MGET 0.8 just fine, but I am having trouble using it after the install.  It only appears in the toolbox of the user (the admin) that I installed it under.  

 

When I try to reinstall MGET for the user that will actually use it, it states I cannot install as it is already installed.  I uninstalled it and reinstalled, logged into the user account and ran it as the administrator account, but it still didn't show up.

 

Any ideas?

 

Thanks,

Mike Mallon

CAS IT, Boston University

617-353-5930

 

Archives powered by MHonArc.
Top of Page