源文件是:
Dim WshShell
Dim strMacroPath, strDllPath, strRegDLLCmd
Set WshShell = WScript.CreateObject("WScript.Shell")
'获取Macro.ini所在路径
strMacroPath = WshShell.CurrentDirectory & "\macro\macro.ini"
'将Macro.ini的路径写入注册表
WshShell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\", "HuaWei\CBSCMMLTool\MacroPath"
WshShell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\HuaWei\CBSCMMLTool\MacroPath", strMacroPath, "REG_SZ"
WScript.Echo "脚本制作工具安装成功!"
'退出脚本
Wscript.Quit()
哪里出错了啊,请各位高手指点下,万分感谢~~~