I'm cross-posting as I'm pretty sure this is an issue with Windows 8 OS rather than WIX and if there are any Windows Installer guys here it may also be picked up. MS ((http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_install/issue-with-windows-installer-custom-action/4f9de033-600a-47e1-9cea-67be34852b8b)
I have a installer which uses a custom action type 1 to install on our flagship products. It works on pretty much every OS except for WIndows 8.
Windows 7 Log
Action ended 14:53:44: DuplicateFiles. Return value 1.
MSI (s) (90:AC) [14:53:44:392]: Skipping action: <Action Name="" Removed=""> (condition is false)
Windows 8 Log
Action ended 14:45:50: DuplicateFiles. Return value 1.
MSI (s) (58:10) [14:45:50:082]: Doing action: <Action Name="" Removed="">
Action 14:45:50: <Action Name="" Removed=""> .
Action start 14:45:50: <Action Name="" Removed=""> .
The logic in the InstallExecuteSequence table for the action is defined as: "NOT TOKEN AND NOT Installed" and the value is being set further up the chain:
Property(C): TOKEN = e4b64726-0358-4426-9fea-b8de0f579b11
What is interesting is that if I make it so it calls this action multiple times (once from a UI and once from a silent install), it seems that public values which are populated are no longer available once they get into the later actions.
Is this a known bug?