When opening an avi or mpg file, right click on the file and select %26quot;open with...%26quot; and select the nero application. Before clicking ok, check the checkbox that says always use this application.
By the way, I'd recommend a free video player called VLC instead. It can play even more stuff than Media Player.