There are perfectly valid and correct scenarios where one would need to update the AssemblyFileVersion but not the AssemblyVersion. It would be pretty hard to deploy .NET framework service packs ( or any other strong named SDK runtime ) without this ability.
Unfortunatly I've also seen developers abuse this story during development simply because they didn't want to have to rebuild certain components. Between that and trying to do multiple instance installs with components in the GAC, it would get ugly. So in short I'd reccomend always changing AssemblyVersion/AssemblyFileVerson during the development cycle and only change AssemblyFileVersion on a case by case basis. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Sat, 7/5/08, Rob Mensching <[EMAIL PROTECTED]> wrote: > From: Rob Mensching <[EMAIL PROTECTED]> > Subject: Re: [WiX-users] Assembly file versions in wixlibs > To: "General discussion for Windows Installer XML toolset." > <wix-users@lists.sourceforge.net> > Date: Saturday, July 5, 2008, 5:05 PM > 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