source: tyokalut/xnavs2017/asenna.bat @ 1398

Revision 1398, 1.8 KB checked in by ramipasa, 5 months ago (diff)

Korjattu asenna.bat toimimaan myös 32-bittisellä Windowsilla

Line 
1SET community64="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"
2SET enterprise64="C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise"
3SET community32="C:\Program Files\Microsoft Visual Studio\2017\Community"
4SET enterprise32="C:\Program Files\Microsoft Visual Studio\2017\Enterprise"
5
6if exist %community64% goto asenna
7if exist %enterprise64% goto asenna
8if exist %community32% goto asenna
9if exist %enterprise32% goto asenna
10
11pause Visual Studio 2017 ei l”ydetty, varmista ett„ se on asennettuna (joko Community- tai Enterprise-versio).
12exit
13
14:asenna
15
16cd /D %~d0%~p0
17"1. DirectX\DXSETUP.exe"
18"2. XNA Framework 4.0 Redistribution\XNA Framework 4.0 Redist.msi"
19"3. XNA Game Studio 4.0 Platform Tools\XNA Game Studio Platform Tools.msi"
20"4. XNA Game Studio 4.0 Shared\XNA Game Studio Shared.msi"
21"XNA Game Studio 4.0 ALL.vsix"
22pause Odota ett„ XNA Game Studio on asentunut ja paina sitten jotain niin kopioidaan VS2017 alle
23
24if exist %community64% xcopy "C:\Program Files (x86)\MSBuild\Microsoft\XNA Game Studio\*.*" "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\XNA Game Studio\*.*" /s
25
26if exist %enterprise64% xcopy "C:\Program Files (x86)\MSBuild\Microsoft\XNA Game Studio\*.*" "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\XNA Game Studio\*.*" /s
27
28if exist %community32% xcopy "C:\Program Files\MSBuild\Microsoft\XNA Game Studio\*.*" "C:\Program Files\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\XNA Game Studio\*.*" /s
29
30if exist %enterprise32% xcopy "C:\Program Files\MSBuild\Microsoft\XNA Game Studio\*.*" "C:\Program Files\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\XNA Game Studio\*.*" /s
31
32pause Asennus tehty, tuliko virheit„?
Note: See TracBrowser for help on using the repository browser.