LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2019 SP1 create installer: additional required installers list

Dear LabVIEW community,

 

recently I've faced with the following issue, which I was able to replicate on a simple dummy project's code.

 

I have simple VI which calls 1 button dialog function. I am able to create executable with it. But when I create installer, it requires a lot of additional installers which I am missing on my PC.

I have set manually to include just components which are needed, but anyway - LabVIEW asks for installers which obviously are not needed in my case/have nothing to do with current application.

 

Install Simple Application.png

2020-11-30 06_56_32-Select Source.png

 

I know that LabVIEW stores installers in cache so it could use them during installer builds. But - why does it asks to locate installers which are not needed for the current build? Like, why there is needed NI Logos, NI Python Interface, VIPM Runtime Engine installers?

I was clearing my cache manually - but now it is not clear how to get back them using, let's say, NI Package Manager?

Overall it seems like a LabVIEW bug - because it asks for installers which are not needed by this particular installer specification build; and if one does not provide those installers - it is not possible to build installer at all.

0 Kudos
Message 1 of 6
(1,215 Views)

You do have the box checked that says, "copy the select installers and all future installers"

 

So it sounds like LabVIEW is doing exactly what it says it is going to do.

0 Kudos
Message 2 of 6
(1,210 Views)

If I deselect that checkbox, then anyway it is not possible to build the installer. It drops the same window but at the end of the build.

 

When checkbox is selected, then window with the list of installers is shown right after I press "OK" button (kind of saving build specification).

 

When checkbox is deselected, then I can press "OK" button and save build specification, but when I press "Build" - it starts building installer, and then shows the window with installers list at the end. And if I close that window, then installer build fails.

0 Kudos
Message 3 of 6
(1,185 Views)

Additional point: if I deselect "future installers" in that window, then button "OK" is disabled - so it is not possible to make build at all.

 

I believe that solution could be to run LabVIEW repair or something like that, but it takes time and means that again all installers will be copied to cache. And, if I'll cleanup cache in the future then the same issue will appear.

 

Now I'd like to build such a simple installer, but in order to do that I need to have all those components which are not needed at the end. That is weird, and I guess it shouldn't act like that...

0 Kudos
Message 4 of 6
(1,182 Views)

If you're using any of the HTML VIs, I believe they do require the cURL library (no, that's not a caps lock artifact).  IMO, LabVIEW is very good at selecting the installers it needs to build an application.  You probably have dependencies you didn't know you needed.  Some of them aren't even logical, but some drivers depend on other drivers to be loaded, for example.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 6
(1,153 Views)

Thank you,

0 Kudos
Message 6 of 6
(1,148 Views)