function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
krishn chaithanyakrishn chaithanya 

Post install script is not updated, when managed package is upgraded????

Hi all,
        I am working on an app which we plan to publish on app exchange. previously we did managed package and done one major release(v1.6).at this time post install script class is aded. then after we will plan to release another version at this time we have created one custom setting object in that we have created record and did another major release(v1.7).

But, new installation of this package is working fine, when we upgraded the package from (v1.6-v1.7) at this time custom setting object record is not upgraded.
How to resolve the issue any one can suggest me ...
      
ShashankShashank (Salesforce Developers) 
According to this: http://www.salesforce.com/us/developer/docs/packagingGuide/Content/packaging_component_behavior.htm

"If a custom setting is contained in a managed package, and the Visibility is specified as Protected, the custom setting is not contained in the list of components for the package on the subscriber's organization. All data for the custom setting is hidden from the subscriber."

Please see if this is the case with you.