From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a package "configuration"

Solved!
Go to solution

I want to create a specific release of our software and would like to be able to create a configuration that consists of the main application and all the drivers it might need. I know I can do this with dependencies to point to the actual package dependencies, but if I wanted to specify different builds of the software with specific packages, or separate options, I would need to create separate build specifications. Either that or create a dummy build specification that only includes dependencies. 

 

Am I missing something or is that all correct?

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

Are you wondering for hosting different versions of your software (like 2017 vs 2018) or more worried about potential options they could elect to install with the software?

 

Also, are you using LabVIEW to build your packages or are you using the Command-Line utility for NI Package Manager?

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

0 Kudos
Message 2 of 6
(3,467 Views)
Solution
Accepted by GreyGrey

Yes, for now you would need to create a dummy build specification for a "virtual package" where you define the exact dependencies you want, but contain no payload or perhaps just a few additional configuration files to go with it.

 

In the future, we do plan to make this easier and allow customers to create what we call snapshots or state file for a given setup.  This would allow you to include feeds and the exact version of some packages that that you want installed.  You would be able to create them from existing systems and deploy them to other systems.  Some of this can be done via the API and command-line today, but isn't surfaced in the web interface yet.

0 Kudos
Message 3 of 6
(3,464 Views)

@GreyGrey

I'm really trying to setup a set up something like the following:

 

App version 1.0

- Instrument Driver A version 1

- Instrument Driver B version 1

 

App version 1.1

- Instrument Driver A version 1

- Instrument Driver B version 2

 

So I'm not so worried about options that they could install, but I would like to control which version of the driver and application that is installed by selecting a specific package. 

 

I have been using LabVIEW to build packages so far, but have been managing some feeds with the command line. Does the command-line utility allow you to create packages and dependencies? I see the pack command, but haven't used it as of yet.

0 Kudos
Message 4 of 6
(3,453 Views)

@JoshuaP

 

Thanks. That's pretty much what I thought. Likely there are some additional answers in the CLI that I should take a harder look at as well.

0 Kudos
Message 5 of 6
(3,449 Views)

Yeah you can use the CLI to build packages as well. There should be some documentation coming soon that provides greater detail on how to use the CLI to build packages and the options you have when doing so.

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

0 Kudos
Message 6 of 6
(3,440 Views)