PDA

View Full Version : Qt Installer uninstall checkbox



bunjee
16th July 2015, 10:18
Greetings Qt Centre,

I'm using the Qt Installer Framework 2.0.1. I'm trying to add a checkbox after uninstall.

It's working when installing but not when uninstalling.

I'm using the following component script:


function Component()
{
installer.currentPageChanged.connect(this, Component.prototype.onCurrentPageChanged);
}

Component.prototype.onCurrentPageChanged = function(page)
{
if (systemInfo.productType != "windows") return;

if (page == QInstaller.InstallationFinished)
{
installer.addWizardPageItem(component, "checkbox", page);
}
}
Has anyone done that before ?

Thanks ♥.