Files
VSS/.github/workflows/gps.qs
2021-02-02 19:08:35 +02:00

37 lines
979 B
Plaintext

function Controller() {
installer.setValue("TargetDir", "cached_gnatdoc");
installer.autoRejectMessageBoxes();
installer.installationFinished.connect(function() {
gui.clickButton(buttons.NextButton);
})
}
Controller.prototype.ComponentSelectionPageCallback = function()
{
var page = gui.currentPageWidget();
page.deselectAll();
page.selectComponent("com.adacore.gnatstudio");
gui.clickButton(buttons.NextButton);
}
Controller.prototype.LicenseAgreementPageCallback = function()
{
var page = gui.pageById(QInstaller.LicenseCheck);
page.AcceptLicenseRadioButton.click();
gui.clickButton(buttons.NextButton);
}
Controller.prototype.IntroductionPageCallback =
Controller.prototype.TargetDirectoryPageCallback =
Controller.prototype.ReadyForInstallationPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.FinishedPageCallback = function()
{
gui.clickButton(buttons.FinishButton);
}