web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Solution Packager Extr...
Power Apps
Unanswered

Solution Packager Extract does not extract PCF controls

(0) ShareShare
ReportReport
Posted on by 186

I am using SolutionPackager to extract PCF controls from an exported unmanaged solution. After running the extract command Customization.xml has reference to the custom control but I do not see Controls folder in it. This is causing issues when I try to repack the same contents.

 

Am I missing something? Does Solution Packager not support extracting custom controls?

 

@ScottDurow @ben-thompson 

I have the same question (0)
  • ryanspain Profile Picture
    100 on at

    Hi @PowerMaverick,

     

    I gave this a try and did not encounter any issues - steps I followed below.

     

    1. Download tooling

    Using this documentation, I installed version 9.1.0.45 of the tooling from NuGet (easy as running a PowerShell command).

     

    2. Export unmanaged solution

    The solution contains a simple text input control I made.

     

    3. Unpack the unmanaged solution

    I ran the below command from within the Solution Packager executable to extract the unmanaged solution ZIP file.

     

    .\SolutionPackager.exe /action: Extract /zipfile: "C:\temp\PCF_TestSolution.zip" /folder: "C:\temp\PCF_TestSolution_Extracted"

     

     I observed the below structure that include a Controls directory with my custom PCF control inside.

     

    PCF_TestSolution_Extracted
     |- Controls
     | |-rsnet_RyanSpain.NET.TextInputControl
     |- Other 

     

     

    4. Pack the extract solution contents

    Again, from the Solution Packager directory, I ran the below command to pack the extracted contents back into the same ZIP they came from.

     

    .\SolutionPackager.exe /action: Pack /zipfile: "C:\temp\PCF_TestSolution.zip" /folder: "C:\temp\PCF_TestSolution_Extracted"

     

     

    I didn't encounter any errors and was able to import the packed solution into my environment.

     

    I hope this helps some way or another!

     

    Ryan

  • ryanspain Profile Picture
    100 on at

    Hi @PowerMaverick,

    I gave this a try just now and it appears to be working as expected - steps I followed below:

     

    1. Install tooling

    I installed the tooling that contains Solution Packager use this PowerShell command found on the docs website.

     

    2. Export unmanaged solution

    I created an empty solution and included a simple text PCF control I made.

     

    3. Unpack unmanaged solution

    I ran the below command from the Solution Packager (../Tools/CoreTools/) directory to unpack the solution ZIP file I extracted from my environment.

     

    .\SolutionPackager.exe /action: Extract /zipfile: "C:\temp\PCF_TestSolution.zip" /folder: "C:\temp\PCF_TestSolution_Extracted"

     

    This resulted in the below structure in my specified extract folder:

     

    📁PCF_TestSolution_Extracted
    |-📁Controls
    | |-📁rsnet_RyanSpain.NET.TextInputControl
    |-📁Other

     


    4. Pack extract solution contents

    Using the very same command with Pack substituted in for Extract, I packed the above contents back into a solution ZIP file.

     

    .\SolutionPackager.exe /action: Pack /zipfile: "C:\temp\PCF_TestSolution.zip" /folder: "C:\temp\PCF_TestSolution_Extracted"

     

    I was able to successfully import the packaged solution file into my environment without issue.

    Hope this helps in some way or form!

     

    Ryan

  • Verified answer
    ryanspain Profile Picture
    100 on at

    Hi @PowerMaverick,

     

    What version of Solution Packager are you using? I am using 9.1.0.45.

     

    I gave this a try just now and it appears to be working as expected - steps I followed below:

     

    1. Install tooling

    I installed the tooling that contains Solution Packager use this PowerShell command found on the docs website.

     

    2. Export unmanaged solution

    I created an empty solution and included a simple text PCF control I made.

     

    3. Unpack unmanaged solution

    I ran the below command from the Solution Packager (../Tools/CoreTools/) directory to unpack the solution ZIP file I extracted from my environment.

    .\SolutionPackager.exe /action: Extract /zipfile: "C:\temp\PCF_TestSolution.zip" /folder: "C:\temp\PCF_TestSolution_Extracted"

    This resulted in the below structure in my specified extract folder:

    📁PCF_TestSolution_Extracted
    |-📁Controls
    | |-📁rsnet_RyanSpain.NET.TextInputControl
    |-📁Other


    4. Pack extract solution contents

    Using the very same command with Pack substituted in for Extract, I packed the above contents back into a solution ZIP file.

    .\SolutionPackager.exe /action: Pack /zipfile: "C:\temp\PCF_TestSolution.zip" /folder: "C:\temp\PCF_TestSolution_Extracted"

    I was able to successfully import the packaged solution file into my environment without issue.

     

    Hope this helps in some way or form!

     

    Ryan

  • Danish N. Profile Picture
    186 on at

    Thanks @ryanspain you were absolutely right. I thought I was using the latest version.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard