cancel
Showing results for 
Search instead for 
Did you mean: 

App Builder generates Error 1 when I create installer

TimTower
Member

App Builder generates Error 1 when I create installer

Message contains an attachment
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.
8 REPLIES 8
Matt_K
Member

Re: App Builder generates Error 1 when I create installer

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.
TimTower
Member

Re: App Builder generates Error 1 when I create installer

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.
ww.brown
Member

Re: App Builder generates Error 1 when I create installer

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
TimTower
Member

Re: App Builder generates Error 1 when I create installer

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).
ww.brown
Member

Re: App Builder generates Error 1 when I create installer

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.
JeanPierre
Active Participant

Re: App Builder generates Error 1 when I create installer

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

Underflow
Active Participant

Re: App Builder generates Error 1 when I create installer

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.
Underflow
Active Participant

Re: App Builder generates Error 1 when I create installer

Oops, on re-reading your original post, this is not terribly appropriate for your problem...my apologies.