I don’t know if you’re implying nuclear when you say, “isn’t going to be fought by conventional means,” but I don’t think either side would necessarily use nukes. The same self-preservation principle, which makes you think Pakistan would not enter the war, would prevent them from using such weapons. If nuclear weapons are used, then there are only losers.
Look at the India-China border.