PackageInspector では、インストーラーによって配置されたすべての実行可能ファイルを含むカタログを作成できます
packageinspector
- C:\Windows\system32\PackageInspector.exe /?
Output:
:
PackageInspector.exe <> <> []
PackageInspector.exe start <>: [-path <>]
PackageInspector.exe stop <>: -out cdf|cat|list [-cdfPath <CDF >] [-name <>] [-resdir <>] [-ph true | false] [-en <>] [-ca1 <CATATTR1>] [-ca2 <CATATTR2>] [-listPath <OutputList.txt >]
PackageInspector.exe scan <> -out cdf|cat|list [-cdfPath <CDF >] [-name <>] [-resdir <>] [-ph true | false] [-en <>] [-ca1 <CATATTR1>] [-ca2 <CATATTR2>] [-listPath <OutputList.txt >]
:
start --
stop --
scan -- PackageInspector stop
Start :
path --
Stop/Scan :
out -- (CATCDF List)
cdfPath -- CDF
name --
resdir --
ph --
en --
ca1 -- CDF CAT CATATTR1
ca2 -- CDF CAT CATATTR2
listPath -- (-out list )
Usage:
PackageInspector.exe <command> <DriveLetter or Path> [options]
PackageInspector.exe start <DriveLetter>: [-path <pathToInstaller>]
PackageInspector.exe stop <DriveLetter>: -out cdf|cat|list [-cdfPath <outputCdfPath>] [-name <nameOfCat>] [-resdir <directoryForCat>] [-ph true | false] [-en <encoding type>] [-ca1 <CATATTR1>] [-ca2 <CATATTR2>] [-listPath <pathToOutputList.txt>]
PackageInspector.exe scan <PathToScan> -out cdf|cat|list [-cdfPath <outputCdfPath>] [-name <nameOfCat>] [-resdir <directoryForCat>] [-ph true | false] [-en <encoding type>] [-ca1 <CATATTR1>] [-ca2 <CATATTR2>] [-listPath <pathToOutputList.txt>]
Valid Commands :
start -- Specifies that a user will start a scan
stop -- Specifies that a scan is complete and one of the supported outputs it to be produced
scan -- Specifies that PackageInspector is to directly scan the given path rather than monitor created files. Takes same options as stop
Start Options :
path -- File path to the package being inspected
Stop/Scan Options :
out -- Specifies what the tool should output from the scan (CAT, CDF, or List)
cdfPath -- Specifies the full path for output of CDF including filename
name -- Specifies the name of the catalog to produce
resdir -- Specifies the result directory of the catalog
ph -- Specifies whether page hashes should be included in the catalog
en -- Specifies the encoding type of the catalog
ca1 -- Specifies CATATTR1 in the CDF or CAT
ca2 -- Specifies CATATTR2 in the CDF or CAT
listPath -- Specifies location to output list of files laid down by installer (for -out list)
Return Code: 1
C:\Windows\system32\PackageInspector.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 90624bytes |
| Creation Time | 2019/12/07 18:10:21 |
| LastWrite Time | 2019/12/08 00:14:27 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 1.00 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | a128a0b6961768391516e71db936e4e4 |
| SHA1 | 148cc949edd24d9227736c75a831df2be746a7c5 |
| SHA224 | 16f601ffd201d62c17076665549eee1ef5eb3175cd48b23afebd2b1b |
| SHA256 | adf1880a66c7ffab61f60dbb27145a0dccbc7b7726ac750896ff2b7e79a31064 |
| SHA384 | 2aa127f0872b36c818d38d2bfbdb436c53d56c8c7946fb5aa00f59fea0104520ba61763d3987b9a288deb6f62b06d4ff |
| SHA512 | b60c0a5779d8a9fe69e124da62ef8647940df2bb916c5e644178290a1387040c5c017e33a4388a9677958253e2fd6a5e2132a77d322cbb3d3f3ab80fcd3a2502 |