Installer Framework - Installing updates?



  • On Windows (7), how is the end user supposed to install updates with an Installer Framework-created online installer? In my experience, an installer will always try to install from scratch. I have to launch the uninstaller to update an installation...



  • In your Qt directory, on Posix-like systems: ~/Qt/, run MaintenanceTool. First it will ask to update tools. Do that, then it will relaunch, select what you want to update.



  • I forgot to mention this is on Windows.
    [quote author="Socapex" date="1418854922"]In your Qt directory, on Posix-like systems: ~/Qt/, run MaintenanceTool. First it will ask to update tools. Do that, then it will relaunch, select what you want to update.[/quote]



  • Find MaintenanceTool.exe, in your Qt directory. If you don't know where it is, I recommend a powerful tool called google ;)



  • But Qt isn't installed on the end user's machine, do you also expect an end user to follow this type of routine?? Doesn't sound right to me.
    [quote author="Socapex" date="1418856838"]Find MaintenanceTool.exe, in your Qt directory. If you don't know where it is, I recommend a powerful tool called google ;)[/quote]



  • Oh wait, you are talking about shipping application? Well then ignore my posts. You will want to update your build with the new framework then ship that. Maybe you use a dll on windows, you will have to ship a new dll. Or if you are statically linking, then the update will contain the new framework.

    Sorry I misunderstood your question!



  • I'm not sure you understand what I'm asking. An end user is able to install an update, but not by executing the installer itself. One has to launch the uninstaller, which is kind of weird.
    [quote author="Socapex" date="1418858554"]Oh wait, you are talking about shipping application? Well then ignore my posts. You will want to update your build with the new framework then ship that. Maybe you use a dll on windows, you will have to ship a new dll. Or if you are statically linking, then the update will contain the new framework.

    Sorry I misunderstood your question![/quote]



  • I don't think I understand what you mean either ^_^

    Are your users installing Qt themselves? Can you give an example of what is going on from a user perspective?



  • The scenario is:

    1. An end user installs my application with an online installer, created by Installer Framework.
    2. An update is published.
    3. How should the end user install the update?

    The problem at 3. is that if the end user launches the installer, it doesn't allow for updating the existing installation, it'll just try to install another instance. You have to launch the installer actually, in order to be able to update the installation to the new version.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.