Hi Chris, Thanks for the advice :-) ... when you say with "AUTO_" as documented ... where do you mean? I'm wondering if I missed some guidance doc which I need to look at before I make this change.
Also what is the nature of your frag gen code/script? I found tallow in its current form (wix2.0) did not do what we needed but I'm very interested in combining what I have done (tallow ant custom task) with other code out there so that we can pool dev efforts and hopefully contribute to the WiX project as a whole. thanks again + kind regards, Kaveh. Chris Ridd wrote: > > On Thursday, September 27, 2007, at 11:00AM, "Kaveh Goudarzi" <[EMAIL > PROTECTED]> wrote: >> Hi All, >> >> I want see if it's ok to use the md5 of a dir name relative to >> INSTALL dir as its ID? I have written a tallow equivalent ant task >> which automatically creates my fragment for me as part of my source >> build however I find I need to be able to refer to directories which >> were created as part of the auto-generated fragments. > > That's pretty much what I do. I prefix them with "AUTO_" partly as > documentation, and partly because there's also a requirement that the first > char in the Id is alphabetic. > >> My thinking is that MD5 is a 32-character hexadecimal string so it >> should fit happily within the 72 chars that id has allocated in the db >> column and since its a deterministic derivative of the dir name I can >> always work out and refer to the id of any directory in the >> autogenerated fragements from within my hand rolles wxs files. >> >> >> Are there any downsides to this approach? what are the alternatives? > > It makes reading the wxs files a bit of a pain, but I can't think of any > other downsides. Writing out the complete directory path in an XML comment > before the <Directory> helps a little here. > > Cheers, > > Chris ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users