The <UX> element is a required element inside <Bundle> that references file(s) that act as the bootstrapper application. The following example references a file called ba.dll:
<?xml version="1.0"> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle> <UX SourceFile="$(ProgramFiles)\src\UI\ba.dll"/> </Bundle> </Wix>
Inside <UX> , you may also add additional payload files such as resources files that are required by the dll as follows:
<?xml version="1.0"> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle> <UX SourceFile="$(ProgramFiles)\src\UI\ba.dll"> <Payload SourceFile="$(ProgramFiles)\src\UI\resources\resources.dll"/> <PayloadGroupRef Id="ResourceGroupforJapanese"/> </UX> </Bundle> </Wix>
This example references a payload file that is on the local machine named resources.dll as well as a group of payload files that are defined in a PayloadGroup elsewhere inside a WiX Fragment.