diff --git a/Source/CPack/cmCPackZIPGenerator.cxx b/Source/CPack/cmCPackZIPGenerator.cxx index eeedaee27..962cc7574 100644 --- a/Source/CPack/cmCPackZIPGenerator.cxx +++ b/Source/CPack/cmCPackZIPGenerator.cxx @@ -100,7 +100,7 @@ int cmCPackZIPGenerator::CompressFiles(const char* outFileName, case cmCPackZIPGenerator::StyleWinZip: dmgCmd << "\"" << this->GetOption("CPACK_INSTALLER_PROGRAM") << "\" -P \"" << outFileName - << "\" @\"" << tempFileName.c_str() << "\""; + << "\" @winZip.filelist"; needQuotesInFile = true; break; case cmCPackZIPGenerator::StyleUnixZip: