Qt Installer Framework Persistent variables
-
I have created a custom installer page for the user to enter the directory of a an application that my application depends on. Currently, it is possible to access the directory of the supporting application through the installer, but when I need to use it with the updater or package manager, that path is not available. I need that path in order to register my
component.addOperation(...)
.I have already tried
installer.setValue("directory", myDirectory); var dir = installer.value("directory");
but the value does not persist after the installer finishes and it becomes empty when I use the updater.
How can I create a persistent value?