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);
}
}
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);
}
}
To copy to clipboard, switch view to plain text mode
Has anyone done that before ?
Thanks ♥.
Bookmarks