Bugs item #1372070, was opened at 2005-12-02 15:32 Message generated for change (Comment added) made by robmen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1372070&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: v3.0 >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Edward Choh (edwardchoh) Assigned to: Derek (derekc) Summary: Whitespace deleted in defined string Initial Comment: This seems to happen since 2.0.3116, but doesn't happen to 2.0.2520. Here's a test script: <?xml version='1.0'?> <Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'> <?define AppName = Our Product Name ?> <Product Id='00000000-0000-0000-0000-000000000000' Name='$(var.AppName)' Language='1033' Version='0.0.0.0' Manufacturer='My Corporation'> <Package Id="00000000-0000-0000-0000-000000000000" Description='My Product' Comments='My Product That Is Just An Example' InstallerVersion='200' Compressed='yes' /> <Media Id='1' Cabinet='product.cab' EmbedCab='yes' /> <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='MyDirectory' Name='MyDir' LongName='My Directory' /> </Directory> </Directory> <Feature Id='MyFeature' Title='My Product Feature' Level='1'> <ComponentRef Id='MyComponent' /> </Feature> </Product> </Wix> When building a MSI with this sample, [ProductName] will be OurProduct Name, the first whitespace was deleted. But if the value to AppName was quoted, <?define AppName="Our Product Name" ?> then it works right. ---------------------------------------------------------------------- >Comment By: Rob Mensching (robmen) Date: 2006-02-08 00:53 Message: Logged In: YES user_id=991639 Dupe of SFBUG:1266391 ---------------------------------------------------------------------- Comment By: Rob Mensching (robmen) Date: 2006-01-31 22:24 Message: Logged In: YES user_id=991639 Always quote your variable's data. Other behaviors are undefined. We'll try to clean this up in WiX v3.0 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1372070&group_id=105970 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
