In order to make the WiX schema more uniform in its handling of advertised versus non-advertised COM registration and also dissuade people from using the built-in MSI TypeLib functionality (which has some issues with rollback and uninstall), we’ve changed the default for the TypeLib elements to non-advertised.  Previously this element defaulted to advertised authoring (which means that it puts rows in the TypeLib table).  It will now default to non-advertised (it will put rows in the Registry table).  If you have TypeLib elements which specify the Advertise attribute, they will be unaffected by this change (this only affects the behavior of not specifying the Advertise attribute).  This change also only affects WiX 3.0.

 

Please note that with non-advertised TypeLib authoring, it becomes necessary to fill in a bit more information in the WiX authoring about the TypeLib like the Interface, AppId, and Class child elements.  To switch back to advertised TypeLib entries, simply add Advertise=”no” on the affected TypeLib elements.  Also, please note that WixCop will not be able to automatically migrate this change since its impossible to tell if the absence of the Advertise attribute indicates authoring from prior to this change or afterwards.

 

Thanks,

Derek

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to