I am using Qt Installer Framework, I want to disable NextButton on TargetDirectory page. I tried editing controlscript.qs with few methods but it doesn't seem to work. Following is one of them
Controller.prototype.TargetDirectoryPageCallback = function()
{
var widget = gui.currentPageWidget();
if (widget != null)
{
widget.BackButton.setEnabled(false) ;
}
}