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

Reply via email to