07-23-2022 02:31 PM
I'm trying to build an installer, (.exe works fine).
I get the above message. If I point to MKL as per https://www.ni.com/en-ie/support/documentation/supplemental/14/ni--net-assemblies-needed-to-deploy-a... I get :
The following directories are in MKL
Directory of C:\Program Files (x86)\National Instruments\Shared\MKL
23/07/2022 19:16 <DIR> .
23/07/2022 19:16 <DIR> ..
08/05/2019 18:50 <DIR> LV120000_BLASLAPACK
08/05/2019 17:32 <DIR> LV140000_BLASLAPACK
23/07/2022 19:16 <DIR> LV150000_BLASLAPACK
23/07/2022 19:16 <DIR> LV160000_BLASLAPACK
03/08/2019 15:28 <DIR> LV170000_BLASLAPACK
03/08/2019 15:28 <DIR> LV180000_BLASLAPACK
12/11/2021 10:15 <DIR> LV200000_BLASLAPACK
08/05/2019 17:41 <DIR> MKL70
0 File(s) 0 bytes
10 Dir(s) 25,768,804,352 bytes free
Stepping into the directories with dlls as follows:
Directory of C:\Program Files (x86)\National Instruments\Shared\MKL\LV120000_BLASLAPACK
08/05/2019 18:50 <DIR> .
08/05/2019 18:50 <DIR> ..
28/10/2016 06:07 6,230,016 LV120000_BLASLAPACK.dll
Dos not help. I used NIPM to install labVIEW so not sure what to point at. Any ideas where I am going wrong?
07-24-2022 03:34 AM - edited 07-24-2022 03:35 AM
Just as a follow up.
The error code was as follows when I cancelled:
Click the link below to visit the Application Builder support page. Use the following information as a reference:
Error -1 occurred at CDK_Utility_GenerateErrorCluster.vi -> IB_MSI.lvclass:Build.vi
This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-1) or for its hexadecimal representation (0xFFFFFFFF).
The following errors and warnings were recorded during the build:
Error:
*** Abort requested.
Details:
Done building deployment
Code:
-100
Clicking the link brought me here:
I downloaded a file that opened in NIPM and seemed to completely reinstall LabVIEW. Several hours later, I tried the installer build and it failed again with exactly the same error.
07-24-2022 04:43 AM
I was using the 32 bit version and decided to try using the 64 bit version. I installed the 64 bit version.
Click the link below to visit the Application Builder support page. Use the following information as a reference:
Error -1 occurred at CDK_Utility_GenerateErrorCluster.vi -> IB_Source_Container.lvclass:Report_Preview_Error.vi
This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-1) or for its hexadecimal representation (0xFFFFFFFF).
Same issue😢
07-24-2022 06:04 AM
Yes, you have the toolkit installed. But, what your installer really needs is to distribute that toolkit. So, it's looking for the toolkits installer to include in your installer. Point it at the same media that you used to install the toolkit on your machine.
07-24-2022 10:50 AM - edited 07-24-2022 11:17 AM
Thanks JÞB
I used NIPM to install LabVIEW 2021. Here's the NIPM folder.
Directory of C:\Program Files\National Instruments\NI Package Manager
23/07/2022 19:04 <DIR> .
23/07/2022 19:04 <DIR> ..
08/03/2021 15:56 201,672 ca-bundle.crt
23/07/2022 19:04 <DIR> de
23/07/2022 19:03 <DIR> Deployment
23/07/2022 19:04 <DIR> fr
23/07/2022 19:04 <DIR> ja
23/07/2022 19:04 <DIR> ko
08/03/2017 13:31 54,152 NationalInstruments.LicenseManagement.Client.dll
28/06/2022 16:00 229,048 NationalInstruments.PackageManagement.Core.dll
28/06/2022 16:26 157,368 NationalInstruments.PackageManagement.Deployment.dll
28/06/2022 16:26 89,272 NationalInstruments.PackageManagement.Store.dll
28/06/2022 16:28 675,752 Newtonsoft.Json.dll
20/08/2019 13:27 175,696 niceiplib_STATIC_CRT.dll
23/07/2022 19:04 <DIR> NIMSIProperties
28/06/2022 16:28 2,655,416 NIPackageManager.exe
28/05/2022 01:04 255 NIPackageManager.exe.config
28/06/2022 15:59 1,176,848 nipkg.exe
28/06/2022 15:58 7,588,608 nipkgclient.dll
23/07/2022 19:04 <DIR> Settings
23/07/2022 19:00 <DIR> Updater
23/07/2022 19:04 <DIR> x86
23/07/2022 19:04 <DIR> zh-CN
I've since downloaded the 49GB iso file for offline install. The installer builder doesn't recognize the iso as containing maths kernel etc. and following extraction, there doesn't appear to be anything useful for the installer builder in it either.
It's probably obvious but I'm at a loss. If I knew the name of the file it was looking for, that'd be a big help.
Edit. Fwiw, I'm trying to get this done for Monday, I missed Friday cob, so any help really appreciated.
07-25-2022 01:57 PM - edited 07-25-2022 02:01 PM
Whenever you install something from NIPM that is supported by the legacy LabVIEW installer builder, it creates a cache of files (.MSIs\.CABs) that the installer builder uses as its source. That you are seeing so many products not available means that cache is likely damaged or deleted (or has been disabled - details here).
To repair this cache (assuming it hasn't been disabled), then a suggestion is to: