03-22-2023 09:02 AM
I hired a company to build me a data collection program. When attempting to insall the .nipkg updates I receive the error (picture)
One or more erros occurred while parsing command line arguments:
Unkown commad:
C:Users\mattL\Downloads\st-data-collection-app-1.0.0.23-windows-all.npikg
Like I said I hired a company to work on this and they are unsure why this is occuring, especially since this is only happening on 1 pc.
Help?
03-22-2023 10:07 AM
I've never seen it before, but i'd try 3 things:
Move the nipkg to a 'neutral' folder, like c:\temp and try from there.
Start NIPM in elevated admin mode
Repair NIPM.
03-22-2023 11:21 AM
Matt, when you double click or use Open menu on a .nipkg file, the OS should be using a file extension association that NIPM created that passes the "install" command followed by the package path. So when I do this on my system and look at Task Mgr, I see the following:
From the error you attached to your message, I think the "install" command is not being passed.
You could try to just manually install the package in a command prompt by passing the path to your package as shown below:
"C:\Program Files\National Instruments\NI Package Manager\NIPackageManager.exe" install "C:Users\mattL\Downloads\st-data-collection-app-1.0.0.23-windows-all.npikg"
I do not know if the nipkg file is in a locked state after download and I being locked should not impact NIPM, but that might be something to look at and to use Properties from Explorer to unlock the file.
03-22-2023 02:42 PM
It might be that you don't have a license (registered with NI) that says you are entitled to NIPM updates. I could imagine, for example, if the software was written in LabVIEW 2021, and LabVIEW Updates were enabled in the build you are running, then this could very well happen. NI's (and its users') experience with the new "Subscription Model" for NI Software is a "work in progress" ...
Bob Schor
03-22-2023 02:50 PM
Scott,
I attemepted the command and would see NIPM appear on the deatails list of Task Mgr, but that would immediatly disappear and nothing would happen. I dug a little deeper to see if this is locked but it I'm not finding any indication that it's locked.
03-22-2023 02:52 PM
I've attempted the first 2 with no success. For the 3rd I'm trying to find a way to repair the program but am not finding anywhere to do this.
03-22-2023 02:54 PM
Bob,
Is there a way to verify this that you know of?
03-22-2023 03:48 PM
I attempted the command and would see NIPM appear on the details list of Task Mgr, but that would immediately disappear and nothing would happen. I dug a little deeper to see if this is locked but it I'm not finding any indication that it's locked.
03-22-2023 04:14 PM
1. No after the initial elevation prompt, I have not had another prompt
2. It was already elivated
3. There was no splash screen, it only showed in Task Mgr that the application began running then almost immediatly disappeared
4. I've tried this a few times and am still getting the same results
5. this is the alarm code I'm recieving in Event Viewer (below)
03-22-2023 04:38 PM
Here is an additional error code, I tried unistalling and reinstalling the application to see if there was any difference with these, still with no success.