win10安装appx工具_如何在Windows10上安装.Appx或.AppxBundle软件

win10安装appx⼯具_如何在Windows10上安装.Appx
或.AppxBundle软件
win10安装appx⼯具
Microsoft’s new Universal Windows Platform applications use the .Appx or .AppxBundle file format. They’re normally installed from the Windows Store, but Windows 10 from anywhere.
Microsoft的新通⽤Windows平台应⽤程序使⽤.Appx或.AppxBundle⽂件格式。 它们通常是从Windows应⽤商店中安装的,但是Windows 10 从任何地⽅ 。
Like other software, you should only install .Appx or .AppxBundle packages from sources you trust.
与其他软件⼀样,您应该仅从信任的来源安装.Appx或.AppxBundle软件包。
环保防尘网
什么是.Appx或.AppxBundle? (What’s an .Appx or .AppxBundle?)
New Windows 10 “Universal apps” or “Universal Windows Platform” apps are distributed in .Appx or .AppxBundle files. These are application packages that include the name, description, and permissions of an app along with the application’s binaries. Windows can install and uninstall these packages in a standard fashion, so developers don’t have to write their own installers. Windows can handle everything in a consistent way, allowing it to cleanly uninstall applications with no leftover registry entries.
新的Windows 10“通⽤应⽤程序”或“通⽤Windows平台”应⽤程序以.Appx或.AppxBundle⽂件分发。 这些是应⽤程序包,其中包括应⽤程序的名称,描述和权限以及应⽤程序的⼆进制⽂件。 Windows可以以标准⽅式安装和卸载这些软件包,因此开发⼈员不必编写⾃⼰的安装程序。 Windows可以以⼀致的⽅式处理所有事情,从⽽允许它⼲净地卸载应⽤程序⽽没有剩余的注册表项。
If a developer makes a .Appx program, you normally don’t download and install it directly. Instead, you visit the Windows Store, search for the program you want to install, and download it from the Store. All software in the Windows Store is in
.Appx or .AppxBundle format behind the scenes.
如果开发⼈员制作了.Appx程序,则通常不直接下载并安装它。 相反,您访问Windows应⽤商店,搜索要安装的程序,然后从应⽤商店下载该程序。 Windows应⽤商店中的所有软件在后台都是.Appx或.AppxBundle格式。
In some cases, you may need to install a .Appx or .AppxBundle package from outside the Store. For example, your workplace may provide an application you need in .Appx format, or you may be a developer who needs to test your own software before uploading it to the Store.
在某些情况下,您可能需要从商店外部安装.Appx或.AppxBundle软件包。 例如,您的⼯作场所可能以.Appx格式提供您需要的应⽤程序,或者您可能是需要在将其上传到商店之前测试⾃⼰的软件的开发⼈员。
第⼀:启⽤侧载 (First: Enable Sideloading)
You can only install .Appx or .AppxBundle software if sideloading is enabled on your Windows 10 device. Sideloading is enabled by default starting with , but sideloading may be disabled by company policy on some devices.
如果在Windows 10设备上启⽤了侧⾯加载,则只能安装.Appx或.AppxBundle软件。 从开始,默认情况下会启⽤侧载,但是某些公司的公司政策可能会禁⽤侧载。
To check if sideloading is enabled, head to Settings > Update & Security > For Developers. Ensure the setting here is set to either “Sideload apps” or “Developer mode”. If it’s set to “Windows Store apps”, you won’t be able to install .Appx or .AppxBundle software from outside the Windows Store.
指路器
要检查是否启⽤了旁加载,请转到设置>更新和安全性>对于开发⼈员。 确保此处的设置设置为“ Sideload应⽤程序”或“开发⼈员模式”。 如果将其设置为“ Windows Store应⽤程序”,则将⽆法从Windows Store外部安装.Appx或.AppxBundle软件。
If this option is set to “Windows Store apps” and you enable sideloading, Windows will warn that apps you install could expose your device and data, or harm your PC. It’s like installing normal Windows software: You should only install software from sources you trust.
如果将此选项设置为“ Windows Store应⽤程序”并且启⽤了侧载,则Windows将警告您安装的应⽤程序可能会暴露您的设备和数据,或损害您的PC。 就像安装普通的Windows软件⼀样:您应该仅从信任的来源安装软件。
如何使⽤图形安装程序安装.Appx软件包 (How to Install an .Appx Package Using the Graphical Installer)
On , Microsoft added a new “App Installer” tool that allows you to install .Appx or .AppxBundle applications graphically. To install them, just double-click a .Appx or .AppxBundle package.
在 ,Microsoft添加了⼀个新的“ App Installer”⼯具,该⼯具可让您以图形⽅式安装.Appx或.AppxBundle应⽤程序。 要安装它们,只需双击.Appx或.AppxBundle程序包。
You’ll be shown information about the .Appx package, including the name, publisher, version number, and an icon provided by the developer. To install the package, click the “Install” button.
将显⽰有关.Appx包的信息,包括名称,发布者,版本号和开发⼈员提供的图标。 要安装软件包,请单击“安装”按钮。
如何使⽤PowerShell安装.Appx软件包 (How to Install an .Appx Package With PowerShell)
Windows 10 also includes PowerShell cmdlets you can use to install an .Appx package. The cmdlet offers more features than the App Installer tool, such as the ability to point Windows at a dependency path that contains other packages the
局部镀锡
.Appx package needs.
Windows 10还包括可⽤于安装.Appx程序包的PowerShell cmdlet。 该cmdlet提供了⽐App Installer⼯具更多的功能,例如,将Windows指向包含.Appx程序包需要的其他程序包的依赖关系路径的功能。
To install an Appx package with PowerShell, first open a PowerShell window. You can search the Start menu for “PowerShell” and launch the PowerShell shortcut to open one. You don’t need to launch it as Administrator, as .Appx software is just installed for the current user account.
要使⽤PowerShell安装Appx软件包,请⾸先打开PowerShell窗⼝。 您可以在“开始”菜单中搜索“ PowerShell”,然后启动PowerShell快捷⽅式以打开⼀个。 您⽆需以管理员⾝份启动它,因为仅为当前⽤户帐户安装了.Appx软件。
To install an Appx package, run the following cmdlet, pointing it at the path to the .Appx file on your system:
若要安装Appx软件包,请运⾏以下cmdlet,将其指向系统上.Appx⽂件的路径:
Add-AppxPackage -Path "C:\Path\to\File.Appx"
For more advanced usage options, consult Microsoft’s .
有关更多⾼级⽤法选项,请参阅Microsoft的 。
如何使⽤PowerShell安装未打包的应⽤程序 (How to Install an Unpackaged App With PowerShell)
If you’re developing your own software, the above cmdlet won’t be ideal for you. It will only install properly signed applications, but you don’t necessarily want to sign your application while developing it.
如果您正在开发⾃⼰的软件,则上述cmdlet将不是您的理想选择。 它只会安装经过正确签名的应⽤程序,但在开发应⽤程序时您不⼀定要对其签名。
That’s why there’s an alternate way to install Appx software. This only works with apps left in “unpackaged” form. The also creates both an unpackaged app, which you can install using the below command, and the final .Appx application package.
这就是为什么有另⼀种⽅法来安装Appx软件。 这仅适⽤于以“未打包”形式保留的应⽤程序。 还创建了未打包的应⽤程序(您可以使⽤以下命令安装)以及最终的.Appx应⽤程序包。
To do this, you’ll need to open a PowerShell window as Administrator. Afterwards, run the following command, pointing Windows at the “l” file in the unpackaged app’s directory:
为此,您需要以管理员⾝份打开PowerShell窗⼝。 然后,运⾏以下命令,将Windows指向未打包应⽤程序⽬录中的“
Add-AppxPackage -Path C:\Path\l -Register
The application will be registered with the system in developer mode, effectively installing it.
该应⽤程序将以开发⼈员模式在系统中注册,从⽽有效地安装它。土钻
To uninstall an AppX package, just right-click the application in the Start menu and select “Uninstall”. You can also use the  in PowerShell.
要卸载AppX软件包,只需在开始菜单中右键单击该应⽤程序,然后选择“卸载”。 您也可以在PowerShell中使⽤ 。蟾蜍粉
炒茶机win10安装appx⼯具

本文发布于:2024-09-23 12:32:17,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/4/325122.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:安装   程序   开发
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议