// Controller script to pass to the installer to get it to run automatically. function Controller() { // gui.setSilent(true) installer.installationFinished.connect(function() { gui.clickButton(buttons.NextButton); }) } Controller.prototype.IntroductionPageCallback = function() { gui.clickButton(buttons.NextButton); } Controller.prototype.DynamicTargetWidgetCallback = function() { gui.clickButton(buttons.NextButton); } Controller.prototype.ComponentSelectionPageCallback = function() { gui.clickButton(buttons.NextButton); } Controller.prototype.LicenseAgreementPageCallback = function() { gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true); gui.clickButton(buttons.NextButton); } Controller.prototype.StartMenuDirectoryPageCallback = function() { gui.clickButton(buttons.NextButton); } Controller.prototype.ReadyForInstallationPageCallback = function() { gui.clickButton(buttons.NextButton); } Controller.prototype.uninstallationFinished = function() { gui.clickButton(buttons.NextButton); } Controller.prototype.FinishedPageCallback = function() { widget = gui.currentPageWidget(); var checkbox = widget.findChild("LaunchCheckbox"); checkbox.setChecked(false); gui.clickButton(buttons.FinishButton); } Controller.prototype.PerformInstallationPageCallback = function() { }