Use the cp command to move the pack to the deployment zone. If working across servers, combine cp with scp .

By default, CPack will generate a .zip archive and a .tar.gz archive. These are the "packs" that cp created, ready for distribution. You can also configure CPack to create platform-specific installers like an NSIS .exe for Windows or a .deb for Debian-based Linux systems. CPack installs the software into a temporary directory and then copies the install tree into the format of the native packaging tool. The cpack executable is the CMake packaging program; CMake-generated build trees created for projects that use the INSTALL_* commands have packaging support.

Your upfiles.txt must be formatted correctly for the installer to read it. A standard format usually looks like this: