从Visual Studio uwp .appx文件中制作.exe文件 [英] make .exe file out of Visual Studio uwp .appx file

查看:251
本文介绍了从Visual Studio uwp .appx文件中制作.exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个uwp应用程序,它是为Windows 10(多点触控等)使用Visual Studio 2015设计的, 但不得通过Windows应用商店发布(是的,它还包括通过Windows应用商店提供的私有/隐藏"版本) 对于普通客户而言,通过Powershell进行安装会有些复杂, 所以我更喜欢一些旧的.exe文件.

I have an uwp-app, designed with Visual Studio 2015 for windows 10 (multi-touch, etc.), but it must NOT be released via Windows Store (and yes, that includes also the kind'a "private / hidden" version via Windows store) and an installation via Powershell is a little complicated for an average customer, so I would prefer some good old .exe file.

是否可以导出/释放程序,而不是将.appx导出为.exe?

Is there any possibility to export / release the programm instead of .appx as .exe?

感谢任何支持 :)

推荐答案

简短的答案是您不能.

本文中所述:

要出售您的通用Windows平台(UWP)应用或将其分发给 其他用户,则需要为其创建一个appxupload软件包.当你 创建appxupload,将生成另一个appx包以供使用 用于测试和侧面加载.您可以通过以下方式直接分发您的应用 将appx软件包侧面加载到设备上.

To sell your Universal Windows Platform (UWP) app or distribute it to other users, you need to create an appxupload package for it. When you create the appxupload, another appx package will be generated to use for testing and sideloading. You can distribute your app directly by sideloading the appx package to a device.

所以您只有三个选择:

  1. 创建包装并将其上传到商店.
  2. 创建包并执行侧面加载过程.
  3. 使用UWP的视图模型和逻辑/后端层创建一个新的WPF应用程序.

您也许可以创建一个Powershell脚本来尝试使该过程自动化(我从未尝试过),或者您可以在WPF中创建自己的应用程序来对其进行自动化,但是除此之外,到目前为止,还没有其他官方选项可用.

You might be able to create a powershell script to try and automate the process (I have never tried this), or your own application in WPF to automate it, but aside from that, no other official options are available as of today.

这篇关于从Visual Studio uwp .appx文件中制作.exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆