Wix-创建需要重启的模拟安装程序(返回3010) [英] Wix - Create a mock installer that requires a reboot (returns 3010)

查看:77
本文介绍了Wix-创建需要重启的模拟安装程序(返回3010)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对创建一个模拟wix安装程序感兴趣,该安装程序可用于模拟返回错误代码3010的安装.有没有一种方法可以使wix安装轻松返回特定的错误代码.会简单地从自定义动作中返回3010吗?还是仅仅是失败的自定义操作?

I'm interested in creating a mock wix installer which can be used to simulate an installation that returns error code 3010. Is there a way to get a wix installation to easily return a specific error code. Would simply returning 3010 from a custom action work? or would that just be a failed custom action?

欢迎任何建议! 谢谢 本

Any suggestions welcome! Thanks Ben

推荐答案

尽管在发布之前在SO上进行了搜索,但我后来找到了这个答案.

Despite searching on SO before posting, I have subsequently found this answer.

是否可以提示使用WiX安装后重启机器?

该行:

<InstallExecuteSequence>
      <ScheduleReboot After="InstallFinalize"/>
</InstallExecuteSequence>

欺骗并返回3010!

这篇关于Wix-创建需要重启的模拟安装程序(返回3010)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆