[wix-users] How to downgrade a file to an older version in a patch?

Uwe Laas uwe.laas at domla.de
Wed Nov 16 10:01:25 PST 2016


Hi,

what about a bootstrapper which removes the patch containing 5.0 and 
applies a corrected one afterwards?

Regards
Uwe

Am 16.11.2016 um 18:47 schrieb Patterson, Brent:
> Hello all,
>
> We've ran into a problem with a third-party dll that requires us to downgrade to an older version (i.e. 5.0 to 4.0).  The patch that upgrades it is already released, so we can't just undo the change.  So this patch needs to remove the newer version and put in the older version in its place.
>
> I searched the WiX discussion and internet for methods of doing this.  I tried different ideas, but they all didn't work.  Here's what I tried:
>
> Remove the component containing the dll, and add the dll as a companion file in another component.  This resulted in files not actually getting updated.
>
> Replace the component's "File" element with "RemoveFile" and adding a new component that adds the file back.  This merely resulted in the file getting deleted, but not restored.
>
> Changed component's "transitive" value from "no" to "yes".  Didn't do anything.
>
> These are the constraints we have to work around: We cannot open up the dll and alter its version number.  We cannot rename the dll.  Is there a valid method?  Or do we need to release two patches, one to remove the file, and one to add it back?
>
> ________________________________
>
> 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.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list