Hi Sujanakar,

is -fv option working for you?
in my case MSI does not keep the fv even when I specify, so what I have done
is set the REINSTALLMODE property to overwrite when it finds the existing
assembly
<Property Id="REINSTALLMODE"><![CDATA[amus]]></Property>

Regards,
Sajid


Sujanakar1 wrote:
> 
> 
> Hi,
>  
> I am developing an installer using Wix3, I want to deploy an Assembly to
> GAC thru my isntaller. The problem is the installer is not installing the
> assembly to GAC, if it already exist. I want to uninstall the existing
> assembly and install the one shipped with my application to GAC.
>  
> Here is the codesnippet what I have written to install the assembly to
> task:
> <Directory Id="GAC" Name="gac" >
> 
> <Component Id="C_Sharepoint.OMP"
> Guid="27C46406-A5B8-49a7-9F5B-D5D343A8C83E">
> 
> <File Id="F_Sharepoint.OMP" ProcessorArchitecture="msil" DiskId="1"
> Assembly=".net" KeyPath="yes"    
>   LongName="Microsoft.SharePoint.OMP.dll" src="..\..\External
> Assemblies\Microsoft.SharePoint.OMP.dll" />
> </Component>
> </Directory>
>  
>  
> Thanks,
> Sujanakar
> _________________________________________________________________
> Searching for weekend getaways? Try Live.com
> http://www.live.com/?scope=video&form=MICOAL
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Overwrite-GAC-Assembly-tp1588345p1637052.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to