After I published my game I cannot run it because of the following error: "application cannot start because d3dx9_30.dll is missing. Try to reinstall this application."
So I installed the newer Gamestudio version (7.21.0) and again ran publish, but got the same error.