I wrote a post-installer which is aimming to deploy some DB records once users install our unmanaged pkg.
The data is not deployed to the database as expect.
However, we can execute the method manually.
E.g: TestTemplatesInstaller.setupTestAdminConfiguration();
everthing will work fine by doing so.
I believe we missed some setting for the installhandler?
Any idea?
global class TestTemplatesInstaller implements InstallHandler {
global void onInstall(InstallContext context) {
setupTestAdminConfiguration();
}
global static void setupTestAdminConfiguration() {
.......
}
}