Update the AssemblyFileVersion is the only way I know.

On Mon, Nov 23, 2009 at 11:13 AM, Mike Dion <md...@vertical.com> wrote:

> I have an application which needs to install new bits for
> Interop.FOOBARLib.DLL to the GAC.  The problem is that the version
> number is the same as the old version and the new bits do not get
> written the GAC on an upgrade.  We execute the RemoveExistingProducts
> action after the InstallFinalize action.
>
> We cannot move the RemoveExistingProducts action to earlier in the
> install.
> The foobar.dll component is not my component so I cannot increment the
> type library version (which would cause the version of the interop to
> increment).
>
> Is there a way to FORCE the file to be upgraded in the GAC even if the
> version is the same?  I want behavior similar to "gacutil.exe /f".
>
> The component looks like:
>   <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>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to