02-04-2021 05:38 PM - edited 02-04-2021 05:41 PM
@cy... wrote:
...I encountered the error using the same exact offline installer downloaded from NI website with the MD5 rechecked, the same file was used to install the LV2020 in my PC last year. The error encountered mentioned mismatched hash when I am attempting to install the device driver remotely over the internet, which I cannot disable to verify if I can install it with the network adapter disabled. That said, that is not my intention to delve on this problem, my original intention is to post it in idea exchange
I wanted to post the idea of having an option to disable all attempts to check and download offline installer files from the internet regardless whether a connection is present. an offline installer should be able to install its packages offline...😁
I am not sure of the cause of the error besides some hard drive issue or anti-virus interference, but I can assure you that an offline installer already does not check hashes over the internet (or do any other remote validation), and it can indeed install its packages when offline.
Just to share how this part of it works - if you look at an offline installer, you'll see a \feeds folder. In that folder is one or more feeds for each product contained in that installer. Inside each feed folder is the feed "manifest" file, named "Packages". That plain text file has the set of attributes for every package in that feed, including a MD5Sum attribute that contains the checksum when that feed was originally created back at NI, like this:
MD5sum: 38eb5c0cf49f966da03117303a225004
...
Package: ni-labview-2019-runtime-engine-x86
Before each .nipkg package is installed, it does a checksum of the .nipkg file and compares that against the MD5Sum recorded in that local feed manifest file. If they don't agree, the install is aborted with that error message. So for an offline installer, this all happens locally.
02-05-2021 12:32 AM
The package is intact, since I have already rehashed the ISO and the MD5 hash matched with the hash on the download page, which also matched with my validation records when I upload the ISO to the network storage; no file/hard drive problems.
I just want to propose that the offline installer to install the whole package offline, even with internet connection present.
anyways, I have created a new thread there... thanks for the explanation