It's time for the final battle. There are a ton of different ways to handle the fight depending on your party. You can pick away at the archdemon with your mage and archer while the fighters hold off the horde. You can just protect the Dalish while they pick away at the archdemon. You can do a suicidal rush with your warriors with a healer giving them a lifeline. Or you can tear it apart with the ballistae in the tower.

click to enlarge
I personally like using the ballistae, since that's a pretty good way to fight. A ballista can fire as fast as you can click and it will cause about 115 points of damage with each hit. The archdemon is also kind enough to take up a position in front of at least one of these at any point. The only trick is that the ballistae will jam occasionally if you are playing on anything above easier. Murphy's law dictates that they will also jam at the worst possible moment in the battle. A rogue can fix the jam and reload the ballista, which is why I suggested that you bring one with you. If your rogue dies, then your only option is to just move on if one of them breaks.
For a melee fighter who's going to be in the thick of the fight, the Juggernaught armor is your best bet. If someone is wearing juggernaught armor with the corruption helm, then they'll be almost fully protected against the archdemon's spirit flame attacks. They are still vulnerable to grabs, swipes and wing attacks though.
A mage is actually a bit limited since only a few spells work. Stuff like winter's grasp should still do a bit of damage, but I honestly felt like it was much better to use your mage as a healer. Keeping your tank and rogue alive will be a much better use of mana. If they have some good crowd control spells, then can also shut down the hordes that will spawn as the fight continues.
Speaking of that, let's handle the archdemon attacks. It can do some pretty standard dragon stuff. It can grab a fighter and basically just kill him unless a mage breaks the attack. It can use its wings to knock everyone back. It can do general swipes too. It will breathe fire, but it's a special spirit flame. Normal fire protection won't help. It can also do a very special attack that covers a huge portion of the field in spiritual flames. This can wear away at rogues and mages really quickly, so keep an eye on them.