我的「管理圖像」風格的WiX測試補丁無法正確更新現有安裝。當使用MSIEXEC/LX,我得到相關補丁「fi_executable.exe」以下信息:WiX補丁不能正確更新文件
MSI (s) (88:E0) [12:32:41:716]: Baseline: Patch {E244BAC8-7E62-4406-889B-4B67A4EA7369} modified fi_executable.exe with full-file update.
MSI (s) (88:E0) [12:32:41:716]: Baseline: First patch for fi_executable.exe, saving native info.
MSI (s) (88:E0) [12:32:41:716]: Baseline: fi_executable.exe version for baseline at patch Native: 6.0.5803.11, 1033, 53840.
...
MSI (s) (88:E0) [12:32:41:716]: Baseline: fi_executable.exe version for baseline at patch {E244BAC8-7E62-4406-889B-4B67A4EA7369}: 6.0.5830.99, 1033, 47104.
...
MSI (s) (88:E0) [12:32:41:763]: {E244BAC8-7E62-4406-889B-4B67A4EA7369} File: fi_executable.exe ValData: 6.0.5830.99 1033 47104
...
MSI (s) (88:E0) [12:32:41:763]: Native File: fi_executable.exe ValData: 6.0.5803.11 1033 53840
...
MSI (s) (88:E0) [12:32:42:543]: The file represented by File table key 'fi_executable.exe' has no eligible binary patches
因此,即使版本號變化,和Windows安裝程序指出,該補丁修改文件,Windows安裝程序沒有意識到應該有可執行文件的更新。
爲什麼?
這裏有一些修補技巧:http://stackoverflow.com/a/23450821。不要以任何方式完成,並且有點混亂。 – 2014-07-01 18:35:42