Questions tagged [package-install]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13 votes
1 answer
3k views

Query for Package Ids installed on an org?

I'm in the process of pushing my production org's metadata into a scratch org. For the most part, the migration is very simple but the biggest gotcha is getting around appexchange dependencies. Any ...
Matthew Mitchener's user avatar
9 votes
1 answer
802 views

Managed Package with or without Community

Background We are developing a Salesforce managed package. This package could be used with or without communities. Issue We have developed the components using Network class to get the network id ...
Robertinho Sedinho's user avatar
7 votes
1 answer
173 views

Spring '21 Aura component problem at install time

We have a problem with some unchanged code that will now not install in Spring '21. The problem might relate to the naming of a base component that we called "action": <aura:component ...
Keith C's user avatar
  • 135k
6 votes
1 answer
8k views

Install for "All Users" vs "Admin Only" (Salesforce CPQ)

I've been going back and forth most of the day today with both Salesforce's CPQ Team AND our implementation partner with regard to whether or not we should install Salesforce CPQ for All Users, or ...
Morgan Marchese's user avatar
5 votes
1 answer
380 views

Use Object from another manage Package without making my own package dependent to it

I have some problem with package dependency. This is the scenario. There is a package named as "Package B". In my class I want to check if "Package B" exist. If it exist, I will create new record on ...
Hope's user avatar
  • 1,243
5 votes
1 answer
802 views

How to debug beta package installation failures

This question is more a search for advice. I have been in charge of the building and releasing of a managed package for a couple of iterations now. When creating the first couple of betas we usually ...
Owen Davies's user avatar
5 votes
1 answer
1k views

How do you install a package to a sandbox while logged in via "Grant Login Access"?

A customer wants me to install a package for them. They have granted me login access via the "Grant Login Access" option. I log in to my SFDC account with the LMA (License Management App), go to ...
Ryan Elkins's user avatar
  • 7,637
5 votes
2 answers
300 views

How to Check whether my install handler works properly?

I have created a Installhandler class for the custom setting object and I would like to test whether it works properly when the installer installs it? How can I accomplish this? Since this is the ...
Priyalakshmi's user avatar
  • 1,456
5 votes
1 answer
83 views

Is the Salesforce Package Installer customizable?

In salesforce when you install an application from the app exchange, it brings you to the Package Installer, a three step process which allows the person installing the package to approve package ...
LShropshire's user avatar
5 votes
1 answer
750 views

How to install ngForce?

I want to try ngForce - there is one problem though - I'm pretty new to Salesforce and I really don't know how to install it. Does anybody have any tutorial or howto with install steps explained? I'...
mkubacki's user avatar
  • 269
5 votes
1 answer
1k views

Disable "Enable New Order Save Behavior" on newly created Dev or Trial Org to be able to install Salesforce CPQ

I'm trying to install Salesforce CPQ in a new Trial or Dev org, but it fails with the following error: "Can't install the package. This package uses old Order Save Behavior and can't be part of ...
Fabien Taillon's user avatar
5 votes
1 answer
396 views

Moving changes from one instance to another

I need to move changes from dev1 instance to dev2 and create upgraded managed package in dev2. I create unmanaged package in dev1 (managed are not allowed there) and try to install to dev2, it shows ...
Alexey's user avatar
  • 215
4 votes
4 answers
7k views

How to we get list of Installed packages and it version number

Is there a way to get version number using SOQL, The below once retrieves only NamespacePrefix, how do i get current version installed..? SELECT AllowedLicenses,CreatedDate,ExpirationDate,Id,...
Chandu's user avatar
  • 163
4 votes
1 answer
755 views

Is there any way to make a shell script to automate creation and preparation of a scratch org wait between steps?

I have the following shell script: sfdx force:org:create -f ./config/project-scratch-def.json -a ScratchOrg sfdx force:package:install --package 04t0M000001mF9bQAE -u ScratchOrg sfdx force:package:...
Brian Kessler's user avatar
4 votes
1 answer
2k views

I created an unmanaged package in a Developer org, but I can't figure out how to install it into a sandbox

I developed a custom app in my developer org and I want to deploy it to sandbox via unmanaged package . I created an unmanaged package in a Developer org, but I can't figure out how to install it ...
nayana pawar's user avatar
4 votes
3 answers
3k views

Managed package install error: Case-Case Layout: feedLayout is not supported for this layout

We got an error on package install, and the Salesforce backend team gave us the following error message: Case-Case Layout: feedLayout is not supported for this layout: Case-Case Layout: ...
George S.'s user avatar
  • 2,730
4 votes
2 answers
2k views

How to speed up scratch org creation when it includes installed packages

We are just setting out on our journey with 2GP. Our first 2GP is a new "extension package" that integrates our core product (an existing 1GP) with a third-party product (another existing 1GP). As ...
Phil W's user avatar
  • 34.3k
4 votes
1 answer
243 views

Is it possible to pass parameters into PostInstallScript?

The idea is to add parameters to the package installation link, for example: https://login.salesforce.com/packaging/installPackage.apexp?p0=04txxxxxxxxxxxx&cutom_param=some_value And then use ...
Mariia Illarionova's user avatar
4 votes
0 answers
186 views

Could Unlocked Package installation delete or update Record Types of existing records?

I have an object A with record type a1 and a2. I made an unlocked package and installed it to production org. After a few days, the client comes with some other changes and I made another version of ...
Sushant Srivastava's user avatar
3 votes
1 answer
4k views

Can't assign permission set to my user after installing Salesforce Data Mask!

After installing the Salesforce Data Mask managed package in my org I get the following error when trying to assign the permission set to my user: Can't assign permission set Data Mask to user ...
Renato Oliveira's user avatar
3 votes
1 answer
184 views

Best way to detect that code is running in InstallHandler context?

Implementing an InstallHandler allows a managed package to execute setup Apex code on install or upgrade of the package. I'd like to have some unrelated code - a trigger - behave differently for this ...
Keith C's user avatar
  • 135k
3 votes
1 answer
1k views

SFDX Can query Package Installation Status, can we?

With SFDX we can run the install:report command to check the status of a package installation. Is it possible to do the same via any API exposed by salesforce? So my question: Where is there any ...
Eric's user avatar
  • 54k
3 votes
1 answer
1k views

Running the packaged tests while installing with sfdx:force:package:install

Is there a way to run packaged or org tests when we install a Managed/Unlocked SFDX package to an org using sfdx force:package:install?
Robert Sösemann's user avatar
3 votes
1 answer
440 views

"Aura Integration Service Error" When installing a private package

Our clients see this error when they try to install a new version of our package. I read here and here that this is because our package is not publicly listed on AppExchange. We don't want to list it ...
Jorjani's user avatar
  • 2,192
3 votes
1 answer
291 views

Package install worked yesterday, but not today. Very strange error reported

We are creating a managed package, which recently passed the received security review, and have had no issues installing it in DE and EE orgs...until today. Today, installs are failing in production ...
ArtieBrosius's user avatar
3 votes
0 answers
146 views

Marketing Cloud Installed Package JWT

We have a package ready to be published on app exchange and wondering if the JWT secret of the package will change for the users installing our package. The JWT is hard coded in our Package.json and ...
Blue Cap's user avatar
3 votes
0 answers
244 views

Deleted VF Page, now getting Salesforce has blocked this package upgrade error

We removed a Visualforce page and two components that were no longer used in our package, but kept the controller in and in tact with no changes. I know to delete the Apex controller you have to empty ...
Tyler Dahle's user avatar
  • 2,629
3 votes
0 answers
418 views

Why can't I install my managed package beta into a sandbox?

We have a managed package on the AppExchange that various customers use. We develop this using SFDX and follow the usual processes of having unit tests with appropriate coverage etc. as required. As ...
Phil W's user avatar
  • 34.3k
3 votes
0 answers
52 views

My hard-coded string is modified during Upload or Install process!

In my VisualForce page I've used one component three times. This component has an attribute called tableTitle which gets a string and shows it on my table. This table component is in a package (let's ...
ashkanent's user avatar
  • 335
3 votes
0 answers
440 views

Translating using Translation Workbench in a Managed Package

I'm using translation workbench in my managed package to support different languages. I've so far had the necessity to translate just a couple of field labels in standard User page layouts. These ...
Vignesh Damodharan's user avatar
3 votes
0 answers
113 views

Managed package: corrupted permission sets?

Our managed package is failing to install in target orgs (DE, EE). The error that is thrown during installation is "Unable to Access Page", with a reference to one of the permission sets in the ...
ArtieBrosius's user avatar
3 votes
0 answers
594 views

Unmanaged package is taking too long time to install

I have a un-managed SFDC package which I want to install on a highly customized SFDC org ,this org already has 5 other packages installed. None of the package components is overlapping with existing ...
user7533's user avatar
  • 415
3 votes
0 answers
81 views

Salesforce Managed package distribution

I´m creating a Salesforce managed package with all my components. I would like to distribute it adding the URL INSTALLATION LINK on a web page of my site (not pushing the App on the AppExchange market)...
Enry's user avatar
  • 3,696
2 votes
2 answers
681 views

Maximum Number of Packages That Can Be Installed

Is there a maximum number of managed packages that can be installed in a single org or is it unlimited as long as the org stays under the other limits for objects, apps, etc.?
aaron's user avatar
  • 855
2 votes
4 answers
2k views

PostInstall script does not run after package installation

I have post install script that is suppose to create records belonging to a certain custom object and all other custom obj records related to it. In my onInstall method I am querying if the current ...
codeinprogress's user avatar
2 votes
1 answer
319 views

Managed Package Released Type

When I click on Upload button in Managed Package It's asking Release Type, Managed- Released and Managed -Beta In Managed - Released they have mentioned Note: you will not be able to edit some ...
SFDC_Beginner's user avatar
2 votes
2 answers
2k views

Is it possible to upgrade an unmanaged package by installing another unmanaged package?

I have an unmanaged package with some features for Opportunity. It includes classes, triggers and custom objects. I'd like to extend that features to Quote and Order. Is it possible to make extension ...
Fernando Gavinho's user avatar
2 votes
2 answers
262 views

SFDX or API Call to Install Package using Profile Mapping

We are an OEM provider and therefore control both the package and the destination orgs. Our packaging org has 3 profiles and we add permissions to those 3 profiles when creating new components (fields,...
Boyd P's user avatar
  • 141
2 votes
1 answer
34 views

When a former employer or consultant installed a managed package which can't easily be identified, how can I get the package Id?

I've recently joined a company with several manage packages that are deeply integrated into our solution. Before we can deploy any meaningful subset of metadata to a scratch org it is absolutely ...
Brian Kessler's user avatar
2 votes
1 answer
248 views

Assign Permission Set on Package Installation

Can we just add permission set to a user during the installation of the package, I Mean if the user is system admin then assign Admin Permission set and for remaining Users assign user permission Set. ...
SFDC's user avatar
  • 461
2 votes
1 answer
3k views

Missing Organization Feature: NetworksEnabledOnce

I'm having the following error message when I'm trying to install a package Missing Organization Feature: NetworksEnabledOnce
Carlos Iribar's user avatar
2 votes
1 answer
1k views

How to handle dynamic namespace when packaging lightning components in managed package?

I have lightning components developed in our dev org. I want to put them in packaging org to package and distribute it(in test sandboxes first through beta managed package). Now as they have been ...
Sarang's user avatar
  • 2,560
2 votes
1 answer
128 views

2nd gen package profiles issue

I stuck with issue with choosing custom profiles when 2nd gen package is installed. Package provides only 'No Access' and 'Full Access' settings, but in my project there are some custom profiles which ...
oldgunner's user avatar
2 votes
1 answer
196 views

Upgrade of 2G Managed Package failing due to Data Not Available (contentasset)

Upgrade of 2G Managed Package failing due to Data Not Available (contentasset): He example problem message from Salesforce email: (app_logo) Data Not Available The data you were trying to access ...
Peter Gascoyne's user avatar
2 votes
1 answer
160 views

What happens at install time for Content Security Policy (CSP) Trusted Sites included in a package?

When Remote Site Settings are packaged, for manual installs there is a prompt at install time to confirm the add of those settings to the org. Looks like Content Security Policy (CSP) Trusted Sites ...
Keith C's user avatar
  • 135k
2 votes
1 answer
2k views

Package installation error: Could not find related list [Histories] for entity [Contact]

I'm trying to install a package on a scratch org, but failing at Could not find related list [Histories] for entity [Contact]. My project-scratch-def.json looks like the following: And I have also ...
MisterButter's user avatar
2 votes
1 answer
1k views

Getting error while installing an unlocked package in a Scratch org

sfdx-project.json -> { "packageDirectories": [ { "path": "force-app", "default": true, "package": "GIFter", "versionName": "ver 0.1", ...
HG_'s user avatar
  • 125
2 votes
1 answer
430 views

Fetch the missing package.xml in an open source unmanaged package

I found this open source repo, and want to fork from it for own usage. Then I realize that the package.xml is not present in the repo. It is excluded by .gitignore for whatever reason. I perceive ...
Xi Xiao's user avatar
  • 863
2 votes
1 answer
45 views

How to migrate bug fixes in Released Managed package

I Created Released managed Package in DEV ORG, and Installing the Package in New DEV org and testing the Functionality. I Encountered a issue in Installed org, Same issue has replicated in Development ...
SFDC_Beginner's user avatar
2 votes
1 answer
2k views

Managed package takes too long to install

When developing a huge app (200+ classes, because FFlib and separation of conserns), Salesforce throws me an error while installing the package in a test environment: The install proceeds after a few ...
Renato Oliveira's user avatar