In both cases WED creates the .exe file to launch your game. When you press "publish", WED creates a folder with all your game files and the .exe to start the game. With "resource" the game files are encrypted and packed into these .wrs files, so that no one can look at your code or steal your files. However, you can only make .wrs files with the Professional Edition of 3DGS.