[英]Wix Service Installer sometimes fails to install or start
Sometimes when i am running my installer (build with wix) it fails to install or start the service. 有时,当我运行安装程序(使用wix构建)时,它无法安装或启动服务。 But the problem doesn't always appear, so most of the time it works and but now and then it fails.
但是问题并不总是会出现,因此在大多数情况下都可以解决,但有时又会失败。 My solutions until now are:
到目前为止,我的解决方案是:
But i am looking for how i can permanently solve it. 但是我正在寻找如何永久解决它。 Since i want to have a reliable installer.
由于我想要一个可靠的安装程序。
The following devices are used: 使用以下设备:
Project specs: 项目规格:
Verbose, Debug Logging : Maybe try to do verbose logging with extra debugging information and direct write without buffering (to prevent loss of log buffer due to crashes - the latter not really needed for your case, but leave it in) and see if you get more information about the runtime error: 详细的调试日志记录 :也许尝试使用额外的调试信息进行详细的日志记录,并在不进行缓冲的情况下直接写入日志(以防止由于崩溃而导致日志缓冲区丢失-后者并非您真正需要的情况,但请留在里面),看看是否得到有关运行时错误的更多信息:
msiexec.exe /i C:\\Path\\Your.msi /L*vx! C:\\Your.log
Some questions : 一些问题 :
eventvwr
and OK
) eventvwr
和OK
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.