def do_update(self, pkg_path):
        '''
        @note: execute update process
        '''
        subprocess.Popen(self.get_install_pkg_path())
          
        page = AutoitLocator()
        page.window = WindowLocator("[CLASS:#32770; INSTANCE:1]")
        page.control = ControlLocator("[CLASS:Button; INSTANCE:1]")
        click_dialog_button(loc=page, timeout=5, action_log='Click Yes (Welcome)')
        
        page.control = ControlLocator("[CLASS:Button; INSTANCE:2]")
        click_dialog_button(loc=page, timeout=5, action_log='Click "I Agree" (License)')
        
        page.control = ControlLocator("[CLASS:ComboBox; INSTANCE:1]", "left", 1, None, None, "Full")
        choose_dropdown_box(loc=page, timeout=5, action_log='Click Next (setup option)')

        page.control = ControlLocator("[CLASS:Button; INSTANCE:2]")
        click_dialog_button(loc=page, timeout=5, action_log='Click Next (setup option)')
        
        page.control = ControlLocator("[CLASS:Button; INSTANCE:2]")
        click_dialog_button(loc=page, timeout=5, action_log='Click Install (Installation Folder)')
        
        page.control = ControlLocator("[CLASS:Button; INSTANCE:2]")
        click_dialog_button(loc=page, timeout=5, action_log='Click Close (Setup: Completed)')
 def do_install(self, pkg_path):
     '''
     @note: execute install process
     '''
     
     subprocess.Popen(self.get_install_pkg_path())
       
     page = AutoitLocator()
     page.window = WindowLocator("[CLASS:#32770; INSTANCE:1]")
     page.control = ControlLocator("Button3")
     click_dialog_button(loc=page, timeout=10, action_log='Click Next')
      
     click_dialog_button(loc=page, timeout=300, action_log='Click Close')
    def do_install(self, pkg_path):
        '''
        @note: execute install process
        '''
        from WinGUI.OperatorAdapter import click_dialog_button
        from WinGUI.autoit import LocWrapper

        subprocess.Popen(self.get_install_pkg_path())

        locator = LocWrapper.AutoitLocator()
        # Welcome to the Git Setup Wizard
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton1")
        click_dialog_button(loc=locator, action_log='Click Next')

        # GNU General Public License
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton2")
        click_dialog_button(loc=locator, action_log='Click Next')

        # Select destination location
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton3")
        click_dialog_button(loc=locator, action_log='Click Next')

        # Select components
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton3")
        click_dialog_button(loc=locator, action_log='Click Next components')

        # Select start menu folder
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton4")
        click_dialog_button(loc=locator, action_log='Click Next folder')

        # Adjusting your PATH environment
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton4")
        click_dialog_button(loc=locator, action_log='Click Next')

        # Configuring the line ending conversions
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton4")
        click_dialog_button(loc=locator, action_log='Click Next')

        # Configuring the terminal emulator to use with Git Bash
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton4")
        click_dialog_button(loc=locator, action_log='Click Next')

        # Configuring experimental performance tweaks
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("TNewButton4")
        click_dialog_button(loc=locator, action_log='Click Next')

        time.sleep(80)
        # Completing the Git setup wizard
        locator.window = LocWrapper.WindowLocator("[CLASS:TWizardForm]")
        locator.control = LocWrapper.ControlLocator("[CLASS:TNewCheckListBox; INSTANCE:1]", "left", 1, 11, 11)
        click_dialog_button(loc=locator, timeout=10, action_log='Unclick view ReleaseNotes.html')
        locator.control = LocWrapper.ControlLocator("TNewButton4")
        click_dialog_button(loc=locator, timeout=10, action_log='Click Finish')
        return
    def do_install(self, pkg_path):
        '''
        @note: execute install process
        '''
        
        subprocess.Popen(self.get_install_pkg_path())
          
        page1 = AutoitLocator()
        page1.window = WindowLocator("[CLASS:TWizardForm; INSTANCE:1]")
        page1.control = ControlLocator("TNewButton1")
        click_dialog_button(loc=page1, timeout=5, action_log='Click Next')
         
        page2 = AutoitLocator()
        page2.window = WindowLocator("[CLASS:TWizardForm; INSTANCE:1]")
        page2.control = ControlLocator("TNewRadioButton1")
        click_dialog_button(loc=page2, timeout=5, action_log='Click "I accept..."')
 
        page3 = AutoitLocator()
        page3.window = WindowLocator("[CLASS:TWizardForm; INSTANCE:1]")
        page3.control = ControlLocator("TNewButton2")
        click_dialog_button(loc=page3, timeout=5, action_log='Click Next')
 
        page4 = AutoitLocator()
        page4.window = WindowLocator("[CLASS:TWizardForm; INSTANCE:1]")
        page4.control = ControlLocator("TNewButton3")
        click_dialog_button(loc=page4, timeout=5, action_log='Click Next')
 
        page5 = AutoitLocator()
        page5.window = WindowLocator("[CLASS:TWizardForm; INSTANCE:1]")
        page5.control = ControlLocator("TNewButton3", "")
        click_dialog_button(loc=page5, timeout=5, action_log='Click Next')

        time.sleep(15)
        page6 = AutoitLocator()
        page6.window = WindowLocator("[CLASS:TWizardForm; INSTANCE:1]")
        page6.control = ControlLocator("[CLASS:TNewCheckListBox; INSTANCE:1]", "left", 1, 9, 9)
        click_dialog_button(loc=page6, timeout=5*60, action_log='unclick View README...')
        
        page6.control = ControlLocator("TNewButton3")
        click_dialog_button(loc=page6, timeout=3*60, action_log='Click Finish...')
    def do_install(self, pkg_path):
        '''
        @note: execute install process
        '''
        from WinGUI.OperatorAdapter import click_dialog_button
        from WinGUI.autoit import LocWrapper
        
        subprocess.Popen(self.get_install_pkg_path())
 
        locator = LocWrapper.AutoitLocator()
        locator.window = LocWrapper.WindowLocator("[CLASS:#32770; INSTANCE:1]")
        locator.control = LocWrapper.ControlLocator("Button1")
        click_dialog_button(loc=locator, action_log='Click OK')
 
        # Welcome to the notepad setup
        locator.window = LocWrapper.WindowLocator("[CLASS:#32770; INSTANCE:1]")
        locator.control = LocWrapper.ControlLocator("Button2")
        click_dialog_button(loc=locator, action_log='Click Next')
 
        # License agreement
        locator.window = LocWrapper.WindowLocator("[CLASS:#32770; INSTANCE:1]")
        locator.control = LocWrapper.ControlLocator("Button2")
        click_dialog_button(loc=locator, action_log='Click I Agree')
 
        # Choose install location
        locator.window = LocWrapper.WindowLocator("[CLASS:#32770; INSTANCE:1]")
        locator.control = LocWrapper.ControlLocator("Button2")
        click_dialog_button(loc=locator, action_log='Click Next')
 
        # Choose components
        locator.window = LocWrapper.WindowLocator("[CLASS:#32770; INSTANCE:1]")
        locator.control = LocWrapper.ControlLocator("Button2")
        click_dialog_button(loc=locator, action_log='Click Next')
 
        # Choose components
        locator.window = LocWrapper.WindowLocator("[CLASS:#32770; INSTANCE:1]")
        locator.control = LocWrapper.ControlLocator("Button2")
        click_dialog_button(loc=locator, action_log='Click Install')

        time.sleep(20)
        # Completing the notepad setup
        locator.window = LocWrapper.WindowLocator("[CLASS:#32770; INSTANCE:1]")
        locator.control = LocWrapper.ControlLocator("[CLASS:Button; INSTANCE:4]", "left", 1, 8, 8)
        click_dialog_button(loc=locator, timeout=10, action_log='Unclick Run Notepad++')
        locator.control = LocWrapper.ControlLocator("Button2")
        click_dialog_button(loc=locator, timeout=10, action_log='Click Finish')
        return