<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I&#8217;m trying to add the vendor name ot the CPACK_NSIS_INSTALL_ROOT
variable.&nbsp; Right now, I have this line:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>set</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>( CPACK_NSIS_INSTALL_ROOT
$PROGRAMFILES\Atmel)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Unfortunately policy CMP0010 keeps kicking in and warning me
that \A is invalid.&nbsp; I can&#8217;t find any escape sequence that makes the NSIS
configuration happy.&nbsp; I also noticed I can&#8217;t use variables like
${CPACK_PACKAGE_VENDOR} because it will never resolve to the actual vendor and
my NSIS installer actually has the literal C:\Program Files (x86)${CPACK_PACKAGE_VENDOR}\f.&nbsp;
Using the above line works and creates a valid NSIS installer, but I get that
annoying error on every build.&nbsp; I can&#8217;t use the forward slash either or
it shows up in the NSIS window as a forward slash rather than a backslash,
making it an invalid address.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>How do I make this error go away and still keep NSIS happy?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText style='margin:0in;margin-bottom:.0001pt'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>---</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoPlainText style='margin:0in;margin-bottom:.0001pt'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Shane
Dixon</span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoPlainText style='margin:0in;margin-bottom:.0001pt'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Linux
Engineer / Atmel Corporation<o:p></o:p></span></font></p>

<p class=MsoPlainText style='margin:0in;margin-bottom:.0001pt'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Tel:
(+1)(719)540-1123</span></font><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoPlainText style='margin:0in;margin-bottom:.0001pt'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><a
href="mailto:shane.dixon@atmel.com">shane.dixon@atmel.com</a> / www.atmel.com<o:p></o:p></span></font></p>

<p class=MsoPlainText style='margin:0in;margin-bottom:.0001pt'><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText style='margin:0in;margin-bottom:.0001pt'><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>The
information contained in this email message may be privileged, confidential
and/or protected from unauthorized disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly prohibited.
Please immediately notify the sender by reply if you received this email in
error. Thank you for your cooperation.</span></font><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>