Hi Sujanakar,

The DLL will be replaced in the GAC if the file assembly version is newer.
Notice that the WIX default is to include only the assembly version. Use the
linker option -fv  - If you are using Visual Studio, open the project
properties, go to Tools, and add -fv for the linker.

Regards

Eitan


-----Original Message-----
From: sujanakar reddy [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 28, 2008 10:55 AM
To: WixUsers
Subject: [WiX-users] Overwrite GAC Assembly


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


-------------------------------------------------------------------------
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

Reply via email to