Results 1 to 10 of 10

Thread: Qt application auto-updater?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Location
    Germany
    Posts
    108
    Thanks
    2
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt application auto-updater?

    Quote Originally Posted by wysota View Post
    Firefox only makes an update if it has write permissions to the binary.
    That's not entirely true. It downloads the update and asks to install it, and ultimately the update installation will fail due to a lack of permissions. Experienced with Firefox 2.0.0.2 at university.
    "If you lie to the compiler, it will get its revenge." - Henry Spencer

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt application auto-updater?

    I have "update" options disabled if I don't have permissions to the destination directory. Maybe it only affects the possibility to change settings and not the actual update.

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt application auto-updater?

    If you originally install your app as admin, then you'll have to make the update as admin.
    If you install it as a regular user, then set write permissions for the current user for your files. Then it is possible for the same user to update the app.

    On Vista you can elevate you app's rights to a more privileged user ( by asking the current user a user name and pwd ). You'll just have to add a few extra entries in the app manifest and some lines of code.

    Regards

Similar Threads

  1. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37
  2. Application deployment problem
    By shapirlex in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 13th April 2007, 00:11
  3. Replies: 3
    Last Post: 8th December 2006, 18:51
  4. Gnome makes application crash
    By regix in forum Qt Programming
    Replies: 35
    Last Post: 18th August 2006, 19:44
  5. Replies: 3
    Last Post: 31st March 2006, 18:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.