LabVIEW Installer Error: Cannot Cache Products

Updated May 17, 2019

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:
  1. Change the destination directory to see if the problem persists. This will be under the Destinations tab in the Installer Properties Dialog box. 
  1.  Run LabVIEW as administrator (Right-click > Run As Administrator). 
  2. 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful