02-07-2018
01:04 PM
- last edited on
03-14-2019
02:18 PM
by
NIadmin
I created a package using nipkg and uploaded it to the feed server. When I open NIPM, I see my new "Maintainer" in the list of maintainers, but the actual package is nowhere to be found. I have tried a couple configurations of the control file with still no luck.
This is (basically) what I have now:
control -
Package: deployment-template-cfg Version: 1.0.0.2 Section: Application Software Architecture: windows_x86 Depends: Recommends: Suggests: Conflicts: Provides: Replaces: Supplements: Enhances: Installed-Size: 1086724 Maintainer: My Name<myemail@notreal.com> Description: Some stuff in a package Homepage: https://myserver.com XB-Plugin: file XB-ReleaseNotes: XB-StoreProduct: yes XB-UserVisible: yes XB-DisplayVersion: XB-Message:
Am I missing something in there?
Solved! Go to Solution.
02-07-2018 01:15 PM
I see that you have the XB-UserVisible attribute set to 'yes'. Have you tried using and providing the attribute XB-DisplayName?
02-07-2018 02:29 PM
What is XB?
If I say uservisible 'no' would that make it display the package name?
02-07-2018 02:42 PM
Some notes:
I changed the ni-package-manager-defaults.ini
arch=windows_x86
The package now shows up under Updates but not under Installed or Packages.
02-07-2018 06:16 PM - edited 02-07-2018 06:18 PM
I would HIGHLY recommend not changing the ni-package-manager-defaults.ini. That will most likely break all the NI packages.
You need to change your control file to Architecture: windows_x64
Note this is referencing the architecture of the OS, not the bitness of the files you are installing. In addition, the NI Package Manager only supports Windows x64, however you can install both 32 and 64-bit applications. In both cases the package arch should be windows_x64.
02-07-2018 07:03 PM
I removed the package and now it shows up under "Packages", but on Install it says it cannot find the package...
This is kind of confusing.
02-07-2018 08:28 PM
Its hard to say if you have been messing with the systems architecture and installing stuff. I would uninstall anything that once had the wrong architecture. Delete the old packages and then build some new ones with the right arch.