!include "WordFunc.nsh"

;开头先引用上面的文件

在section放如下脚本

ExecCmd::exec 'regedit /s "$INSTDIR\PDF_Converter\AnyDWGSoftware.reg"'