-
Notifications
You must be signed in to change notification settings - Fork 0
/
installer.bat
51 lines (36 loc) · 968 Bytes
/
installer.bat
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
45
46
47
48
@ECHO OFF
:BEGIN
CLS
ECHO Welcome to exception-dialog
ECHO Here are the options
ECHO.
ECHO 1 = Install to Maya
ECHO 2 = Install Standalone
ECHO 3 = Uninstall from Maya
ECHO 4 = Get latest version of tool
ECHO.
ECHO Advanced:
ECHO 5 = Make new tool from template
ECHO.
SET /P AREYOUSURE=Choice:
IF /I "%AREYOUSURE%" EQU "1" GOTO :Install
IF /I "%AREYOUSURE%" EQU "2" GOTO :InstallStandalone
IF /I "%AREYOUSURE%" EQU "3" GOTO :Uninstall
IF /I "%AREYOUSURE%" EQU "4" GOTO :GetLatest
IF /I "%AREYOUSURE%" EQU "5" GOTO :MakeNewTool
:Install
CALL _setup_\maya\install_maya_module.bat
GOTO END
:Uninstall
CALL _setup_\maya\uninstall_maya_module.bat
GOTO END
:InstallStandalone
CALL _setup_\standalone\create_standalone_venv.bat
GOTO END
:GetLatest
Powershell.exe -executionpolicy remotesigned -File _setup_\get_latest_version.ps1
GOTO END
:MakeNewTool
Powershell.exe -executionpolicy remotesigned -File _setup_\create_new_tool.ps1
:END
PAUSE