I have a problem where I create a cub file using wix which works fine however when I try and run it against a MSI created with InstallShield I get the following error:
Fatal schema conflict between CUB file and database. Unable to perform evaluation.
I have had a look at the schema in both the installshield msi and in the cub and it appears to be related to a few columns being long ints (4) in the cub and short ints (2) in the msi.
Is there a way to change how wix sets the schema on standard tables like media, file, CustomActions etc?
Or alternatively is there an automated way I can adjust the schema of an MSI like through a script?
I've written a C#/DTF ICE framework and I blogged about it at:
MSI Tip: Authoring an ICE using C# / DTF
The actual source code is available for download at:
Authoring an ICE using C# / DTF
WiX doesn't have a "CUB" element per say but I was able to get it 'close enough'. I rememeber an email exchange with Rob asking for official support in WiX but the response was neutral at best.
Here's a snippet from the available source code:
Also I do the following as a post build event ( copy the MSI to CUB )