On 28 Sep 2007, at 16:09, Kaveh Goudarzi wrote:

> Hi Chris,
>       
>       Thats interesting.  Wow it's been a while since I thought of tcl/ 
> tk (which I loved actually :-) ) ... While on the autogeneration  
> subject how do you deal with shortcut creation?  do you exclude  
> files to which you want to create shortcuts in the auto generated  
> step and then add then in manually hand rolled components?

What I do there is whenever I write a <File> I call an externally  
provided Tcl procedure with the name of the thing just written. That  
proc then has a chance to emit any more XML (like a <Shortcut>, or  
<Registry> items) before returning to the main code which writes the  
final </File>.

So far the scheme's working out OK for us, and I like the ability to  
"trigger" activity as it tends to mean we don't leave in dead  
Shortcuts and so on.

>       Also do you get any validation errors when you have hex id  
> values?  I saw some errors where it complained that the file had a  
> version but didn't have a language field (not 100% sure if it was  
> ID related or name) but just wondering if the hex id results in  
> clean validation or gives errors?

I don't get any validation errors from the hex IDs. I get lots of  
annoying 1044 warnings because of the silly short filenames I have to  
provide everywhere, but I just suppress them with -sw1044 :-)

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

Reply via email to