备注
桌面应用转换器工具已弃用。 建议改用.Msix 打包工具。
打包具有安装程序 (.msi) 的应用程序
DesktopAppConverter.exe -Installer C:InstallerMyAppSetup.msi -Destination C:OutputMyApp -PackageName "MyApp" -Publisher "CN=MyPublisher" -Version 0.0.0.1
打包具有安装程序 (setup executable) 的应用程序
DesktopAppConverter.exe -Installer C:InstallerMyAppSetup.exe -InstallerArguments "/S" -Destination C:OutputMyApp -PackageName "MyApp" -Publisher "CN=MyPublisher" -Version 0.0.0.1
打包无安装程序的应用程序
DesktopAppConverter.exe -Installer C:InstallerMyApp -AppExecutable MyApp.exe -Destination C:OutputMyApp -PackageName "MyApp" -Publisher "CN=MyPublisher" -Version 0.0.0.1
如果采用第二种方式,需要安装程序具有无人参与的模式,所以如果安装程序不具有无人参与的模式,可以手动安装程序,然后用第三种方式打包。
Package a desktop application using the Desktop App Converter