Created
March 3, 2017 22:59
-
-
Save saltlakeryan/057fe32d82e739df118689030979fd47 to your computer and use it in GitHub Desktop.
winetricks python27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---------------------------------------------------------------- | |
w_metadata python27 dlls \ | |
title="Python Interpreter, version 2.7.10" \ | |
publisher="Python Software Foundaton" \ | |
year="2009" \ | |
media="download" \ | |
file1="python-2.7.10.msi" \ | |
installed_exe1="c:/Python27/python.exe" | |
load_python27() | |
{ | |
w_download https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi 9e62f37407e6964ee0374b32869b7b4ab050d12a | |
cd "$W_CACHE"/python27 | |
w_ahk_do " | |
SetTitleMatchMode, 2 | |
run msiexec /i python-2.7.10.msi ALLUSERS=1 | |
WinWait, Python 2.7.10 Setup, Select whether to install | |
ControlClick Button4 ; next | |
WinWait, Python 2.7.10 Setup, select a directory | |
ControlClick Button1 ; next | |
WinWait, Python 2.7.10 Setup, Select the way you want | |
ControlClick Button2 ; next | |
WinWait, Python 2.7.10 Setup, Complete the Python | |
ControlClick Button1 ; Finish | |
;ControlClick Button3 ; next | |
;ControlClick Button4 ; next | |
if ( w_opt_unattended > 0 ) { | |
; ControlClick Button2 ; next | |
; WinWait, Setup, Python 2.6 is required | |
; ControlClick Button3 ; next | |
; WinWait, Setup, Click Next to begin | |
; ControlClick Button3 ; next | |
; WinWait, Setup, finished | |
; ControlClick Button4 ; Finish | |
} | |
WinWaitClose | |
" | |
} | |
#---------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment