S
samsilburt
I'm trying to test the integrity of ".cab" addon packages and hotfixes by installing them using the Package Manager tool (pkgmgr.exe) or alternatively, the Deployment Image Servicing and Management Tool (DISM.exe) for Windows 7. In order to do so, I'm aware that I have to invoke either tool through the command line.
In Package Manager, I use the syntax,
Command Prompt> pkgmgr.exe /ip /m:C:\Test\test.cab
Alternatively, I might add quotes around the pathname:
Command Prompt> pkgmgr.exe /ip /m:"C:\Test\test.cab"
The error received in pkgmgr is:
Operation failed with 0X80070002. The system cannot find the specified file.
My initial impression was that my syntax was incorrect, though I can't spot the error. The path points to "test.cab" which is a renamed windows addon which contains the necessary "svcpack" folder and the "entries_XX.ini" file. I've used several different ".cab" files, some of which I know to be genuine, hopefully ruling out the possibility of a corrupt or incompatible file. I've also tried this whole procedure on different computers, and have received the exact same error code, so i doubt the pkgmgr tool istelf is corrupt.
Lastly, I've tried an alternative Windows 7/8 tool DISM to try to achieve essentially the same task using the following syntax in an elevated command prompt:
Commnand Prompt> DISM.exe /Online /Add-Package /PackagePath:"C:\Test\test.cab"
This produces a similar error:
An error occurred trying to open - C:\Test\test.cab Error: 0x80070002
Error: 2
The system cannot find the file specified.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
I am really unsure as to why I am producing these errors. Any insight is appreciated.
Continue reading...
In Package Manager, I use the syntax,
Command Prompt> pkgmgr.exe /ip /m:C:\Test\test.cab
Alternatively, I might add quotes around the pathname:
Command Prompt> pkgmgr.exe /ip /m:"C:\Test\test.cab"
The error received in pkgmgr is:
Operation failed with 0X80070002. The system cannot find the specified file.
My initial impression was that my syntax was incorrect, though I can't spot the error. The path points to "test.cab" which is a renamed windows addon which contains the necessary "svcpack" folder and the "entries_XX.ini" file. I've used several different ".cab" files, some of which I know to be genuine, hopefully ruling out the possibility of a corrupt or incompatible file. I've also tried this whole procedure on different computers, and have received the exact same error code, so i doubt the pkgmgr tool istelf is corrupt.
Lastly, I've tried an alternative Windows 7/8 tool DISM to try to achieve essentially the same task using the following syntax in an elevated command prompt:
Commnand Prompt> DISM.exe /Online /Add-Package /PackagePath:"C:\Test\test.cab"
This produces a similar error:
An error occurred trying to open - C:\Test\test.cab Error: 0x80070002
Error: 2
The system cannot find the file specified.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
I am really unsure as to why I am producing these errors. Any insight is appreciated.
Continue reading...