[MacRuby-devel] MacDriverLog Installer

Eloy Duran eloy.de.enige at gmail.com
Tue Jan 25 09:49:04 PST 2011


Great! :)

Aliases are quite awesome when used locally, they allow you to link to a file that may move freely on the volume (and even across volumes iirc). However, I think that for your installer this won't really be a requirement, i.e. the link will probably always be in the unpacked directory and will always be correct relative to the ./build dir.

There's lots to be found on the topic through google, this one seemed ok: http://www.cocoatech.com/weblog/archives/2007/04/30/aliases_symboli

On 25 jan 2011, at 17:26, Robert Rice wrote:

> Hi Eloy:
> 
> Yes, it worked!
> 
> Seems like Apple should have better support for alias files in OS X. I see methods in NSFileWrapper to resolve a symlink but not to resolve an alias file. Apple suggests a more complicated procedure to resolve an alias file. I don't mind using terminal to create the install package but I want to allow users to create alias files in my application support directories.
> 
> Thanks, Bob Rice
> 
> 
> On Jan 25, 2011, at 11:08 AM, Eloy Durán wrote:
> 
>> I think so, but let's try! Here's a zip with a symlink: http://cl.ly/3z1R2c0r3q3q1k080F1p
>> 
>> Created as relative link with: $ ln -s original/For\ those\ who\ took\ the\ effort.jpg
>> 
>> On Jan 25, 2011, at 4:59 PM, Robert Rice wrote:
>> 
>>> Hi Eloy:
>>> 
>>> Thanks for the feedback. I used an alias file. Will a symlink work better than an alias file when the zip is expanded on a different volume?
>>> 
>>> I'm using Iceberg to build the install package. Iceberg outputs a build folder and I don't see an option to output a single file. The symlink should point to the file MacDriverLogIceberg.mpkg in the build folder.
>>> 
>>> I will change the font.
>>> 
>>> Thanks,
>>> Bob Rice
>>> 
>>> 
>>> On Jan 25, 2011, at 8:40 AM, Eloy Durán wrote:
>>> 
>>>> The alias to the meta pkg doesn't resolve, did you create a symlink or an alias? http://cl.ly/2J3j2C1t0e1u2H1Q2K2C
>>>> 
>>>> PS I know this is not what your question was about, feel free to ignore it, but the font on that page you linked to is really not friendly on the eyes imho.
>>>> 
>>>> On Jan 25, 2011, at 3:22 AM, Robert Rice wrote:
>>>> 
>>>>> Hi MacRubyists:
>>>>> 
>>>>> MacDriverLog is an application I am developing for truckers using MacRuby.
>>>>> 
>>>>> I can't fully test the installer without a second machine. I would appreciate it if someone could download it from http://MacDriverLog.com and let me know if the install package works.
>>>>> 
>>>>> Thanks,
>>>>> Bob Rice
>>>>> 
>>>>> _______________________________________________
>>>>> MacRuby-devel mailing list
>>>>> MacRuby-devel at lists.macosforge.org
>>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>> 
>>>> _______________________________________________
>>>> MacRuby-devel mailing list
>>>> MacRuby-devel at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> 
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110125/7f796609/attachment.html>


More information about the MacRuby-devel mailing list