To add an app package (.appx) for a particular user, or to test a package while developing your app, use theAdd-AppxPackagecmdlet instead. For more information, including requirements for app package provisioning, seeSideload Apps with DISMandHow to develop an OEM app that uses a custom fil...
DISM.exe /Add-ProvisioningPackage /PackagePath:<package_path> [/CatalogPath:<path>] 示例: 将预配包添加到已装载或已应用的映像: Windows 命令提示符 复制 DISM.exe /Image=D:\mount /Add-ProvisioningPackage /PackagePath:C:\oem.ppkg 在正在运行的 Windows 安装中添加预配包: Windows ...
/Add-ProvisioningPackage - 添加预配程序包。WINDOWS 版本服务命令:/Set-ProductKey - 设置脱机映像的产品密钥。 /Get-TargetEditions - 显示可以将映像升级到的 Windows 版本列表。 /Get-CurrentEdition - 显示当前映像的版本。 /Set-Edition - 将映像升级到较高的版本。For...
The Add-AppxProvisionedPackage cmdlet adds an app package (.appx) that will install for each new user to a Windows image. If the package has dependencies that are architecture-specific, you must install the applicable architectures for the dependency on
Use the PackagePath, DependencyPackagePath, and LicensePath parameters to specify the location of all the files that are needed to add the provisioned app package (.appx). Use these parameters to provision line-of-business apps.Use the FolderPath parameter to specify the location of a folder ...
Use the PackagePath, DependencyPackagePath, and LicensePath parameters to specify the location of all the files that are needed to add the provisioned app package (.appx). Use these parameters to provision line-of-business apps.Use the FolderPath parameter to specify the location of a folder ...
Add-WindowsPackage -Path "C:\MountPath" -PackagePath "C:\Packages" 卸载软件包: powershellCopy Code Remove-WindowsPackage -Path "C:\MountPath" -PackageName "PackageName" 启用和禁用Windows功能: 使用DISM 命令启用或禁用Windows功能: powershellCopy Code Dism /Online /Enable-Feature /FeatureName:...
Dism /Image:C:\test\offline /Add-ProvisionedAppxPackage /PackagePath:C:\Test\Apps\MyPackedApp\MainPackage.appxbundle /SkipLicense /Remove-ProvisionedAppxPackage /PackageName:< PackageName> Removes provisioning for app packages (.appx or .appxbundle) from the image. App packages will not be regis...
Dism /Image:C:\test\offline /Add-ProvisionedAppxPackage /PackagePath:C:\Test\Apps\MyPackedApp\MainPackage.appxbundle /SkipLicense /Remove-ProvisionedAppxPackage /PackageName:< PackageName> Removes provisioning for app packages (.appx or .appxbundle) from the image. App packages will not be regis...
AppX package servicing Application addition and removal Capabilities Capability addition and removal Drivers Driver addition and removal Provisioning packages Add provisioning packages to an image Languages and regional servicing Setting keyboard layered drivers Unattended answer files Creating and managin...