LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

App Builder generates Error 1 when I create installer

When I compile my project without creating the installer, it runs fine. However, when I check the box "create installer" (with or without the Advanced /LV Runtime Engine box checked), the build fails, and I get an Error 1 - ..Input Parameter is invalid. See attached scrren snapshots.
0 Kudos
Message 1 of 9
(4,030 Views)
Does this problem occur for all VIs or just this one? I would recommend trying to create an installer with a very simple VI. If the problem occurs in this case, it is possible that something with the application builder got corrupted. If it only happens for this particular VI, further investigation into the cause will be required. You may want to post your code and build file. Or if you prefer, you can start a support request with NI by going to http://www.ni.com/ask and selecting Email NI as the communication method.
0 Kudos
Message 2 of 9
(4,030 Views)
Thanks Matt. The same build worked fine under LV6.0 so I assume it is a LV6.1 issue. I will contact NI support, as suggested.
0 Kudos
Message 3 of 9
(4,030 Views)
I have the same problem as Tim Tower. My error is:

Error 1 occurred at Copy in Win Install Copy Redistribution Files.vi->
Win Install Create.vi->Dist Call Create Installer.vi->Build Application.vi.

Possible reasons:

LabVIEW: An input parameter is invalid
or
NI-488: Command requires GPIB Controller to be Controller in charge.

Please pass this along. I will try re-entering my build script from scratch to see if this helps.

Bill Brown
Ball Aerospace
0 Kudos
Message 5 of 9
(4,030 Views)
Bill, NI Tech support suggested I save my project in LV60 format, recompile, and see if the error still occurs. I did this. However, I could not export the .bld file from LV61 to 60, so I had to re-create it. No error occurred when I compiled this (with installer) in LV60. I then loaded this project back into LV61 and compiled it - also, no error! So I have no idea what caused this. However, I did ask NI for a wish list item - to add more error info in App Builder, so that one knows what input parameter or VI caused the problem. (With 300 Vis is a project, it is a daunting task to find the probelm otherwise).
0 Kudos
Message 6 of 9
(4,030 Views)
Tim: I rebuilt my build script from scratch using labview 6.1, rather than importing the equivalent labview 6.0 script. After re-typing everything in, it worked! I approve of your suggestion to NI.
0 Kudos
Message 7 of 9
(4,030 Views)
A quick tip that may help: rewrite the bld file from scratch and try again. Sometimes bld file get corrupted some way, especially when converted from a previous version.


LabVIEW, C'est LabVIEW

0 Kudos
Message 4 of 9
(4,030 Views)
Something that has worked for me in the past with similar errors (under LV 6.0.2), is to do a Tools >> Advanced >> Mass Compile... on the directories with the vi's to be built.

Just another option.
0 Kudos
Message 8 of 9
(4,030 Views)
Oops, on re-reading your original post, this is not terribly appropriate for your problem...my apologies.
0 Kudos
Message 9 of 9
(4,030 Views)