If it is not the "correct way" how come Microsoft do it all the time! The issue is that if you do nightly builds to ensure compatibility with other applications built against the source you need to keep the assembly version the same. Look in the GAC, lots of MS assemblies have fixed assembly versions but there file versions change.
-bf doesn't seem to help, hence the question. Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: 05 July 2008 23:05 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Assembly file versions in wixlibs 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 ------------------------------------------------------------------------- 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