I’m trying to add some additional files to the macos installer.
So I am using CPACK_PRODUCTBUILD_RESOURCES_DIR that should add the files in the directory to the Resource folder in the pkg.
And then add a script that copies the files to the correct folder on the users computer.
But the files does not show up in the Resource filer. I have a _CPack_Packages folder in my build tree where I can see that the files are added together with the license readme and welcome files. But in the final pkg file they are not added.
What could be the problem?