def pdf_shaper(is_wait_long=True): software = func.Softwares(file_name=const.pdf_shaper, setup='Setup.exe', args=const.common_arg, is_wait_long=is_wait_long) software.install() time.sleep(const.wait_short) func.Softwares(file_name=const.pdf_shaper, setup='Patch.exe').portable()
def zortam_mp3(is_wait_long=True): software = func.Softwares(file_name=const.zortam_mp3, setup='Setup.exe', args=const.common_arg, is_wait_long=is_wait_long) software.install() time.sleep(const.wait_short) func.Softwares(file_name=const.zortam_mp3, setup='Keygen.exe').portable()
def better_rename(is_wait_long=True): software = func.Softwares(file_name=const.better_rename, setup='Setup.exe', args=const.common_arg, is_wait_long=is_wait_long) software.install() time.sleep(const.wait_short * 2) func.Softwares(file_name=const.better_rename, setup='Serial.txt').portable()
def sms_contacts_recover(is_wait_long=True): software = func.Softwares(file_name=const.sms_contacts_recover, setup='Setup.exe', args=r'/S', is_wait_long=is_wait_long) software.install() time.sleep(const.wait_short) func.Softwares(file_name=const.sms_contacts_recover, setup='Patch.exe').portable()
def net_limiter(is_wait_long=True): software = func.Softwares(file_name=const.net_limiter, setup='Setup.exe', args=r'/EXENOUI /EXENOUPDATES', another_task=func.AnOtherTask.NETSETMAN, is_wait_long=is_wait_long) software.install()
def tri_sun_pdf_to_jpg(is_wait_long=True): software = func.Softwares(file_name=const.tri_sun_pdf_to_jpg, setup='Setup.exe', args=const.common_arg, another_task=func.AnOtherTask.TRI_SUN_PDF, is_wait_long=is_wait_long) software.install()
def rea_converter(is_wait_long=True): software = func.Softwares(file_name=const.rea_converter, setup='Setup.exe', args=const.common_arg, another_task=func.AnOtherTask.REA_CONVERTER, is_wait_long=is_wait_long) software.install()
def fone_paw(is_wait_long=True): software = func.Softwares(file_name=const.fone_paw, setup='Setup.exe', args=const.common_arg, is_wait_long=is_wait_long, another_task=func.AnOtherTask.FONEPAW) software.install()
def wise_duplicate(is_wait_long=True): software = func.Softwares(file_name=const.wise_duplicate, setup='Setup.exe', args=const.common_arg, another_task=func.AnOtherTask.WISE_DUPLICATE, is_wait_long=is_wait_long) software.install()
def python(is_wait_long=True): software = func.Softwares(file_name=const.python, setup='Setup.exe', is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('python', const.python)
def sq_lite(is_wait_long=True): software = func.Softwares(file_name=const.sq_lite, setup='Setup.exe', args=const.common_arg, another_task=func.AnOtherTask.SQLITE, is_wait_long=is_wait_long) software.install()
def c_cleaner(is_wait_long=True): software = func.Softwares(file_name=const.c_cleaner, setup='Setup.exe', args=r'/S /IB /TM', is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('c_cleaner', const.c_cleaner)
def ms_office(is_wait_long=True): software = func.Softwares( file_name=const.ms_office, setup=r'Office\helper.exe', args= r'/S /INSTALL /PROX64 /WORD /EXCEL /POWERPOINT /PUBLISHER /LANG=EN-US /KMS', is_wait_long=is_wait_long) software.install()
def firefox(is_wait_long=True): software = func.Softwares(file_name=const.firefox, setup='Setup.exe', args=r'-ms', is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('firefox', const.firefox)
def samsung_usb(is_wait_long=True): software = func.Softwares(file_name=const.samsung_usb, setup='Setup.exe', args=r'/S', is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('samsung_usb', const.samsung_usb)
def k_lite(is_wait_long=True): software = func.Softwares(file_name=const.k_lite, setup='Setup.exe', args=r'/verysilent', is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('k_lite', const.k_lite)
def pycharm(is_wait_long=True): software = func.Softwares(file_name=const.pycharm, setup='Setup.exe', args=r'/S', is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('pycharm', const.pycharm)
def notepad_p_p(is_wait_long=True): software = func.Softwares(file_name=const.notepad_p_p, setup='Setup.exe', args=r'/S', is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('notepad_p_p', const.notepad_p_p)
def android_studio(is_wait_long=True): software = func.Softwares(file_name=const.android_studio, setup='Setup.exe', args=r'/S /Allusers', is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('android_studio', const.android_studio)
def winrar(is_wait_long=True): software = func.Softwares(dir_name=const.winrar, setup='Setup.exe', args=r'/S /IEN', another_task=func.AnOtherTask.WINRAR_KEY, is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('winrar', const.winrar)
def helium_music(is_wait_long=True): software = func.Softwares(file_name=const.helium_music, setup='Setup.exe', args=const.common_arg, child_file='License.txt', sys_app='notepad.exe', another_task=func.AnOtherTask.HELIUM_MUSIC, is_wait_long=is_wait_long) software.install()
def corel_draw(is_wait_long=True): software = func.Softwares( file_name=const.corel_draw, setup='Setup.exe', args= r'-y -nr -gm2 & "%SYSTEMDRIVE%\Temp\CORELDRAW\SETUP.exe" /S & RD /S /Q ' r'"%SYSTEMDRIVE%\Temp\CORELDRAW"', is_wait_long=is_wait_long) software.install()
def java_jdk(file_name, is_wait_long=True): software = func.Softwares(file_name=file_name, setup='Setup.exe', args=r'/s ADDLOCAL="ToolsFeature,SourceFeature"', another_task=func.AnOtherTask.JAVA, is_wait_long=is_wait_long) is_installed = software.install() regex_compile = re.compile(r'[\d.]+', re.IGNORECASE) output = re.findall(regex_compile, file_name) if is_wait_long and is_installed and output[0] == 8: func.Softwares.update_record('java_jdk_08', const.java_jdk_08)
def idm(is_wait_long=True): func.task_kill('IDMan.exe') time.sleep(const.wait_short) software = func.Softwares(file_name=const.idm, setup='Setup.exe', args=r'/skipdlgs', wait=20, another_task=func.AnOtherTask.IDM, is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('idm', const.idm)
def vs_redistributable(is_wait_long=True): func.Softwares(file_name=const.vs_redistributable, setup='Setup-2005.exe', args=r'/Q', is_wait_long=is_wait_long).install() time.sleep(const.wait_short) func.Softwares(file_name=const.vs_redistributable, setup='Setup-2008.exe', args=r'/Q', is_wait_long=is_wait_long).install() time.sleep(const.wait_short) func.Softwares(file_name=const.vs_redistributable, setup='Setup-2010.exe', args=r'/Q /NORESTART', is_wait_long=is_wait_long).install() time.sleep(const.wait_short) func.Softwares(file_name=const.vs_redistributable, setup='Setup-2012.exe', args=r'/INSTALL /QUIET /NORESTART', is_wait_long=is_wait_long).install() time.sleep(const.wait_short) func.Softwares(file_name=const.vs_redistributable, setup='Setup-2013.exe', args=r'/INSTALL /QUIET /NORESTART', is_wait_long=is_wait_long).install() time.sleep(const.wait_short) func.Softwares(file_name=const.vs_redistributable, setup='Setup-2019.exe', args=r'/INSTALL /QUIET /NORESTART', is_wait_long=is_wait_long).install() if is_wait_long: func.Softwares.update_record('vc_redist', const.vs_redistributable)
def git(is_wait_long=True): # If not provide *.reg file in variable registry='reg.reg' than optionally use winreg for it software = func.Softwares( file_name=const.git, setup='Setup.exe', args= r'/VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS ' r'/COMPONENTS="icons,icons\desktop,ext,ext\reg,ext\reg\shellhere,assoc,assoc_sh,' r'consolefont"', another_task=func.AnOtherTask.REG_GIT, is_wait_long=is_wait_long) is_installed = software.install() if is_wait_long and is_installed: func.Softwares.update_record('git', const.git)
def pdf_to_jpg_converter(is_wait_long=True): software = func.Softwares(file_name=const.pdf_to_jpg_converter, setup='Setup.exe', args=r'/silent', is_wait_long=is_wait_long) software.install()
def pdf_creator(is_wait_long=True): software = func.Softwares(file_name=const.infix_pdf_editor, setup='Setup.exe', args=const.common_arg, is_wait_long=is_wait_long) software.install()
def infix_pdf_editor(is_wait_long=True): software = func.Softwares(file_name=const.infix_pdf_editor, setup='Setup.exe', args=r'/S /EN', is_wait_long=is_wait_long) software.install()
def foxit_adv_pdf_editor(is_wait_long=True): software = func.Softwares(file_name=const.foxit_adv_pdf_editor, setup='Setup.exe', args=r'/S', is_wait_long=is_wait_long) software.install()