首页 游戏 软件 排行 智能
Win10桌面应用直接转换为UWP应用
  • Win10桌面应用直接转换为UWP应用0.1.8 官方版

  • 大小:1.4M更新:2016-04-29
  • 类别:系统其它系统:WinAll, WinXP

Win10桌面应用直接转换为UWP应用是一款能够将传统桌面应用转换为Win10 UWP应用的转换工具。从以前的应用虚拟化(App-V)上改过来的,主要起到沙盒的功能,外加提供WinRT API支持。通过此工具,开发者可以直接以静默方式将传统桌面应用安装包如.msi或.exe转换为AppX安装包,之后通过PowerShell命令Add-AppXPackage即可直接部署到Win10桌面系统中。

运行过程中,转换器将对安装包的注册表和文件系统读写操作进行监视,最终直接生成AppX安装包,过程中微软将会收集一些必要信息以对产品进行进一步优化。

安装Desktop App Converter:

Desktop App Converter relies on Windows 10 features that are flighted as part of the Windows Insider Preview builds. Make sure that you're on the latest build to utilize the converter.

Ensure that you have the latest Windows 10 Insider Preview OS - Enterprise edition (Build 10.0.14316.0 and up).

Download the DesktopAppConverter.zip and the BaseImage-14316.wim.

Extract the DesktopAppConverter.zip to a local folder.

From an admin PowerShell window:

PS C:\> Set-ExecutionPolicy bypass

Run the following command from an admin PowerShell window to setup the converter:

PS C:\> .\DesktopAppConverter.ps1 -Setup -BaseImage .\BaseImage-14316.wim

实例:

PS C:\>.\DesktopAppConverter.ps1 -ExpandedBaseImage C:\ProgramData\Microsoft\Windows\Images\BaseImage-14316 -Installer C:\Installer\MyApp.exe -InstallerArguments "/S" -Destination C:\Output\MyApp -PackageName "MyApp" -Publisher "CN=<publisher_name>" -Version 0.0.0.1 -MakeAppx -Verbose

.Appx 文件签名:

The Add-AppxPackage cmdlet requires that the application package (.appx) being deployed must be signed. Use SignTool.exe, which ships in the Microsoft Windows 10 SDK, to sign the .appx package.

Example

C:\> MakeCert.exe -r -h 0 -n "CN=<publisher_name>" -eku 1.3.6.1.5.5.7.3.3 -pe -sv <my.pvk> <my.cer>
C:\> pvk2pfx.exe -pvk <my.pvk> -spc <my.cer> -pfx <my.pfx>
C:\> signtool.exe sign -f <my.pfx> -fd SHA256 -v .\<outputAppX>.appx

用法:

DesktopAppConverter.ps1

-ExpandedBaseImage <String>

-Installer <String> [-InstallerArguments <String>] [-InstallerValidExitCodes <Int32>]

-Destination <String>

-PackageName <String>

-Publisher <String>

-Version <Version>

[-AppExecutable <String>]

[-AppFileTypes <String>]

[-AppId <String>]

[-AppDisplayName <String>]

[-AppDescription <String>]

[-PackageDisplayName <String>]

[-PackagePublisherDisplayName <String>]

[-MakeAppx]

[-NatSubnetPrefix <String>]

[-LogFile <String>]

[<CommonParameters>]

查看全部

玩家留言 跟帖评论
查看更多评论
精品推荐
相关文章
猜你喜欢

开发者其他应用

同类下载
其它版本