[Qt-interest] QT Application update module

Murphy, Sean M. sean.murphy at gd-ais.com
Tue Aug 25 16:41:37 CEST 2009


> Actually i am installing my app by a dmg installer on users machine.
> when user double clicks on that dmg he/she can drop the myApp.app into
> Application folder.
> 
> Now the problem is externel updater application . should i install
> this updater into user machine .if yes than where(i.e location)

I haven't tried this, but I don't think there is any restriction to
having multiple executables inside the App Bundle.  So I think you could
put your updater application inside the myApp.app bundle, that way you
always know the relative path from your actual executable to your
updater application, and vice versa.  

This link might help:
http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBun
dles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW
19

According to the link, you can put other executables in the
Contents/MacOS directory, so I think you could safely stick your updater
in there...

Sean




More information about the Qt-interest-old mailing list