This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

LabVIEW-Built Installer Error: Cannot Cache Products

Updated Nov 17, 2023

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

I get an error when building an installer that says Cannot cache products because cache directory requires administrative privileges.

Solution

The following steps may resolve this behavior:
  •  Run LabVIEW as administrator (Right-click > Run As Administrator). 
  • Change the destination directory to see if the problem persists. This will be under the Destinations tab in the Installer Properties Dialog box. 
  • Ensure that you have read/write permissions to the folder C:\Program Files (x86)\National Instruments\LabVIEW 20xx\VIObjCache
  • If you are including DAQmx or any other device driver in the installer, try to force reinstall the driver

Additional Information

When LabVIEW is trying to change a file or folder outside of the LabVIEW environment, it requires privileges to do so. Sometimes operating systems raise a flag when a program tries to change something outside of the program. Running LabVIEW with administrator privileges may prevent some errors relating to writing or changing files in the operating system.
Products may include a surcharge. Surcharge is calculated during checkout for U.S. customers. Learn more

Was this information helpful?

Yes

No