SFDX force:package1:version:create command has incomplete PostInstall Instructions
Last updated 2020-02-03 ·Reference W-5743892 ·Reported By 8 users
For 1st generation packages, developers can signify that they want either a URL or a Visualforce page as a PostInstall instruction page that will be displayed to users upon install.
We need to improve this command such that developers can set a visualforce page as the URL.
For the sfdx command
The postInstallUrl flag is expected to always be a fully formed URL, which results in not being able to set the URL to be that of a visualforce page in the package.
sfdx force:package1:version:create -n pkg1.1 -i 033xxxxxxxxxxxx -p "apex/TestPostInstall" -u email@example.com -w 10
ERROR: Invalid URL format.
The only available workaround as of now would be to use the Package Upload UI until this issue is fixed.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.