调试 VS2008 VBScript 自定义安装任务
我有一个安装项目,其中有一个执行 VBScript 文件的自定义操作。就目前情况而言,此安装在执行此脚本期间失败,并出现以下错误:
There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vender.
该脚本对我来说看起来很好,但我看不到调试它的方法。有没有办法输出跟踪消息,甚至为此目的暂停安装脚本的执行?
I have an install project which has a custom action that executes a VBScript file. As it stands, this installation fails during the execution of this script with the following error:
There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vender.
The script looks fine to me, but I can't see a way to debug it. Is there a way to output a trace message, or even pause execution of an install script for this purpose?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试将以下行插入到脚本中,以将调试消息输出到日志文件:
You could try to insert the following lines into your script to output debug messages to a log file: