>>>> I don't understand why most of the braces come though fine, but >>>> these few don't. >>> >>> From: Alexander Shevchuk [EMAIL PROTECTED] >>> Formatted data type >>> http://msdn2.microsoft.com/en-us/library/aa368609(VS.85).aspx >>> >> Thank you for the pointer Alex. >> It looks like I'll be better off creating a script and embedding that >> in my .msi rather than trying to do a "one-liner". > > Date: Tue, 15 Apr 2008 13:37:44 -0700 > From: Alexander Shevchuk <[EMAIL PROTECTED]> > > Normally, you should stay away from scripting custom actions if what > you want can be done without using custom action. Have you tried > escaping curly braces? > > [\{] > > and > > [\}]
Thanks again Alex, For my problem, I've found that I can create a registry setting rather than edit a file (which was the purpose of my PowerShell script) so this is kind of moot for me. I have read Rob's "Why script CAs are bad" but have to admit that I still write most of my CAs as scripts. Regarding your comment, I don't see much functional difference in creating a CA that calls powershell referencing; 1) an "in-line" script (using liberal escapes for braces) 2) a script that is either a msi binary or an installed file I think I'm being "bad" either way. Please feel free to let me know if I'm missing some fundamental concept here. Thanks, Dale ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users