开发者

Mac PackageMaker - Allow Relocation Issues

I have two issues with Allow Relocation (Package: Xxx, Components):

  1. It keeps getting turned on as if by magic. How can I avoid this? I need it o开发者_如何学Goff (sub-optimal, I know - see #2)

  2. If Allow Relocation is on, the Installer first places the .app into /Applications, but then relocates it, copying it on top of my original .app in my development tree. How can I prevent this from happening during development, short of testing the installer on a different machine?


PackageMaker manpage says

 [--no-relocate, -w]
          If specified, packagemaker will disable automatic relocation of
          package contents.


In PackageMaker 3, relocation is enabled by default. However, there are ways to disable it. If you are using GUI mode, just uncheck the checkbox "Allow Relocation". If you are using command-line build, use the flags --no-relocate or -w as mentioned in PackageMaker man page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜