While reading through the engine.cpp (and related) code, I modified my
implementation to provide a text file in the payload group, so that there
was nothing ambiguous (as there may have been by using the empty
PayloadGroup).  (I also discovered the usefulness of reviewing the
bundle-manifest.xml file when 'do not delete temporary files' is selected.)

With the added text file as a payload, the project compiles successfully,
however when the bundle is launched, the first Payload listed in the UX
element of bundle-manifest.xml, is now displayed in an error box which says
"Failed to load UX DLL".

In both implementations the failure point is in userexperince.cpp (line 99)
in UserExperienceLoad.  It seems to try and so a LoadLibrary on every
Payload regardless of whether the Payload file is a DLL or not.  The docs do
not indicate that a Payload can only be a DLL and in fact it is common to
have XML, wxl, and png files.

Is this a bug, or and I just pushing an edgecase? 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/PayloadGroupRef-to-import-fragments-Bundle-fails-tp7596356p7596360.html
Sent from the wix-users mailing list archive at Nabble.com.

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

Reply via email to