Two arduino IDE in the same computer?

You can simply install the new version in a folder called eg arduino22.
The old verion in a folder called arduino17.
Create shortcuts in the place you want to start them from.
This should work.

There is one uncertainty and that is the dll files for the (usb) communication, that might not work.