EXEC : CPack error : Cannot initialize the generator ZIP

I have used the following for quite a while in my cpack :slight_smile:
SET( CPACK_GENERATOR “NSIS” “ZIP” )

But recently I get the error in the title.
The only thing I remember is updating to 3.23.1.

Any know why this would fail or where I can find details.

When I switch the order the nsis generatator fails to init.
In retrospect, i think this is tied to code signing.

Try running cpack directly and add the --verbose option. Maybe that will provide more information in the lead-up to the error.

Also, try it without any quotes. I don’t know if there’s some weird quote-related error due to using things that look like quotes but aren’t. Just trying to eliminate potential causes, even if it’s an unlikely thing.