设置默认文件关联Mac OS X Java Package Maker安装程序 [英] Set Default file association Mac OS X Java Package Maker Installer

查看:94
本文介绍了设置默认文件关联Mac OS X Java Package Maker安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于Leopard上的Package Maker,我有两个问题.我安装了Xcode 3.1.4.我将Java应用程序从Eclipse导出到应用程序捆绑包中,并为此制作了一个安装程序.我对Mac知之甚少,所以现在我不打算使用随机工具了.

I have two questions about Package Maker on Leopard. I installed Xcode 3.1.4. I exported my Java app out of Eclipse into an app bundle and made an installation program for it. I know little about Macs so I am going off of random sites right now on how to use this tool.

1)有没有一种方法可以使用Package Maker或更改"Info.plist",以在安装时默认将特定的文件扩展名注册到您的应用程序中?现在,它显示没有指定默认应用程序来打开此文档".

1) Is there a way using Package Maker or alter the "Info.plist" to register a specific file extension to your app by default when it is installed? Right now it gives the "There is no default application specified to open this document".

2)HD上默认将程序安装在哪里?我尝试使用设置用户选择的卷"以及用户主目录"进行安装,但我在任何地方都找不到我的应用程序.

2) Where is the program installed to by default on the HD? I tried installing with the setting "User selected Volume" as well as "User home directory" and I cannot find my application anywhere.

程序说安装成功,但是"/Applications"目录或"/Users/Username/"目录中没有任何内容.我在"/Library/Reciepts/boms/"目录中看到了BOM表,但是该应用程序包中没有应用程序文件夹.

The program said installed successfully but nothing is in the "/Applications" directory or the "/Users/Username/" directory. I see the BOM in the "/Library/Reciepts/boms/" directory but there is no app folder with the app bundle.

更新:此问题已完成.第1部分将答案发布到下面,第2部分由Nate回答.

UPDATE: This question is completed. Part 1 I posted my answer to below, and part 2 was answered by Nate.

推荐答案

也许该线程可以帮助解决问题2:

Maybe this thread can help regarding issue 2:

http://lists.apple.com/archives/installer-dev/2009/Sep/msg00036.html

这篇关于设置默认文件关联Mac OS X Java Package Maker安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆