and set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE "your-script.sh") now I understand you want to have a single script for all package format so the INSTALL(SCRIPT ...) should work for all of them as soon as symlinks are supported (which may not be the case on Windows). --=20 Erk Membre de l'April - =AB promouvoir et d=E9fendre le logiciel libre =BB - http://www.april.org