App-V Package WMI Class
Aplica-se a: Application Virtualization
In the Application Virtualization (App-V) Client, the Package class is a Windows Management Instrumentation (WMI) class that represents all the virtual packages on the client. The virtual packages can contain many virtual applications.
class Package
{
string Name;
string Version;
string PackageGUID;
string SftPath;
uint64 TotalSize;
uint64 CachedSize;
uint64 LaunchSize;
uint64 CachedLaunchSize;
boolean InUse;
boolean Locked;
uint16 CachedPercentage;
string VersionGUID;
};
Properties
Name
Data type: StringAccess type: Read-only
Qualifiers: None
The user-friendly name of the virtual package.
Version
Data type: StringAccess type: Read-only
Qualifiers: None
The version of the virtual package.
PackageGUID
Data type: StringAccess type: Read-only
Qualifiers: Key
The GUID identifier of the package configuration and source files.
SftPath
Data type: StringAccess type: Read-only
Qualifiers: None
The file path of the SFT file.
TotalSize
Data type: UInt64Access type: Read-only
Qualifiers: None
The total size of the virtual package, in kilobytes.
CachedSize
Data type: UInt64Access type: Read-only
Qualifiers: None
The total size of the cache for the virtual package, in kilobytes.
LaunchSize
Data type: UInt64Access type: Read-only
Qualifiers: None
The total size of the virtual package’s primary feature block, in kilobytes.
CachedLaunchSize
Data type: UInt64Access type: Read-only
Qualifiers: None
Total size of the virtual package’s primary feature block that has been cached, in kilobytes.
InUse
Data type: BooleanAccess type: Read-only
Qualifiers: None
true if any virtual application in the virtual package is running; otherwise false.
Locked
Data type: BooleanAccess type: Read-only
Qualifiers: None
true if the virtual package is locked; otherwise false.
CachedPercentage
Data type: UInt16Access type: Read-only
Qualifiers: None
The percentage of the cache files. Based on the following formula: CachedSize / TotalSize × 100.
VersionGUID
Data type: StringAccess type: Read-only
Qualifiers: None
The GUID identifier of the package version.
-----
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
-----