text stringlengths 0 834k |
|---|
) |
:: English UK |
reg query ""hklm\system\controlset001\control\nls\language"" /v Installlanguage | %FIND% /i ""0809"" >nul 2>&1 |
if /i %ERRORLEVEL%==0 ( |
set SYSTEM_LANGUAGE=gb |
goto detect_network_connection |
) |
:: German |
reg query ""hklm\system\controlset001\control\nls\language"" /v Installlanguage | %FIND% /i ""0407"" >nul 2>&1 |
if /i %ERRORLEVEL%==0 ( |
set SYSTEM_LANGUAGE=de |
goto detect_network_connection |
) |
:: French |
reg query ""hklm\system\controlset001\control\nls\language"" /v Installlanguage | %FIND% /i ""040C"" >nul 2>&1 |
if /i %ERRORLEVEL%==0 ( |
set SYSTEM_LANGUAGE=fr |
goto detect_network_connection |
) |
:: Spanish |
reg query ""hklm\system\controlset001\control\nls\language"" /v Installlanguage | %FIND% /i ""0C0A"" >nul 2>&1 |
if /i %ERRORLEVEL%==0 ( |
set SYSTEM_LANGUAGE=es |
goto detect_network_connection |
) |
:: Turkish |
reg query ""hklm\system\controlset001\control\nls\language"" /v Installlanguage | %FIND% /i ""041F"" >nul 2>&1 |
if /i %ERRORLEVEL%==0 ( |
set SYSTEM_LANGUAGE=tr |
goto detect_network_connection |
) |
:: Detect network connection. We assume it's available unless we actively detect it isn't |
:detect_network_connection |
set NETWORK_AVAILABLE=yes |
:: English |
if %SYSTEM_LANGUAGE%==en %WinDir%\system32\ipconfig /all | %FIND% /i ""Subnet Mask"" >NUL 2>&1 |
if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no |
:: English UK |
if %SYSTEM_LANGUAGE%==gb %WinDir%\system32\ipconfig /all | %FIND% /i ""Subnet Mask"" >NUL 2>&1 |
if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no |
:: German |
if %SYSTEM_LANGUAGE%==de %WinDir%\system32\ipconfig /all | %FIND% /i ""Subnetzmaske"" >NUL 2>&1 |
if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no |
:: French |
if %SYSTEM_LANGUAGE%==fr %WinDir%\system32\ipconfig /all | %FIND% /i ""Masque de"" >NUL 2>&1 |
if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no |
:: Spanish |
if %SYSTEM_LANGUAGE%==es %WinDir%\system32\ipconfig /all | %FIND% /i ""de subred"" >NUL 2>&1 |
if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no |
:: Build USERPROFILES variable which works across ALL versions of Windows for determining location of C:\Users or C:\Documents and Settings |
pushd ""%USERPROFILE%\.."" |
set USERPROFILES=%CD% |
popd |
:: Build log directories if they don't exist |
for %%D in (""%LOGPATH%"",""%QUARANTINE_PATH%"",""%BACKUPS%"",""%RAW_LOGS%"",""%SUMMARY_LOGS%"") do ( |
if not exist %%D mkdir %%D |
) |
",37.3235294118,160,0.7218282112 |
219543,d2f8cbb6ba02dcb8f10d4507361a445049b15549,1103,bat,Batchfile,template/install.bat,VasaMM/OSM-Garmin-Maps-by-VasaM,8ef731d3ec467e931006afc1876275ef3431bfc1,['CC-BY-4.0'],9.0,2018-06-19T08:15:32.000Z,2022-01-13T04:21:06.000Z,template/install.bat,VasaMM/OSM-Garmin-Maps-by-VasaM,8ef731d3ec467e931006afc1876275ef3431bfc1,['CC-BY-4.0'],11.0,2019-06-18T17:11:06.000Z,2021-10-12T13:40:08.000Z,template/install.bat,JanC/OSM-Garmin-Maps-by-VasaM,01ffbd5219370e612853b94e6f4e097834a9e38f,['CC-BY-4.0'],8.0,2018-06-19T08:49:15.000Z,2022-01-29T19:18:25.000Z,"@echo off |
goto check_Permissions |
:check_Permissions |
net session >nul 2>&1 |
if %errorLevel% == 0 ( |
goto main |
) else ( |
echo CHYBA: Spuste skript jako administrator! |
goto end |
) |
:main |
echo - Instalce mapy do Mapsource/Basecamp |
echo - |
echo - Mapa: ""%NAME% - VasaM"" |
echo - FID: %ID% |
echo - PID: 1 |
echo - |
echo - Instalaci zrusite stiskem Ctrl-C. |
echo - |
pause |
echo Zapisuji do registru:. |
set KEY=HKLM\SOFTWARE\Wow6432Node\Garmin\MapSource |
if %PROCESSOR_ARCHITECTURE% == AMD64 goto key_ok |
set KEY=HKLM\SOFTWARE\Garmin\MapSource |
:key_ok |
reg ADD %KEY%\Families\FAMILY_%ID% /v ID /t REG_BINARY /d %ID_HEX% /f |
reg ADD %KEY%\Families\FAMILY_%ID% /v IDX /t REG_SZ /d ""%~dp0mapset.mdx"" /f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.