在一个pkg安装程序中捆绑多个Xamarin应用程序 [英] Bundle Multiple Xamarin apps in one pkg installer
问题描述
我有几个Xamarin应用程序,我想将它们全部打包为一个pkg/安装程序,并将它们组织到Applications下的文件夹中,类似于下面的快照.是否可以在项目的捆绑软件设置中指定其他Xamarin应用程序的选项,或者需要编写任何构建脚本?有人可以指出一些样品吗?
I have few Xamarin apps and I want to bundle them all as a single pkg/installer and organize them into a folder under Applications similar to the following snapshot attached. Is there an option to specify additional Xamarin apps in the bundle settings of the project or any build script needs to be written? Can anybody point to some samples ?
谢谢
苏玛.
推荐答案
1. pkg安装程序:软件包
请参见有效负载部分以添加文件夹和您的.app文件.
1. pkg installer: Packages
See Payload section to add folder and your .app files.
它们还支持证书,用于签署Developer Installer和命令行.只需检查文档即可.
They also support Certification for signing Developer Installer and Commandline. Just check the documentation.
使用数据包创建 .pkgproj文件配置您的捆绑软件应用
Use Packages to create .pkgproj file that config your bundle apps
转到 Xamarin Studio->项目选项->自定义命令->在构建后添加新的通用:添加脚本以将所有捆绑软件复制到由 .pkgproj文件
Go Xamarin Studio -> Project Options -> Custom Command -> Add new Common After Build: add script to copy all bundle apps to a folder that configured by above .pkgproj file
运行 Packages 的命令行 packagesbuild a>生成 .pkgproj文件
Run command line packagesbuild of Packages to build the .pkgproj file
完成.在Build文件夹中获取.pkg安装程序文件.
Finish. Get your .pkg installer file in Build folder.
这篇关于在一个pkg安装程序中捆绑多个Xamarin应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!