<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Build installer error code -12 while copying distribution in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1447904#M554331</link>
    <description>&lt;P&gt;Hi jmorris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the detailed post. Since it seems like the NI-VISA Run-Time is the culprit there are a couple things that we can try. First, I'd recommend taking a look at this &lt;A href="http://digital.ni.com/public.nsf/allkb/AFC375154EFBD6AE8625760B005FB723?OpenDocument" target="_self" rel="nofollow"&gt;knowledgebase article&lt;/A&gt; as it has fixed this issue for some customers in the past. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that knowledgebase article doesn't solve your problem then I'd recommend reinstalling NI-VISA from your machine rather than from the Device Drivers DVD directly. You can copy the contents from the Device Driver DVD to your machine and then install from on the harddrive. This should update the Installer Source Location to the harddrive rather than the &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; drive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if either of these work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul M&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2011 16:58:20 GMT</pubDate>
    <dc:creator>Paul_M.</dc:creator>
    <dc:date>2011-02-10T16:58:20Z</dc:date>
    <item>
      <title>Build installer error code -12 while copying distribution</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1446272#M554119</link>
      <description>&lt;P&gt;Hello all you helpful forum-goers!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having problems building an installer for my product now that I have upgraded to LabVIEW 2010 from 8.5.1.&amp;nbsp; My project has an executable build, and then 3 installer builds which put a different value in the registry indicating the permissions level of the executable: Basic, Full, and Ultimate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to build the Full version, I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;CDK_Build_Invoke.vi.ProxyCaller &amp;gt;&amp;gt; CDK_Build_Invoke.vi &amp;gt;&amp;gt; CDK_Engine_Main.vi &amp;gt;&amp;gt; IB_MSI.lvclass:Build.vi &amp;gt;&amp;gt; IB_MSI.lvclass:Engine_Build.vi &amp;gt;&amp;gt; NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;Adding files to installer&lt;BR /&gt;Done adding files&lt;BR /&gt;Preparing to build deployment&lt;BR /&gt;Copying products from distributions&lt;BR /&gt;Copying distribution 'Williams International - Engine Maintenance Terminal (WI_EMT) Ultimate' from: C:\CP356\WI_EMT Ultimate Installer\ to: C:\Documents and Settings\All Users\Application Data\National Instruments\MDF\ProductCache\&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;**************&lt;BR /&gt;*** Error: Windows SDK function returned an error. (Error code -12)&lt;BR /&gt;The system cannot find the path specified.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;**************&lt;BR /&gt;*** Error Details:&lt;BR /&gt;Error in MDF API function: _MDFDistCopyList_CopyItem&lt;BR /&gt;Windows function FindFirstFile returned an error. Error code: 3&lt;BR /&gt;*** End Error Report&lt;BR /&gt;**************&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Done building deployment&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;The weird part is the "from" path doesn't exist, but C:\CP356\ does contain my project's files (including some sub-directories).&amp;nbsp; But even if it did, I have no idea why the Ultimate version is referenced when I am building the Full version.&amp;nbsp; I just tried building the Ultimate installer, and got the same error.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Stranger yet, this error goes away if I stop trying to include NI-VISA Runtime 5.0 in the additional installers section of my installer.&amp;nbsp; The only other "additional installer" I have checked is the LabVIEW 2010 Runtime Engine.&amp;nbsp; The VISA Runtime is required for my product, so I can't just leave it unchecked.&amp;nbsp; Another clue is that the VISA Runtime's Installer Source Location is listed as D:\, my DVD drive.&amp;nbsp; But even when I put the Device Drivers DVD in the drive, I get the same error when building.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;I've tried looking in the Device Drivers DVD, but it says that the VISA Runtime 5.0 is already installed on my computer; I forget the exact path it listed, but I can get it again if that would help someone.&amp;nbsp; But I couldn't figure out how to change the source location to tell it to get that installer locally.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Based on the posts I've found in this forum for error code -12, I also created a new Build Specification for the Full installer and set all the same options as the previous one, in case something about it got corrupted when I upgraded, but it didn't seem to make a difference.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;I would very much appreciate any insight anyone has on how to fix or get around this issue!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;-Joe&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2011 18:15:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1446272#M554119</guid>
      <dc:creator>jmorris</dc:creator>
      <dc:date>2011-02-09T18:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Build installer error code -12 while copying distribution</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1447904#M554331</link>
      <description>&lt;P&gt;Hi jmorris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the detailed post. Since it seems like the NI-VISA Run-Time is the culprit there are a couple things that we can try. First, I'd recommend taking a look at this &lt;A href="http://digital.ni.com/public.nsf/allkb/AFC375154EFBD6AE8625760B005FB723?OpenDocument" target="_self" rel="nofollow"&gt;knowledgebase article&lt;/A&gt; as it has fixed this issue for some customers in the past. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that knowledgebase article doesn't solve your problem then I'd recommend reinstalling NI-VISA from your machine rather than from the Device Drivers DVD directly. You can copy the contents from the Device Driver DVD to your machine and then install from on the harddrive. This should update the Installer Source Location to the harddrive rather than the &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; drive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if either of these work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul M&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2011 16:58:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1447904#M554331</guid>
      <dc:creator>Paul_M.</dc:creator>
      <dc:date>2011-02-10T16:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Build installer error code -12 while copying distribution</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1449310#M554553</link>
      <description>&lt;P&gt;Paul,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply!&amp;nbsp; I looked at the knowledge base article, and followed it to the .NET 3.5 install page, and from there to the .NET 4.0 install page (figuring the later version the better), downloaded that and selected to "repair" my .NET 4.0 installation.&amp;nbsp; It looked like it did thing for a while (was something broken? ;-)), but no change to my problem afterwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other item in the article was a particular virus protection software, which I do not use.&amp;nbsp; McAfee anti-virus is installed on my system, but it is controlled by our IT department and therefore is harder to change than usual.&amp;nbsp;&amp;nbsp;It has been installed the entire time I have used LabVIEW on my computer with no problems prior to this, but I will contact them to see if they could put LabVIEW on an exception list anyway next.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since I couldn't do that immediately, I copied the NI-VISA_Runtime folder off of my Device Drivers DVD onto my desktop, used it to uninstall NI-VISA Runtime 5.0, and then reinstalled it.&amp;nbsp; However, this did not fix the problem, or even change the additional installer properties for that item - it still says the source location is D:\.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any other suggestions for things I can try?&amp;nbsp; I very much appreciate your assistance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2011 14:35:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1449310#M554553</guid>
      <dc:creator>jmorris</dc:creator>
      <dc:date>2011-02-11T14:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Build installer error code -12 while copying distribution</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1449756#M554630</link>
      <description>&lt;P&gt;I just had IT turn off my anti-virus software entirely while I tried building again, and got the same error, so that's not it either.&amp;nbsp; &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://ni.lithium.com/i/smilies/16x16_smiley-sad.gif" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2011 18:29:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1449756#M554630</guid>
      <dc:creator>jmorris</dc:creator>
      <dc:date>2011-02-11T18:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Build installer error code -12 while copying distribution</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1451766#M555047</link>
      <description>&lt;P&gt;Hi jmorris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rather than reinstalling the NI VISA Run-Time, we actually want to reinstall the entire driver. Go ahead and go to Add/Remove programs and uninstall the NI-VISA entries. Then download the NI-VISA installer from &lt;A href="http://joule.ni.com/nidu/cds/view/p/id/2251/lang/en" target="_self" rel="nofollow"&gt;here&lt;/A&gt; and install. This should update the path location in the application builder. Then try buildling your application to see if you get the same error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul M&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2011 16:41:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1451766#M555047</guid>
      <dc:creator>Paul_M.</dc:creator>
      <dc:date>2011-02-14T16:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Build installer error code -12 while copying distribution</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1453430#M555340</link>
      <description>&lt;P&gt;Paul,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&amp;nbsp; That did the trick.&amp;nbsp; I am now able to build with no problems, and the distribution source for NI-VISA in the installer properties was changed to a local folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It was inconvenient that uninstalling NI-VISA required me to uninstall not only my product, but also LabVIEW RealTime and a couple other modules as well.&amp;nbsp; I am hoping that reinstalling those doesn't mess up the system again, but I&amp;nbsp;don't think&amp;nbsp;it will.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regardless, thank you very much for your assistance!&amp;nbsp; Kudos to you, sir.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://ni.lithium.com/i/smilies/16x16_smiley-happy.gif" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Joe&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 15:05:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Build-installer-error-code-12-while-copying-distribution/m-p/1453430#M555340</guid>
      <dc:creator>jmorris</dc:creator>
      <dc:date>2011-02-15T15:05:26Z</dc:date>
    </item>
  </channel>
</rss>

