If you want an easy way to install it, download D-Fend Reloaded, install the game through there and play. I made a video at
http://youtu.be/LxpGjSoo0B8 that helps with setting up games through D-Fend, although the example game I used was an abandonware download as opposed to a cd installation. Using D-Fend I have installed my Warcraft 2 cd and expansion and both are playable. Also if that video helps you get an idea of how to setup the game, also check my other video that is specifically how to setup Warcraft 2 in D-Fend, again its using the abandonware download though:
http://youtu.be/DcFlovWUsDM