[wix-users] How to copy the payloads required for setup exe

shashank khadse shashank.s.khadse at gmail.com
Tue Aug 9 00:04:16 PDT 2016


Hello Huy,
Thanks for the suggestion.
After adding the payloads under BootstrapperApplicationRef element getting
this error


Bundle.wxs(53,0): error CNDL1127: A UX Payload
('E:\Work\bin\payload\x64\MyPayload.dll') was marked for something other
than embedded packaging,
possibly because it included a @DownloadUrl attribute.
At present, UX Payloads must be embedded in the Bundle, so the requested
packaging is being ignored.

Any idea about this ?
As per your suggestion I have added the payload like this

    <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLargeLicense" >
      <bal:WixStandardBootstrapperApplication
                  SuppressOptionsUI="yes"
                  ShowVersion="yes"
                  SuppressRepair="yes"
                  ShowFilesInUse="yes"

LicenseFile="$(var.SolutionDir)..\Installer\License\License.rtf"

ThemeFile="$(var.SolutionDir)..\Installer\Common\Resources\RtfLargeTheme.xml"

LocalizationFile="$(var.SolutionDir)..\Installer\Common\Resources\RtfTheme.wxl"
                  />

                <Payload Compressed="no"
SourceFile="$(var.Installer.TargetDir)MyPayload.dll"
SuppressSignatureVerification="yes" />

    </BootstrapperApplicationRef>

Please let me know if there is any way to resolve this situation .

Thanks & Regards
Shanky.

On Tue, Aug 9, 2016 at 1:58 AM, Huy Doan <hdoan at vmware.com> wrote:

> In the BootstrapperApplicationRef element, try to add the payloads there
> and see how it goes.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of shashank khadse
> Sent: Monday, August 8, 2016 5:35 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] How to copy the payloads required for setup exe
>
> Hello All,
> I need to copy some dlls required for execution of the setup exe.
> From the log, it seems that the exe is launched from temp directory...
>
> path:
>
> *C:\Users\Shanky\AppData\Local\Temp\{DFC667BF-952E-
> 4477-972E-3698339F578F}\.cr\MySetup.exe*
> How to copy the payload dlls need for execution to the directory ( created
> at runtime ) with UID name
> *?*
>
> I tried using the payload options for msi package*, *but the dlls are
> getting copied into a directory under* "**C:\ProgramData\Package Cache*
> *".*
> But since the setup executable location is different than the cached dlls*
> , *the installation crashes with an error saying the required dlls missing
>
> *.*
> Is there any workaround for this issue ?
>
> Thanks & Regards
> Shanky
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.
> firegiant.com_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-
> YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=FONNBh4KxpmW2_
> C3Hwq7CCnTpXGXtjgAVjq7vlN7D5Q&s=VMkyiomoR507dEizSYvzGFQpMVkcaS
> 30tmOGhH0CPgs&e=
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list