<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>).&nbsp;
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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>On Mon, Jul 28, 2008 at 7:15 AM, Doug Gregor &lt;<a
href="mailto:doug.gregor@gmail.com">doug.gregor@gmail.com</a>&gt; 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 &lt;<a href="mailto:gpeele@ara.com">gpeele@ara.com</a>&gt;
wrote:<br>
&gt; I'm really pleased with the component-based CPack installer with the NSIS<br>
&gt; backend, and am currently using the July 24th &nbsp;CVS snapshot of CMake
to take<br>
&gt; advantage of it. &nbsp;Today I ran into a &nbsp;puzzler though. &nbsp;Some
of the files I'm<br>
&gt; installing have spaces in the relative path, and the NSIS script
containing<br>
&gt; them is being generated with extra quotes surrounding the full relative<br>
&gt; install path, causing makensis to fail.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; For example, my file is &quot;Plugin Config.xml&quot;, and my install
command is<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; INSTALL (FILES &quot;Plugin Config.xml&quot; DESTINATION bin/config
COMPONENT<br>
&gt; PLUGINS).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; In the generated NSIS project.nsi file, this creates a line<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Delete &quot;$INSTDIR\&quot;bin\config\plugin\Plugin
Config.xml&quot;&quot;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; under the Remove_${PLUGINS} section. &nbsp;The extra quotes are causing
makensis<br>
&gt; to bail (and confusing it enough that tracking down the actual problem was<br>
&gt; quite a challenge.)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Do I just not properly understand how to quote strings in CMake, or is
this<br>
&gt; 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>
&nbsp;- 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>&nbsp;</o:p></p>

</div>

</div>

</div>

</body>

</html>