-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathiRIC_Installer_v4beta.js
58 lines (49 loc) · 1.6 KB
/
iRIC_Installer_v4beta.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
function Controller()
{
installer.autoRejectMessageBoxes();
installer.installationFinished.connect(function() {
gui.clickButton(buttons.NextButton);
})
}
Controller.prototype.IntroductionPageCallback= function()
{
// click delay here because the next button is initially disabled for ~1 second
gui.clickButton(buttons.NextButton, 3000);
}
Controller.prototype.DynamicPageCallback= function()
{
// click delay here because the next button is initially disabled for ~1 second
gui.clickButton(buttons.NextButton, 1000);
}
Controller.prototype.WelcomePageCallback= function()
{
// click delay here because the next button is initially disabled for ~1 second
gui.clickButton(buttons.NextButton, 1000);
}
Controller.prototype.ComponentSelectionPageCallback= function()
{
// click delay here because the next button is initially disabled for ~1 second
gui.clickButton(buttons.NextButton, 1000);
}
Controller.prototype.LicenseAgreementPageCallback= function()
{
gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
gui.clickButton(buttons.NextButton, 1000);
}
Controller.prototype.StartMenuDirectoryPageCallback= function()
{
gui.clickButton(buttons.NextButton, 1000);
}
Controller.prototype.ReadyForInstallationPageCallback= function()
{
gui.clickButton(buttons.NextButton, 1000);
}
Controller.prototype.TargetDirectoryPageCallback = function()
{
// Keep default at "HomeDir" + "\iRIC_v4"
gui.clickButton(buttons.NextButton, 1000);
}
Controller.prototype.FinishedPageCallback = function()
{
gui.clickButton(buttons.FinishButton, 1000);
}