PackageMaker 不安装任何内容
我有一个问题,正如这里 http:// /compgroups.net/comp.sys.mac.apps/PackageMaker-not-installing-my-app (没有提供解决方案)
简单地说,使用 PackageMaker 我创建一个安装程序,它应该只复制里面的 .app /应用
一切顺利,安装程序具有适当的大小 150MB,安装开始,我提示输入安装位置和管理员密码,我单击安装,显示进度并显示安装成功的窗口,但是当我查看应用程序,或指定的自定义文件夹,那里什么都没有
我尝试了 Xcode 3 和 4 中的 PackageManager,但结果是相同的,我也尝试为每个人设置文件权限,所以他们是世界可以写,但是没有成功
i have a problem, which is exactly as here http://compgroups.net/comp.sys.mac.apps/PackageMaker-not-installing-my-app (no solution is offered)
simply said, with PackageMaker i create an installer, which should just copy the .app inside /Applications
all goes well, the installer has the apropriate size of 150MB, the install starts, iam promped for the install location and admin password, i click install, progress shows up and a window that installation was successfull, but when i look at the Applications, or the custom folder specified, its nothing there
i tryed the PackageManager from Xcode 3 and also 4, but the result is the same, i also tryed to set the file permission for everybody, so they are world writable, but no success
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您是否在构建安装程序的同一台计算机上测试安装程序?如果您设置了“允许重新定位”框,安装将简单地覆盖您用于打包的现有应用程序,而不是安装到 /Applications。
Are you testing the installer on the same machine where you are building the installer? If you've set the "Allow Relocation" box a install will simply overwrite your already existing app you used for packaging instead of installing to /Applications.
不要只是为了将应用程序移动到 /Applications 内而创建包。
只需压缩您的应用程序包,使其成为
YourApp.app.zip
,这是一种完全可以接受的应用程序分发方式。然后,用户可以将应用程序包(解压 zip 后)放置在用户想要的任何位置。Don't create the package just to move the app inside /Applications.
Just zip your app bundle so that it becomes
YourApp.app.zip
, which is a perfectly acceptable way to distribute your app. Then the user can place the app bundle (after unpacking the zip) wherever the user wants.您是否为包的内容启用了“在包中包含根”?请参阅此答案了解解释它的作用以及您可能需要它的原因。
Do you have "Include root in package" enabled for the package's contents? See this answer for an explanation of what it does and why you probably need it.