Hi,
You can invoke any menu item programatically. Here's how to do it:
sAICommandManager->GetCommandIDFromName(kCommandStr, &commandID);
sAIMenu->InvokeMenuAction(commandID);
This would work exactly the same way as if the user had clicked on the menu item himself.
The strings for various commands are defined in AIMenuCommandString.h but the constant for Package seems to be missing. The string constant for the package command is "Package Menu Item".
Let me know if this works for you.
Thanks.