Oh, sorry, maybe I misunderstood where this thread was going. The switch to turn off the file versioning/hashing stuff is there to support "faster build" processes that don't have access to all the files at the time they want the Binder to run. The Office build system is very large and this feature exists to shave off time from their build times. A savings of a minute or two per SKU in Office can translate into hours saving for them.
I know a lot of people talk about WiX commonly being used to build small install projects but the WiX toolset also scales to *very* *very* large projects well (by design). Also, I think about that balancing act all the time. Every design decision that affects the developer experience is agonized over. One thing that I think is different in WiX from many other MSI packaging vendors out there is that we really try to push very hard towards building the cleanest MSI packages possible. Sure, we could just autogenerate GUIDs all over the place and be random with our primary key attributes and make it easy to fill the FileVersion column with fake data. But that's not what the WiX toolset is about. However, I'm always happy to debate each case. When a particular item is debated several times that means it may be something to reconsider. For example, the three things I list above are things that I'm actively watching and thinking about appropriate/safe solutions. But arguments that boil down to " I'm too busy/lazy/unable to fix the design flaws in my application." don't usually sway me. <grin/> So, yeah, I'm very much aware of the line. <smile/> -----Original Message----- From: Brett Kapilik [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 1:58 PM To: Rob Mensching; Matt Anderson; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Getting file versions But then why allow it to be turned off at all? Even if not from the XML, then why not as another command line option? -noscan "c:\myfile.exe" Technically that would be better than turning it off altogether. Not trying to be argumentative. And in the end I am fine with the way it works - just trying to bridge the gap between the way it is "supposed" to be done and the unforseen need to do things another way. It is a fine line and a real balancing act that all software developers face from time to time. - Brett > -----Original Message----- > From: Rob Mensching [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 2:52 PM > To: Brett Kapilik; Matt Anderson; wix-users@lists.sourceforge.net > Subject: RE: [WiX-users] Getting file versions > > We've had this debate before. We decided not to do this back > then... I'm still uncomfortable doing this in the WiX toolset > because it technically isn't the way you're supposed to do things. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Brett Kapilik > Sent: Friday, April 27, 2007 12:26 PM > To: Matt Anderson; wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Getting file versions > > Matt, > > For the record, I also think that it would be good if WiX let > you override file versions, sizes and languages one an > individual basis. As it is it is all or nothing (controlled > by a switch to the linker - I think). I think that it would > be great if there was a way to turn off the automatic > version, size and language detection on a file-by-file basis. > > - Brett > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Matt > > Anderson > > Sent: Friday, April 27, 2007 2:15 PM > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Getting file versions > > > > Brett Kapilik <brett <at> indigorose.com> writes: > > > > > > > > Matt, > > > > > > What do you mean by: > > > > > > "I just wanted to know if there was a way to determine > > automatically > > > in WiX if a file had version information or not and set > > that attribute > > > accordingly." > > > > > > Where would you expect this to happen? WiX does, by > > default, determine > > > if the file has version information or not when you compile > > and link. > > > If it has it, it reads it and sets the appropriate > > attributes, if it > > > doesn't have version information, it doesn't ad dthe > attributes. In > > > that case Windows Installer will go by the modified date of > > the file I > > > believe. > > > > > > I don't know if that helps or not because I am not sure how to > > > interpret your question. > > > > > > Regards, > > > > > > Brett > > > > Sorry. I was originally hoping there might be some way to set a > > property or something along those lines if a file had version > > information or not. Based on that property, WiX would set the > > DefaultVersion attribute. However, the more I think about > it the more > > I realize that isn't very feasible. > > It doesn't make sense to me to try and set that when the > installation > > is running, but rather during the construction of the source file. > > I've been trying to create a tool that would automate building WiX > > source files and calling candle and light. I think it may > be best to > > simply add that functionality to the tool as opposed to > having WiX do > > it. > > > > Sorry for any confusion and thanks for your time. > > > > -Matt Anderson > > > > > > -------------------------------------------------------------- > > ----------- > > This SF.net email is sponsored by DB2 Express Download DB2 > Express C - > > the FREE version of DB2 express and take control of your XML. No > > limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by DB2 Express Download DB2 > Express C - the FREE version of DB2 express and take control > of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users