Jump to content
Sign in to follow this  
Javier Tarí

List of packages used by a project

Recommended Posts

When you compile a package, you can findi in Project->Information for ProjectName a listbox with all the packages it needs

I'd like to get that list so I can have all included in the application installer

Otherwise, I just get a message "Can't find the specified module"

 

Any help would be largely appreciated

  • Like 1

Share this post


Link to post
13 minutes ago, Fr0sT.Brutal said:

Hmm, section "requires" in package.dpk?

Unfortunately that is not always sufficient. F.i. it is valid to require VCL, but that implicitly includes RTL. In addition, that only references the DCP files and not the actual BPL files, which names are not necessarily extended with a 270 or so.

Share this post


Link to post

I found a valid way to get that list, althought a bit convoluted

 

Just in case someone needs it:

On the IDE, Project menu, Deployment

There you can find all the bpl needed; mark them all, and save the project

Then open the project file (it's XML); you will find a section with all those files:

<ProjectExtensions>

    <BorlandProject>

        <Deployment>

                <DeployFile LocalName="$(BDS)\Redist\Win32\soaprtl260.de" Configuration="Debug" Class="DependencyPackageResource">
                        <RemoteName>soaprtl260.de</RemoteName>
 

Parse this, get the "RemoteName" values that have .bpl extension, and you're done

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×