01: package com.memoire.vainstall.uui;
02:
03: import com.memoire.vainstall.*;
04:
05: public class VAUnattendedUI extends VAStepFactory {
06: public VAUnattendedUI() {
07: }
08:
09: public void initUI() {
10: setWizard(UuiWizard.createWizard());
11: }
12:
13: public VAStep createDirectoryStep() {
14: UuiDirectoryStep s = new UuiDirectoryStep();
15: s.setInstaller(getInstaller());
16: getWizard().setStep(s);
17: return s;
18: }
19:
20: public VAStep createEndStep() {
21: UuiEndStep s = new UuiEndStep();
22: s.setInstaller(getInstaller());
23: getWizard().setStep(s);
24: return s;
25: }
26:
27: public VAStep createInstallStep() {
28: UuiInstallStep s = new UuiInstallStep();
29: s.setInstaller(getInstaller());
30: getWizard().setStep(s);
31: return s;
32: }
33:
34: public VAStep createSetupLanguageStep() {
35: UuiLanguageStep s = new UuiLanguageStep();
36: s.setInstaller(getInstaller());
37: getWizard().setStep(s);
38: return s;
39: }
40:
41: public VAStep createLicenseKeyStep() {
42: throw new RuntimeException(
43: "No licensekey support in unattended setup");
44: }
45:
46: public VAStep createLicenseStep() {
47: UuiLicenseStep s = new UuiLicenseStep();
48: s.setInstaller(getInstaller());
49: getWizard().setStep(s);
50: return s;
51: }
52:
53: public VAStep createReadmeStep() {
54: UuiReadmeStep s = new UuiReadmeStep();
55: s.setInstaller(getInstaller());
56: getWizard().setStep(s);
57: return s;
58: }
59:
60: public VAStep createShortcutStep() {
61: UuiShortcutStep s = new UuiShortcutStep();
62: s.setInstaller(getInstaller());
63: getWizard().setStep(s);
64: return s;
65: }
66:
67: public VAStep createUpgradeStep() {
68: UuiUpgradeStep s = new UuiUpgradeStep();
69: s.setInstaller(getInstaller());
70: getWizard().setStep(s);
71: return s;
72: }
73:
74: public VAStep createWelcomeStep() {
75: UuiWelcomeStep s = new UuiWelcomeStep();
76: s.setInstaller(getInstaller());
77: getWizard().setStep(s);
78: return s;
79: }
80: }
|