Hi there,
I had this same issue for the last few days. Currently testing deployment of Solidworks 2023 SP5 using an administrative image as Win32 App deployment.
I believe I have managed to fix the issue. The problem wasn't actually the installer, but the download part of the process was is where it was failing. The issue appears to have been because I had we GPO defining delivery optimization settings. The IME uses delivery optimization in the background to download app updates. This includes custom app deployments assigned by sys admins.
Check to see if you have anything affecting the delivery optimization settings on your machine, and try deploying your Win32 App again with default DO settings on the client. This fixed it for me.
Cheers