I have many mpk files, which are open by ArcMap.

I would like to have them as mxd files and a folder with the shapefiles that come with them, and when you open the MXD file the shapefiles should be already loaded there.

Is there a way to automatically do this for all mpk files and not one by one?

1 Answer 1


If you read the help file on Extracting packages there is sample code that will automate the extraction from many packages for you. You just need to scroll down to the code sample section, it's all in the help file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.