<step id="satlistsquestion">
<text value="Do you want to install default sat lists?" />
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<code>
self.hideRc()
<step id="scanquestion">
<text value="Do you want to do a service scan?" />
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<code>
self.hideRc()
</step>
<step id="scan" nextstep="finisheddefaultsatlists">
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<text value="What do you want to scan?" />
<config screen="ScanSimple" module="ScanSetup" type="ConfigList" />
</step>
<step id="manualscan">
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<text value="What do you want to scan?" />
<config screen="ScanSetup" module="ScanSetup" type="ConfigList" />
</step>
<step id="nextscan">
<condition>
-self.condition = config.misc.startwizard.doservicescan.value
+from Components.NimManager import nimmanager
+self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
</condition>
<text value="Do you want to do another manual service scan?" />
<list>
<text value="After the start wizard is completed, you need to protect single services. Refer to your dreambox's manual on how to do that." />
</step>
- <step id="end">
+ <step id="end" laststep="true">
+ <condition>
+self.condition = self.isLastWizard
+ </condition>
<text value="Thank you for using the wizard. Your box is now ready to use.\nPlease press OK to start using your Dreambox." />
</step>
</wizard>