<div dir="ltr">The problem disappeared now. I suspect some application (may be the antivirus or a virus) was keeping that file ("<span style="font-family:arial,sans-serif;font-size:13px">C:/Users/user1/Desktop/xyz/</span><span style="font-family:arial,sans-serif;font-size:13px">abc-1.0.0-win32.exe") open.</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 25, 2014 at 3:33 PM, Lloyd <span dir="ltr"><<a href="mailto:lloydkl.tech@gmail.com" target="_blank">lloydkl.tech@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am using CPack (CMake) with Visual Studio 2010. When I "build" Package, my NSIS based installer is getting created in the "_CPack_Packages\win32\NSIS" directory of the build directory. But the build process in Visual Studio throws an error like the following:</div>
<div><br></div><div>Error<span style="white-space:pre-wrap"> </span>32<span style="white-space:pre-wrap"> </span>error : Problem copying the package: C:/Users/user1/Desktop/xyz/_CPack_Packages/win32/NSIS/abc-1.0.0-win32.exe to C:/Users/user1/Desktop/xyz/abc-1.0.0-win32.exe</div>
<div><br></div><div><span style="white-space:pre-wrap">What could be the reason for a "</span>Problem copying the package" error. As the installer creation is successful it is not generating "NSISoutput.log" file.</div>
<div><br></div><div><br></div><div>Thanks,</div><div> Lloyd</div></div>
</blockquote></div><br></div>