<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Yes, I filed this as bug #7470 (<a
href="http://public.kitware.com/Bug/view.php?id=7470">http://public.kitware.com/Bug/view.php?id=7470</a>).
Thanks for following up!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Greg Peele<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> David Cole
[mailto:david.cole@kitware.com] <br>
<b>Sent:</b> Wednesday, August 20, 2008 2:16 PM<br>
<b>To:</b> Doug Gregor<br>
<b>Cc:</b> Gregory Peele ARA/CFD; cmake@cmake.org<br>
<b>Subject:</b> Re: [CMake] CMake CVS + CPack + NSIS - Installing files with
spaces<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>Was there ever a bug filed on this? If so, what's the issue
number in the bug tracker?<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>Thx,<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>David Cole<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>On Mon, Jul 28, 2008 at 7:15 AM, Doug Gregor <<a
href="mailto:doug.gregor@gmail.com">doug.gregor@gmail.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>On Fri, Jul 25, 2008 at 7:56
PM, Gregory Peele ARA/CFD <<a href="mailto:gpeele@ara.com">gpeele@ara.com</a>>
wrote:<br>
> I'm really pleased with the component-based CPack installer with the NSIS<br>
> backend, and am currently using the July 24th CVS snapshot of CMake
to take<br>
> advantage of it. Today I ran into a puzzler though. Some
of the files I'm<br>
> installing have spaces in the relative path, and the NSIS script
containing<br>
> them is being generated with extra quotes surrounding the full relative<br>
> install path, causing makensis to fail.<br>
><br>
><br>
><br>
> For example, my file is "Plugin Config.xml", and my install
command is<br>
><br>
><br>
><br>
> INSTALL (FILES "Plugin Config.xml" DESTINATION bin/config
COMPONENT<br>
> PLUGINS).<br>
><br>
><br>
><br>
> In the generated NSIS project.nsi file, this creates a line<br>
><br>
><br>
><br>
> Delete "$INSTDIR\"bin\config\plugin\Plugin
Config.xml""<br>
><br>
><br>
><br>
> under the Remove_${PLUGINS} section. The extra quotes are causing
makensis<br>
> to bail (and confusing it enough that tracking down the actual problem was<br>
> quite a challenge.)<br>
><br>
><br>
><br>
> Do I just not properly understand how to quote strings in CMake, or is
this<br>
> a bug in the NSIS generator?<o:p></o:p></p>
</div>
</div>
<p class=MsoNormal>That's definitely a bug in the generator. Would you file a
bug report<br>
at <a href="http://public.kitware.com/Bug/" target="_blank">http://public.kitware.com/Bug/</a>
?<br>
<br>
- Doug<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>