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 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Matt Anderson > Sent: Friday, April 27, 2007 1:21 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Getting file versions > > I think I also need to elaborate more on what I'm doing. I > have binary files (.dlls, .exes, etc) that have version > information that we'd like WiX to apply the versioning rules > on. However, we also have .asp files, xml files, .cs files, > etc. that are part of the application but don't have > versioning information. These files need to be overwritten > no matter what. I know I could set the DefaultVersion > attribute to a ridiculously high version so that they would > overwrite no matter what. 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. Sorry > if I wasn't specific enough. > > -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