[wix-users] Is bindingRedirect possible for a managed bootstrapper application?

John Cooper JoCooper at jackhenry.com
Wed Apr 5 06:14:17 PDT 2017

I used redirects without issue.  How is a.dll loaded?

John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050
JoCooper at jackhenry.com

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Gerhard Matzen
Sent: Tuesday, April 4, 2017 8:03 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Is bindingRedirect possible for a managed bootstrapper application?

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

I have a managed bootstrapper application.  My payload contains 2 dlls.

"a.dll" references Newtonsoft.Json 9.0.
"b.dll" references Newtonsoft.Json 10.0.

I tried adding...

      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
          <bindingRedirect oldVersion="" newVersion="" />

...to my BootstrapperCore.confi file.

And I put the 10.0 version of newtonsoft.json.dll in the payload.

But I still get an error similar to:

PI AF Services 2017
Could not load file or assembly 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

Since the bootstrapper is native, I don't know if there is a good way to do bindingRedirect.

Does anyone know if adding a binding redirect is possible?


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

NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.

More information about the wix-users mailing list