so you’ve decided you want at some files in an installer package, but it’s not the kind you can just “Show Package Contents” on; it’s a “flat” package.
pkgutil --expand ~/Downloads/ExampleApp.pkg /tmp/ExampleApp.unpkg
# look at a file list, not needed for just extraction
lsbom comexample.pkg/Bom
# unpack the payload
cat Payload | gzip -d | cpio -id