Installer Framework - Installing updates?
-
wrote on 17 Dec 2014, 12:54 last edited by
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...
-
wrote on 17 Dec 2014, 22:22 last edited by
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.
-
wrote on 17 Dec 2014, 22:39 last edited by
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] -
wrote on 17 Dec 2014, 22:53 last edited by
Find MaintenanceTool.exe, in your Qt directory. If you don't know where it is, I recommend a powerful tool called google ;)
-
wrote on 17 Dec 2014, 23:18 last edited by
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] -
wrote on 17 Dec 2014, 23:22 last edited by
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!
-
wrote on 17 Dec 2014, 23:24 last edited by
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]
-
wrote on 17 Dec 2014, 23:27 last edited by
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?
-
wrote on 17 Dec 2014, 23:48 last edited by
The scenario is:
- An end user installs my application with an online installer, created by Installer Framework.
- An update is published.
- 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.
6/9