LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView Application Builder cannot find files

I am able to successfullt create an Application (.EXE) for a LabView project, but when I try to create an installer, I get the following message:
 
"The build was unsuccessful. 
  Possible reasons: 
The following file(s) are not found on the system:
<Not A Path>
<Not A Path>
<Not A Path>"
 
Details:
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_PreBuild.vi >> CDK_Engine_FileExists.vi
 

 
 
0 Kudos
Message 1 of 15
(6,187 Views)
If you create a new installer from scratch and just add one piece at a time, what happens?  Does it fail if you only include the .exe?  Or does it fail when including other files?  Can you post your code?
Daniel Eaton
National Instruments
Systems Engineering
Embedded and Industrial Control
0 Kudos
Message 2 of 15
(6,168 Views)
I created a new installer from scratch, and it worked.  Thanks!
0 Kudos
Message 3 of 15
(6,150 Views)

Excellent! 

Daniel Eaton
National Instruments
Systems Engineering
Embedded and Industrial Control
0 Kudos
Message 4 of 15
(6,132 Views)


@brendave wrote:
I am able to successfullt create an Application (.EXE) for a LabView project, but when I try to create an installer, I get the following message:
 
"The build was unsuccessful. 
  Possible reasons: 
The following file(s) are not found on the system:


"
 
Details:
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_PreBuild.vi >> CDK_Engine_FileExists.vi
 

 
 


Hi Brendave,

Any chance you could post some files that reproduce the error you reported? I'd like to investigate how/why the installer builder failed when trying to include your exe. Thanks and happy holidays.

-Bob
Message 5 of 15
(5,986 Views)
Bob,
 
I deleted the installer script that caused the error.  I am guessing that I created the project by copying an existing project and then editing some of the files.  I make a lot of similar projects, and I reuse a lot of code, so it's easier to copy a directory and then work from there.  That may be the reason the App builder failed.  Merry Christmas!  Thanks for your support.


Message Edited by brendave on 12-21-2007 12:23 PM
0 Kudos
Message 6 of 15
(5,982 Views)


@brendave wrote:
Bob,
 
I deleted the installer script that caused the error.  I am guessing that I created the project by copying an existing project and then editing some of the files.  I make a lot of similar projects, and I reuse a lot of code, so it's easier to copy a directory and then work from there.  That may be the reason the App builder failed.  Merry Christmas!  Thanks for your support.


Message Edited by brendave on 12-21-2007 12:23 PM

Gotcha, alright well if it shows up again, lemme know. Perhaps after the .lvproj file was copied, some of the source files were moved or renamed, rendering the installer build spec invalid. Dunno, just guessing.
0 Kudos
Message 7 of 15
(5,976 Views)
i build a application based on my  vi but my not working properly but the vi works good.plese clear my problem
 
0 Kudos
Message 8 of 15
(5,954 Views)
Hi Jabili,

To help with searchability, I would create a new discussion forum thread.  Unless the problem is somehow related to creating installers.  From your previous post it sounds like when you run your VI it operates correctly, but when you turn it into an executable the functionality changes.  The easiest advice I can offer to you is to make a debuggable executable.  This feature was only recently introduced, so if you have LabVIEW 7.X or earlier you cannot make a debuggable executable.

Also, if you create a new thread I would include what version of labVIEW, and a description of the error, and any other relevent information to help  everyone who is trying to help you :). 
Brian K.
0 Kudos
Message 9 of 15
(5,923 Views)

I succesfully build the application (.exe) but when i tried to build the installer, it was unsuccessfull and here's the possible error:

CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi


Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'Setup' from: H:\ENG\SoftwareDev\SDF97900371 - JSF Host\Software Code\JSF GUI Installer\Volume\ to: C:\Documents and Settings\wibawaa\Desktop\Builds\JSFHost\JSF GUI Installer\
 
**************
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the file specified.

*** End Error Report
**************
 
Done building deployment

any tips how to fix this?

 

Thanks

0 Kudos
Message 10 of 15
(5,021 Views)