Somewhat similar to #31745. If you build --target deploy and then try and cmake --install, it will fail:
cmake -B build --toolchain /root/ci_scratch/depends/x86_64-w64-mingw32/toolchain.cmake -DCMAKE_INSTALL_PREFIX=/root/testing
cmake --build build --target deploy
cmake --install build
-- Install configuration: "RelWithDebInfo"
-- Installing: /root/testing/bin/bitcoin-wallet.exe
-- Installing: /root/testing/share/man/man1/bitcoin-wallet.1
-- Installing: /root/testing/bin/bitcoind.exe
-- Installing: /root/testing/share/man/man1/bitcoind.1
-- Installing: /root/testing/bin/bitcoin-cli.exe
-- Installing: /root/testing/share/man/man1/bitcoin-cli.1
-- Installing: /root/testing/bin/bitcoin-tx.exe
-- Installing: /root/testing/share/man/man1/bitcoin-tx.1
-- Installing: /root/testing/bin/bitcoin-util.exe
-- Installing: /root/testing/share/man/man1/bitcoin-util.1
-- Installing: /root/testing/bin/bitcoin-qt.exe
-- Installing: /root/testing/share/man/man1/bitcoin-qt.1
CMake Error at build/src/qt/test/cmake_install.cmake:41 (file):
file INSTALL cannot find
"/root/ci_scratch/build/src/qt/test/test_bitcoin-qt.exe": No such file or
directory.
Call Stack (most recent call first):
build/src/qt/cmake_install.cmake:56 (include)
build/src/cmake_install.cmake:142 (include)
build/cmake_install.cmake:52 (include)
Maybe this isn't a supported workflow? Not completely sure, but I can imagine someone running into this after using the Windows build docs. I did testing #32002.