我在使用这个自定义操作时遇到了问题,而且我还没有看到一个比运行文件更复杂的像样的示例。
我读过这个,但它没有考虑额外的参数: http ://wix.sourceforge.net/manual-wix3/qtexec.htm
在看到有关引用收到此错误的信息后,我才设法使这一点不抱怨。我不确定为什么,但是该命令可以复制并粘贴到命令窗口中。
任何人都知道为什么这在安静的 CA 中不起作用?
干杯,J
MSI (s) (E4:F0) [11:04:26:983]: Creating MSIHANDLE (1774) of type 790542 for thread 6896
MSI (s) (E4:28) [11:04:26:983]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI2D95.tmp, Entrypoint: CAQuietExec
MSI (s) (E4!A0) [11:04:26:998]: Creating MSIHANDLE (1775) of type 790541 for thread 9632
MSI (s) (E4!A0) [11:04:26:998]: Creating MSIHANDLE (1776) of type 790531 for thread 9632
MSI (s) (E4!A0) [11:04:26:998]: Closing MSIHANDLE (1776) of type 790531 for thread 9632
MSI (s) (E4!A0) [11:04:26:998]: PROPERTY CHANGE: Deleting QtExecCmdLine property. Its
current value is '"c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -s
W3SVC/1/ROOT/ConfigurationWebService"'.
MSI (s) (E4!A0) [11:04:26:998]: Creating MSIHANDLE (1777) of type 790531 for thread 9632
CAQuietExec: Error 0x80070003: Command failed to execute.
MSI (s) (E4!A0) [11:04:26:998]: Closing MSIHANDLE (1777) of type 790531 for thread 9632
MSI (s) (E4!A0) [11:04:26:998]: Creating MSIHANDLE (1778) of type 790531 for thread 9632
CAQuietExec: Error 0x80070003: CAQuietExec Failed
MSI (s) (E4!A0) [11:04:26:998]: Closing MSIHANDLE (1778) of type 790531 for thread 9632
MSI (s) (E4!A0) [11:04:26:998]: Closing MSIHANDLE (1775) of type 790541 for thread 9632
MSI (s) (E4:28) [11:04:26:998]: Closing MSIHANDLE (1774) of type 790542 for thread 6896
Action ended 11:04:26: QtExecExample. Return value 3.
Action ended 11:04:26: INSTALL. Return value 3.