I was able to customize my installer based on Qt Installer Framework to some degree.
I was able to automate button click to advance to next page
gui.clickButton(buttons.NextButton)
hide the back button (by removing previous pages) and even disable the next button
Controller.prototype.DynamicMyPageCallback = function()
{
var currentWidget = gui.currentPageWidget();
if (currentWidget != null)
{
currentWidget.complete = false
}
}
Next thing I would like to do is to remove the bottom panel which contains Next
and Quit
buttons. Is that possible?
You can use the code below in the constructor of the class to delete the buttons. If you would like something else to be triggered when the user presses, take a look at the docs.