[Development] Qt Installer Framework to allow only Updates

Juan Navarro oneorjuan at gmail.com
Tue May 5 14:29:07 CEST 2015


I am attempting to create an updater tool for my already installed
application in a locked-down system. The Maintenance tool from the Qt
Installer Framework seems perfect, with its integration with remote
repositories, but I would need to remove the "Add" and "Remove" components
options, leaving only the "Update" option.

I already tried in the Controller:
    installer.removeWizardPageItem(component, "UninstallerRadioButton")
and
    gui.pageById(QInstaller.Introduction).UninstallerRadioButton.hide()
with no success :-(

However,
    gui.pageById(QInstaller.Introduction).MessageLabel.hide()
DOES work!

Is there any way to remove those radio buttons by using scripting?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150505/f77c83ba/attachment.html>


More information about the Development mailing list