Running C:\Users\username\AppData\Local\Temp\chocolatey\javaruntime\javaruntimeInstall.exe with /s REBOOT=Suppress was not successful.cinst javaruntime -force之后的退出代码为0,包被移动到C:\ProgramData\chocolatey\lib-bad。
CleanRegistry (condition is false)同样的条件怎么可能计算为False编辑:当我的自定义操作请求重新启动时,我还尝试使用条件REBOOT~=“强制”来有条件地执行命令。此条件永远不会计算为true,并且我的命令没有运行。正通过从自定义操作调用MsiSetProperty来设置该属性。此自定义操作不起作用,或者我在我的情况下犯了错误!有什么建议吗?