Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
2.0.1
-
None
-
Windows 8.1
Description
While creating my custom component selection page, I tried to hide the default component selection page. Unfortunately, this makes it impossible for the installer framework to pick up the selections.
The way I am currently forwarding the component selections is (pseudocode):
Controller.prototype.ComponentSelectionPageCallback = function ()
{
if (myCustomSelectionPage.component.selected)
else
{ defaultSelectionPage.deselectComponent(component); }I am skipping the page by using
installer.setValue("enteredFromBack", "yes");
if (installer.value("enteredFromBack"))
else
{ installer.setValue("enteredFromBack", "yes"); gui.clickButton(buttons.BackButton); }Not only is this ugly, it sometimes causes a graphical glitch where the component page is briefly shown.
Hiding this component page with
installer.setDefaultPageVisible(QInstaller.ComponentSelection, false);
makes it so that the maintenance tool thinks I installed every component.
I also can't seem to get the componet and set it's installed value on a different page
var myComponet = installer.componentByName("myComponentName");
myComponent.setUninstalled();