http://bugs.winehq.org/show_bug.cgi?id=29354
--- Comment #2 from Hans Leidekker hans@meelstraat.net 2011-12-16 05:10:59 CST --- (In reply to comment #0)
Because ProductID was set earlier during ValidateProductID standard action, CA_ValidatePID is never executed.
http://source.winehq.org/git/wine.git/blob/8cc5561fbf9f3250fbd2d986390e4013e...
If you remove line 6891 the installer executes the custom action which allows to proceed and let the installation finally succeed.
ValidateProductID must set ProductID of course (removing that line would break the tests). I wonder if CA_ValidatePID should be run before ValidateProductID.