Some old installer executables contain 16-bit code. Windows 11 is exclusively 64-bit and cannot run 16-bit applications natively. While Port Royale 2 itself is a 32-bit game, the autorun or setup wizard may fail.
Right-click PortRoyale2.exe → Properties → Compatibility: port royale 2 windows 11