1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
@echo off
@setlocal enableextensions
@cd /d "%~dp0"
echo -----------------------------------------------------------------------------
echo ^| ^|
echo ^| _____/\\\\\\\\\\\____/\\\\\\\\\\\\\\\____/\\\\\\\\\_____ ^|
echo ^| ___/\\\/////////\\\_\///////\\\/////___/\\\///////\\\___ ^|
echo ^| __\//\\\______\///________\/\\\_______\///______\//\\\__ ^|
echo ^| ___\////\\\_______________\/\\\_________________/\\\/___ ^|
echo ^| ______\////\\\____________\/\\\______________/\\\//_____ ^|
echo ^| _________\////\\\_________\/\\\___________/\\\//________ ^|
echo ^| __/\\\______\//\\\________\/\\\_________/\\\/___________ ^|
echo ^| _\///\\\\\\\\\\\/_________\/\\\________/\\\\\\\\\\\\\\\_ ^|
echo ^| ___\///////////___________\///________\///////////////__ ^|
echo ^| ^|
echo ^| Streamtuner2 for Windows Version 2.2.0 ^|
echo ^| ^|
echo ^| Installer for Python 2.7.12 ^& Gtk 2.24.2 ^|
echo -----------------------------------------------------------------------------
echo.
PowerShell Set-ExecutionPolicy -ExecutionPolicy ByPass -Scope CurrentUser
PowerShell -File install_python_gtk.ps1
PowerShell Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope CurrentUser
|
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
>
|
>
>
>
>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
@echo off
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
goto goUAC
) else goto goADMIN
:goUAC
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:goADMIN
pushd "%CD%"
CD /D "%~dp0"
echo -----------------------------------------------------------------------------
echo ^| ^|
echo ^| _____/\\\\\\\\\\\____/\\\\\\\\\\\\\\\____/\\\\\\\\\_____ ^|
echo ^| ___/\\\/////////\\\_\///////\\\/////___/\\\///////\\\___ ^|
echo ^| __\//\\\______\///________\/\\\_______\///______\//\\\__ ^|
echo ^| ___\////\\\_______________\/\\\_________________/\\\/___ ^|
echo ^| ______\////\\\____________\/\\\______________/\\\//_____ ^|
echo ^| _________\////\\\_________\/\\\___________/\\\//________ ^|
echo ^| __/\\\______\//\\\________\/\\\_________/\\\/___________ ^|
echo ^| _\///\\\\\\\\\\\/_________\/\\\________/\\\\\\\\\\\\\\\_ ^|
echo ^| ___\///////////___________\///________\///////////////__ ^|
echo ^| ^|
echo ^| Streamtuner2 for Windows Version 2.2.0 ^|
echo ^| ^|
echo ^| Installer for Python 2.7.12 & Gtk 2.24.2 ^|
echo -----------------------------------------------------------------------------
echo.
@setlocal enableextensions
@cd /d "%~dp0"
@echo off
cls
PowerShell Set-ExecutionPolicy -ExecutionPolicy ByPass -Scope CurrentUser
PowerShell.exe -File install_python_gtk.ps1
PowerShell Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope CurrentUser
|