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:

Qt Code:
  1. function Component()
  2. {
  3. installer.currentPageChanged.connect(this, Component.prototype.onCurrentPageChanged);
  4. }
  5.  
  6. Component.prototype.onCurrentPageChanged = function(page)
  7. {
  8. if (systemInfo.productType != "windows") return;
  9.  
  10. if (page == QInstaller.InstallationFinished)
  11. {
  12. installer.addWizardPageItem(component, "checkbox", page);
  13. }
  14. }
To copy to clipboard, switch view to plain text mode 
Has anyone done that before ?

Thanks ♥.