Using "-fv" is not the "correct way" to install files into the GAC.  The 
"correct way" is to update the Assembly version not the assembly file version.  
One more legacies of Fusion and its, IMHO, under-informed design choices.

You might try and see if a binary .wixlib (pass "-bf" switch) gets you what you 
want.

If that doesn't work, you can author the MsiAssemblyName table using 
AssemblyName elements.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm
Sent: Friday, July 04, 2008 11:19
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Assembly file versions in wixlibs

I am creating a wixlib that contains some components that go in the GAC,
because the assembly version stays the same but the file version changes
I need to use the light option "-fv" to get them to install. Is there
any way to embed the assembly file versions in the wixlib so that I
don't have to rely on the consumer of the wixlib setting the "-fv"
option?



Neil



P.S. Personally I think "-fv" should be on by default, it is too
confusing to explain to someone why an assembly isn't being overritten
in the GAC and I can't see any penalty for using it.



Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to