NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Package Builder and CompatabilityVersion

Sort of in line with an existing thread:
https://forums.ni.com/t5/NI-Package-Manager-NIPM/CompatabilityVersion-in-control-file/td-p/4289540

Is there any way in NI Package Builder to set the CompatabilityVersion ahead of time for a package? NI Package Builder does not use any fancy install paths, and so the packages it generates (in the 2022 Q3 version) can be used on earlier versions of NI Package Manager just by changing the CompatabilityVersion without issue. Having to do this after the package is already created can take time with having to unpack a package, change the version, and pack it again. I have my own custom package builder tool as a workaround that sets it ahead of time. But it's always nice not to have to manage my own tools, when NI Package Builder can do 98% of what I want.

Message 1 of 2
(1,438 Views)

Hi Slade, unfortunately NI Package Builder does not currently expose a way to preset or add custom attributes to a package. It is something that I would like to add eventually. Your post-build unpack and repack is the only workaround.

Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(1,403 Views)