Dieser Inhalt liegt nicht in Ihrer bevorzugten Sprache vor.

Der Inhalt wird Ihnen in einer anderen verfügbaren Sprache angezeigt. Ihr Browser bietet ggf. Funktionen, die Sie bei der Übersetzung des Textes unterstützen.

How Can I Delete Product Installer Files That Have Been Copied to My Computer?

Updated Apr 28, 2022

Reported In

Software

  • LabVIEW Full
  • LabWindows/CVI Full
  • TestStand
  • Package Manager

Issue Details

When I created an installer with LabVIEW, LabWindows™/CVI™, or TestStand, I chose to copy the National Instruments installer files included in my deployment to my computer. 
NI Package Manager creates caches (copies) of the installed packages on the system, this is useful for building deployment installers. Nevertheless, I need to free up some space on my computer.

How can I delete these files?

Solution

When you create an installer with LabVIEW, LabWindows/CVI, or TestStand, you have the option of copying each product installer included in the deployment to your computer. Those files will remain on your system until you uninstall or upgrade the products. Please note that cached packages used by the NIPM won't be removed once you uninstall or upgrade a software product, take a look at the Additional Information section for details on how to delete these files.

You can locate and delete the files manually without uninstalling the products.  The installers will be stored in a different location, depending on the operating system that you are using. Here are the file locations for Windows XP, Vista and 7:

Windows XP

<Documents and Settings>\All Users\Application Data\National Instruments\MDF\ProductCache 

Windows 7 or Later

<ProgramData>\National Instruments\MDF\ProductCache

Note: You will be prompted for the disks the next time you build an installer.  You can also select to copy the files to your computer at this time.

Additional Information

If you use NI Package Manager (NIPM) for your software installation and updates you might also notice cached packages being stored in the \%programdata%\National Instruments\NI Package Manager\Packages directory. The current behavior of NIPM is that some of these cached packages are never removed, even if the products they contain have since been upgraded or uninstalled. If saving space is a concern for your system, you can delete the .nipkg files at that location and you can add a token to your nipkg.ini to prevent the caching of packages in the future. The nipkg.ini is located at \%localappdata%\National Instruments\NI Package Manager\nipkg.ini.

Make sure you add the token below the [nipkg] line so it looks like:
[nipkg]
cachepackages=false