2 <step id="restorequestion">
4 from Plugins.SystemPlugins.SoftwareManager.ImageWizard import checkConfigBackup
5 self.backuppath = checkConfigBackup()
6 self.condition = (self.backuppath is not None and config.misc.firstrun.value)
8 <text value="Do you want to restore your settings?" />
10 <listentry caption="Yes, restore the settings now" step="restore" />
11 <listentry caption="No, just start my dreambox" step="end" />
14 self.clearSelectedKeys()
20 <text value="Welcome to the Image upgrade wizard. The wizard will assist you in upgrading the firmware of your Dreambox by providing a backup facility for your current settings and a short explanation of how to upgrade your firmware." />
22 <listentry caption="OK, guide me through the upgrade process" step="backupquestion" />
23 <listentry caption="Exit the wizard" step="end" />
27 <step id="backupquestion">
28 <text value="The wizard can backup your current settings. Do you want to do a backup now?" />
30 <listentry caption="Yes, backup my settings!" step="backupwhere" />
31 <listentry caption="No backup needed" step="upgrade" />
35 <step id="backupwhere" nextstep="backup">
36 <text value="Where do you want to backup your settings?" />
37 <list type="dynamic" source="listDevices" evaluation="deviceSelectionMade" onselect="deviceSelectionMoved" />
40 <step id="backup" nextstep="backupresult">
41 <text value="You have chosen to backup your settings. Please press OK to start the backup now." />
42 <config screen="BackupScreen" module="Plugins.SystemPlugins.SoftwareManager.BackupRestore" type="ConfigList" />
43 <code pos="after" async="yes">
44 self.currStep = self.getStepWithID('backupresult')
49 <step id="backupresult" nextstep="upgrade">
51 from Plugins.SystemPlugins.SoftwareManager.ImageWizard import checkBackupFile
52 self.backuppath = checkBackupFile()
53 self.condition = (self.backuppath is True)
55 <text value="Your backup succeeded. We will now continue to explain the further upgrade process." />
58 <step id="backupresult" nextstep="backupwhere">
60 from Plugins.SystemPlugins.SoftwareManager.ImageWizard import checkBackupFile
61 self.backuppath = checkBackupFile()
62 self.condition = (self.backuppath is False)
64 <text value="The backup failed. Please choose a different backup location." />
67 <step id="restore" nextstep="backupresult">
68 <text value="You have chosen to restore your settings. Enigma2 will restart after restore. Please press OK to start the restore now." />
69 <config screen="RestoreScreen" module="Plugins.SystemPlugins.SoftwareManager.BackupRestore" type="ConfigList" />
72 <step id="upgradehow">
73 <text value="The wizard can backup your current settings. Do you want to do a backup now?" />
75 <listentry caption="Install a new image with your web browser" step="upgrade" />
76 <listentry caption="Install a new image with a USB stick" step="upgradeUSB" />
81 <text value="You need a PC connected to your dreambox. If you need further instructions, please visit the website http://www.dm7025.de.\nYour dreambox will now be halted. After you have performed the update instructions from the website, your new firmware will ask you to restore your settings." />
83 <listentry caption="Yes, perform a shutdown now." step="shutdown" />
84 <listentry caption="No, do nothing." step="end" />
88 <step id="shutdown" nextstep="shutdown">
90 from enigma import quitMainloop
93 <text value="Your dreambox is shutting down. Please stand by..." />
96 <step id="end" laststep="true">
98 self.condition = self.isLastWizard
100 <text value="The wizard is finished now." />