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
Gowkanapalli JanardhanreddyGowkanapalli Janardhanreddy 

postinstall script class not update in upgrade package?

Hi  we are developing on APP, i wrote post install scrpit class and i created maneged package .this managed package(1.1) i installed in test org.it is working fine. Afteri upload betapackage, in this time i created custom setting object is  profile list.in this object i added all lanuages systemadmin profile names and  customprofile names as a fields  .and i uploaded managed package (1.2). 

this time i upgrade latest mangaed package in test org .all thing are worked and installed.   customsetting object profile list is also created but  that object fields are not instred in test org.

please help on this query.
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.