05-09-2024 12:25 PM
Hi,
I made a stupid mistake by deleting something in the C:\Programs Files\National Instrument, which probably includes the NI Package Manager folder. Now when I run any NI installer, it will call NI package manager first and the following message will pop up.
While I tried to reinstall the NI package manager, it told me the NI package manager has been installed as show in the follow.
What should I fix this? I assume I have to completely clear up some register file of the NI package manager to be able to reinstall it.
Please help me with this issue. Thank you very much.
Solved! Go to Solution.
05-09-2024 04:47 PM
First, do a complete backup of your PC. Windows is finicky, and deleting files or folders that should only be "touched" by Administrators (which is why MS recommends that you have a separate account for doing Admin work!) can often mean "Reformat the Hard Drive, reinstall Windows, reinstall all your Programs, restore all your "data" (such as your Profile).
If NIPM is still intact, you should try to use it (and only NIPM, not any software that tries to mess with the Registry, including RegEdit) to remove all NI software. I like to use Control Panel, as it has (to my mind) the cleanest interface, so I'll use that here. I forgot to say that in my almost two decades of LabVIEW experience, a situation like you described cannot be "repaired", it can only be "removed and re-installed". Of course, that means that you need to be able to re-install whatever LabVIEW versions you need, which requires access to the installation media (now mostly via the Web) and appropriate License numbers. Compared to a "Remove all and reinstall all", a "Repair all" will probably take 6-20 times longer (meaning hours, at least).
To remove LabVIEW safely,
If you've got a LabVIEW Guru in the vicinity, ask him or her to be present when you do this ...
Bob Schor
05-10-2024 02:19 AM
Hi
If your action was related to NI Package Manager as indicated, I would :
1. Find another computer ( call it 'fresh' ) without any NI software on it.
2. Install the Package Manager and nothing else on the 'fresh' computer.
3. Copy missing content or everything 'National Instruments' related in the 'Program Files' folder from the 'fresh' computer to your computer.
To do step 3 in a sensible way you should use a file manage that allows you to compare folders and copy with administrative privilege. I highly recommend using 'Total Commander' for that.
Regards
05-11-2024 04:03 PM
Hi softball
Thank you very much. I would like to make a comment additional to your solution. Copying NI package manager folder from another computer solved my problem. I can launch NI package manager and uninstall/reinstall the NI software with no problem except for the NI package manager itself. It was grey out and can't be selected to be uninstalled. My solution is to install the NI command line interface and uninstall all NI packages using the command lines. This enabled me to clean all NI packages including the package manager. Then I installed all the NI software back.
Best,
05-12-2024 01:09 AM
Hi
Nice to see you solved your problem.
The Package Manager can un-install everything except itself. Therefore it is grayed out.
You un-install the Package Manager as normal programs, 'Control Panel' => 'Programs and Features'.
Regards
05-12-2024 08:48 AM
@softball wrote:
Hi
Nice to see you solved your problem.
The Package Manager can un-install everything except itself. Therefore it is grayed out.
This is wrong, and potentially dangerous. The NI Package Manager can uninstall itself, but only when it is the only thing left. When you do this (as I explained in my earlier post), it will warn you and ask "Are you sure?", to which you can (safely) answer "Yes".
Bob Schor
05-17-2024 06:30 AM
Sorry Bob, but I have to correct your correction.
You cannot just use the Package Manager to uninstall itself. You have to go through 'Programs and Features'. From there you can initiate the uninstall of the Package Manager.
When everything selectable NI is removed from the Package Manager, and after a reboot you will see this :
But there You still cannot select the NI Package Manager. Its grayed out. Click on it. Nothing happens.
But if you select the marked line in 'Programs and Features' as shown below, then the Package Manager wakes up and will offer to uninstall itself in this special dialog box :
To do a thorough uninstall thereafter, select the other line called 'NI Software' and uninstall that. It might surprisingly list 100+ packages to be removed.
I usually then use 'Everything' to search for 'National Instruments' and delete all folders and subfolders found. They are all in standard locations, and it s just my modus operandi. I have seen no downsides doing so.
Regards