[Qt-interest] QT Application update module

Puneet Bisht pbisht at nivio.com
Wed Aug 26 09:28:10 CEST 2009


Thanks Sean

Ok that is correct .
But i am confused how to create that(updater) executable.
Actually i am deploying myApp.app using macdeployqt tool.
The executable inside the MacOS folder is useless if i dont deploy the app.
Now the question is how i can deploy updater separately and how to use
that executable alone.

another question :-

i want to update the app by replacing it with new myApp.app , how an
executable inside same bundle can replace it(bundle) .

>> 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