WixRemoveFoldersEx在安装和卸载期间似乎都在触发



我使用的是Wix 3.11.4510.0在安装过程中,我们在日志中看到错误。它似乎没有造成伤害,因为我不相信它实际上是在开火。我们接到客户的电话询问

谢谢本月

<ComponentGroup Id="UnInstallCleanUp" Directory="APPLICATIONFOLDER">
<Component Id="UnInstallCleanUp" Guid="{908C5D26-8379-4E62-86F8-26C9F0409EAA}">
<RegistryValue Root="HKLM" Key="SoftwarexxxxxxxxxsxPublicReadable" Name="Path" Type="string" Value="[APPLICATIONFOLDER]"  KeyPath="yes"/>
<util:RemoveFolderEx On="uninstall" Property="APPLICATIONFOLDER" />
</Component>
</ComponentGroup>

发生
Action ended 12:29:39: ValidateProductID. Return value 1.
Action start 12:29:39: WixRemoveFoldersEx.
MSI (s) (38!1C) [12:29:40:112]: Closing MSIHANDLE (7) of type 790531 for thread 5148
MSI (s) (38!1C) [12:29:40:112]: Closing MSIHANDLE (3) of type 790541 for thread 5148
MSI (s) (38!1C) [12:29:40:114]: Closing MSIHANDLE (6) of type 790531 for thread 5148
MSI (s) (38!1C) [12:29:40:114]: Closing MSIHANDLE (5) of type 790540 for thread 5148
WixRemoveFoldersEx:  Error 0x80070057: Missing folder property: APPLICATIONFOLDER for row: wrfD426C0E3317774F55FB79E7BF0E43C1F
MSI (s) (38:A8) [12:29:40:116]: Closing MSIHANDLE (2) of type 790542 for thread 8540
CustomAction WixRemoveFoldersEx returned actual error code 1603 but will be translated to success due to continue marking
MSI (s) (38:5C) [12:29:40:117]: Doing action: CostInitialize
MSI (s) (38:5C) [12:29:40:117]: Note: 1: 2205 2:  3: ActionText 
Action ended 12:29:40: WixRemoveFoldersEx. Return value 1.

WixRemoveFoldersEx自定义操作在每次操作期间运行,以确定它是否有工作要做。日志消息是指示属性没有设置,即使有工作要做,它也不能做任何工作。

最新更新