[wix-users] Replace System.Message with custom self developed messagebox.

Patterson, Brent bcpatterson at xactware.com
Mon Sep 19 09:35:15 PDT 2016

Have you also added the dll to the BootstrapperApplicationRef element in the bundle?  When the installer is built, it will bundle all payloads into the installer, including the dlls you need if you explicitly state those to be included.


    <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost" >
      <Payload SourceFile="[PATH TO YOUR DLL HERE]" />
      <Payload SourceFile="C:\Program Files\WiX Toolset v3.10\SDK\Microsoft.Deployment.WindowsInstaller.dll"/>

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of ashish agarwal
Sent: Sunday, September 18, 2016 11:12 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Replace System.Message with custom self developed messagebox.

I am using wix for creating our installer. Our UI team has developed our own messagebox and is present in dll. I want to replace system messagebox with my messagebox.
When I put a try catch for my message box then it says:
 InnerException System.IO.FileNotFoundException: Could not load file or assembly 'XXX' or one of its dependencies. The system cannot find the file specified.

I have added the dll in the references of bootstrapper. How can I use it? I think as it embedded in the exe this might not be found. Any pointers?

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


Xactware's opt-in mailing list allows you to receive Xactware News that is of interest to you. Visit my.xactware.com today to join or to update your email preferences!


This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.

More information about the wix-users mailing list