本人情况是zbrush和maya都安装在D盘。autodesk community的方法亲测有用。

After you install goz from zbrush close it.

copy GoZBrushFromMaya.mel to 

C:\Program Files\Autodesk\Maya2018\plug-ins

From C:\Users\Public\Pixologic\GoZApps\Maya

also Copy userSetup.mel to C:\Users\username\Documents\maya\2018\scripts

from C:\Users\Public\Pixologic\GoZApps\Maya