Dale, 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 [\}] Alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Quigg Sent: Tuesday, April 15, 2008 1:04 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MSI CustomAction - PowerShell >> If you look very carefully, you see that a set of braces around the >> "else" portion of the command have been stripped. >> 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 > > "If a substring is enclosed in curly braces ({ }) and it contains one > or more property names enclosed in square brackets ([ ]) then, if all > the property names are valid, the text (with the resolved > substitutions) is displayed without the curly braces." 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". 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 ------------------------------------------------------------------------- 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