使用Desktop App Converter打包桌面应用程序

备注

桌面应用转换器工具已弃用。 建议改用.Msix 打包工具

打包具有安装程序 (.msi) 的应用程序

DesktopAppConverter.exe -Installer C:\Installer\MyAppSetup.msi -Destination C:\Output\MyApp -PackageName "MyApp" -Publisher "CN=MyPublisher" -Version 0.0.0.1

打包具有安装程序 (setup executable) 的应用程序

DesktopAppConverter.exe -Installer C:\Installer\MyAppSetup.exe -InstallerArguments "/S" -Destination C:\Output\MyApp -PackageName "MyApp" -Publisher "CN=MyPublisher" -Version 0.0.0.1

打包无安装程序的应用程序

DesktopAppConverter.exe -Installer C:\Installer\MyApp\ -AppExecutable MyApp.exe -Destination C:\Output\MyApp -PackageName "MyApp" -Publisher "CN=MyPublisher" -Version 0.0.0.1

 

如果采用第二种方式,需要安装程序具有无人参与的模式,所以如果安装程序不具有无人参与的模式,可以手动安装程序,然后用第三种方式打包。

Package a desktop application using the Desktop App Converter

 

posted on 2019-05-17 17:57  JebediahKerman  阅读(321)  评论(0编辑  收藏  举报

导航