Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建一个安装项目,我需要执行一个 VBScript 文件作为自定义操作,但我不知道如何将脚本中的值返回到安装。我需要这样做,因为我想在脚本中决定安装是继续还是失败。
提前致谢。
您可以尝试调用(来自自定义操作脚本)
Err.Raise YourErrorCode
这应该会因失败而停止您的设置。