I have a WiX installer that needs to set new bits for Interop.FOOBARLib.DLL in the GAC. The problem is that the version number is the same as the old version, and the new bits do not write the GAC when updating. We execute the RemoveExistingProducts action after the InstallFinalize action.
We cannot transfer the RemoveExistingProducts action earlier to the installation.
The foobar.dll component is not my component, so I canโt increase the type library version (which will increase the speed of interaction and all these problems will disappear).
Is there a way to get the file to be updated in the GAC, even if the version is the same? I need a behavior like "gacutil.exe / f".
The component looks like this:
<Component Id="Interop.FOOBARLib.dll" Guid="{4E0C173E-34DF-4249-A3A6-5530047FA65B}" > <File Id="Interop. FOOBARLib.dll" Name="Interop.FOOBARLib.dll" KeyPath="yes" Assembly=".net"/> </Component>
windows-installer wix
Mike
source share