You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a particular situation, we would like to overwrite BootstrapperCore.config in a single installer. WiX v3 allows us to accomplish this as seen below.
The existing configuration is replaced during runtime by the customA.config. However with WiX v4, we are unable to accomplish the same result, and it acts in accordance with the documentation.
"Each payload in the bundle has a relative file path that is used when the payload gets cached or extracted. In v4, collisions are detected."
Error in WiX 4 - The Payload 'pay8C8TM23OiETbMEoCJIsVFIgOkUc' has a duplicate Name 'WixToolset.Mba.Host.config' in the BA container. When extracting the container at runtime, the file will get overwritten.
Is it possible to overwrite the payload in WiX v4 using a workaround? Would someone kindly provide a suggestion?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Our WiX3 installers make reference to a payload group that contains the BootstrapperCore.config file.
In a particular situation, we would like to overwrite BootstrapperCore.config in a single installer. WiX v3 allows us to accomplish this as seen below.
The existing configuration is replaced during runtime by the customA.config. However with WiX v4, we are unable to accomplish the same result, and it acts in accordance with the documentation.
"Each payload in the bundle has a relative file path that is used when the payload gets cached or extracted. In v4, collisions are detected."
Error in WiX 4 -
The Payload 'pay8C8TM23OiETbMEoCJIsVFIgOkUc' has a duplicate Name 'WixToolset.Mba.Host.config' in the BA container. When extracting the container at runtime, the file will get overwritten.
Is it possible to overwrite the payload in WiX v4 using a workaround? Would someone kindly provide a suggestion?
Beta Was this translation helpful? Give feedback.
All reactions