Bugs item #1921457, was opened at 2008-03-20 18:43 Message generated for change (Comment added) made by barnson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1921457&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: candle Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Brian6p (brian6p) Assigned to: sameer garde (sameerg) Summary: Preproccessor Property Bug for Dollar Signs ($) Initial Comment: I came across this completely by accident. I was entering some test text for display and noticed that the dollar sign ($) was being escaped. For every 2 I put into the property in the wxs file, I only got one in the compiled MSI. Is this by design? There should be an attached image with email that shows the wxs file and Orca. Now, I haven't tested anything or even really ran over the logic, but the PreprocessString method in PreprocessorCore.cs looked like a starting point. ---------------------------------------------------------------------- >Comment By: Bob Arnson (barnson) Date: 2008-05-02 04:57 Message: Logged In: YES user_id=26581 Originator: NO This is actually working by design. Here's a new blurb in the preprocessor topic: The preprocessor treats the $ character in a special way if it is followed by a $ or (. If you want to use a literal $$, use $$$$ instead. Every two $ characters will be replaced with one. For example, $$$$$ will be replaced with $$$. ---------------------------------------------------------------------- Comment By: Brian6p (brian6p) Date: 2008-03-30 06:04 Message: Logged In: YES user_id=1296122 Originator: YES Sorry about that, completely forgot to put that in the description. I found this in 3.0.3526.0. ---------------------------------------------------------------------- Comment By: Bob Arnson (barnson) Date: 2008-03-29 02:32 Message: Logged In: YES user_id=26581 Originator: NO Interesting...which version of WiX are you using? ---------------------------------------------------------------------- Comment By: Brian6p (brian6p) Date: 2008-03-29 00:06 Message: Logged In: YES user_id=1296122 Originator: YES Sorry, I guess the picture is a bit ambiguous. The property at the top is the full string and then Orca has the result value. Original: $$$$$$$$$ Formatted: $$$$$ This leads me to believe that for every $$ it is subbing just one. But for a single it is leaving it alone. ---------------------------------------------------------------------- Comment By: Bob Arnson (barnson) Date: 2008-03-22 04:02 Message: Logged In: YES user_id=26581 Originator: NO What's your original string? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1921457&group_id=105970 ------------------------------------------------------------------------- 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-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
