我用msiexec3.7写了一个安装程序,我会安装一个c#系统服务,会尝试用msiexec -x {product_code} -quiet重新安装软件。我的操作系统是Win8我首先通过UI安装软件,一段时间后,服务将创建一个新进程并开始调用msiexec,但失败了。你能在这方面帮我吗?我已经挣扎了很长时间了!非常感谢!
我有如下日志:
MSI (s) (7C:80) [00:22:01:708]: Warning: The package code in the cached package 'C:\windows\Installer\134f7d5.msi' does no
在我的Inno安装程序安装过程中,会将文件abc.msi复制到安装目录中,然后正确安装。但在卸载过程中,不会卸载abc.msi。在查看了卸载日志后,我了解了原因。以下是日志的一部分,为了更清楚起见,我将日期/小时替换为数字:
0. [deleting all the files... INCLUDING abc.msi!]
1. Uninstallation process succeeded.
2. Removed all? Yes
3. Need to restart Windows? No
4. INFO: Execute command: msiexec.exe /x "C:\