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