Script Continues Before App Installs

Maybe you get the installer on a win10 PC and Win11 needs a different installer.

If that doesn’t work, you’ll have to force the installer to create a log file for you.
This series of posts should help:
MSI

NSIS

INNO

InstallSheild