Hi folks,

I'm having a problem with the WixDIFxAppExtension when I'm using it in merge 
modules, and I'm wondering if someone can offer me a simpler workaround than 
what I'm currently planning on doing :)

The problem is caused when we try to build two different merge modules using 
WIX (v3.0.4624.0) that include  drivers and then include both those merge 
modules in one MSI.

Both merge module projects link with difxapp_<platform>.wixlib, which adds the 
DIFx custom actions in the merge module custom action table: MsiProcessDrivers, 
MsiInstallDrivers, etc.

When those two merge modules are then merged into the same MSI, we obviously 
get duplicate row errors and the merge fails.

My hope would really be that if WIX builds a merge module using 
WixDifxAppExtension, instead of adding the DIFx custom actions directly if it 
instead would add a ModuleDependency on the DIFxApp merge module.  Then we 
could merge multiple merge modules that all depend on DIFxApp, and then the 
DIFxApp merge module would be merged in too to get the custom actions.  But 
that's not what it does, so I'm looking for a workaround...

One option we have is to build wixlibs instead of merge modules, but since I'm 
not guaranteed that consumers of our merge modules are going to use WIX (they 
might be using InstallShield) that doesn't really work well for our team.

The other option I think I have is that instead of using WixDIFxAppExtension, 
I'll add a <CustomTable
Id="MsiProcessDrivers">... and "manually" add the rows I need to the table, and 
then add the Dependency on the DIFxApp merge module too.  The problem here is 
that every merge module we create has to add the CustomTable, and we have to go 
look up the column definitions again, and then we have to look up the 
documentation to figure out the bit values we need to set in the Flags column.  
I'd like a way where we get to continue to use the nice xml schema and can 
still merge everything successfully.

I've also considered modifying the WIX DIFxAppExtension source to do what I 
want too...  but my workaround is easy enough to do, and since I'm unfamiliar 
with the WIX source, I figure it's a lot faster for me to work around the 
problem for now.

Any other ideas?

Thanks,

-Ari

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to