08-29-2024 07:01 AM
Hello,
Does anyone have experiences or best practices when a feed installation is interrupted by a poor connection?
As some of our sites do not have a reliable connection, we are currently wondering how this affects the installation. Are there any specific error codes for such a case?
Best Regards
Marius
08-29-2024 11:55 AM
Marius -
The likely failures that NI Package Manager will experience is a failure during download or a failure when validating checksum on a package before being installed. NI Package Manager does not have any high-level retry mechanisms, however, if an installation fails during an installation due to the above type of failures, a subsequent operation to install the software again will skip already installed packages and continue with the next not yet installed package.
FWIW, the following site lists NIPM errors: https://labviewwiki.org/wiki/NI_Package_Manager_Error_Code_Family You could search for the word "network" and you will see a handful of download related failure error codes.
I am not aware any any support for NI Package Manager first doing a download of all packages, and then install.
If you want to separate the download operation from an install operation, technically you can use nipkg.exe commands to register a remote feed (feed-add), and download all the packages to a directory (feed-download). To use the local feed, you would register that feed before installing. The downside to this is that the download operation will get all packages in the feed, which many of them might not be required depending on what you are planning to install.
09-06-2024 12:21 AM
Thank you for the detailed answer. I think we will try to separate the download from the installation.
BR
Marius
09-09-2024 05:14 PM - edited 09-09-2024 05:15 PM
An additional option is to go to ni.com\downloads and download the .ISO for the offline version of the installers, which are self-contained and don't require any internet connection at all. (There will be an "Install Offline" link on the download page)