Revision 9b2b47ae image_creator/os_type/windows.py

b/image_creator/os_type/windows.py
139 139
            raise FatalError(
140 140
                'For windows support libguestfs 1.16.11 or above is required')
141 141

  
142
        # Check if winexe is installed
143
        if not WinEXE.is_installed():
144
            raise FatalError(
145
                "For windows support `Winexe' needs to be installed")
146

  
142 147
        device = self.image.g.part_to_dev(self.root)
143 148

  
144 149
        self.last_part_num = self.image.g.part_list(device)[-1]['part_num']

Also available in: Unified diff