@echo off
echo.
echo installing [vista loader v2.1.2] for windows 7 Ultimate …
echo.
set path=%path%;%windir%system32
if exist %temp%vlwin7.* attrib -r -h -s %temp%vlwin7.*>nul &del %temp%vlwin7.*>nul
bcdedit /createstore %temp%vlwin7>nul
if %errorlevel% neq 0 goto commandprompt
reg query “HKLMSOFTWAREMicrosoftWindows NTCurrentVersion” /v CurrentVersion|find /i “6.1″ >nul
if %errorlevel% neq 0 goto novista
cd /d “%~dp0″
set /a vsystem=0
set VLFILE=%1
if {%1} == {} set VLFILE=Lenovo
if not exist data%VLFILE%.bin goto notfound
if not exist data%VLFILE%.xrm-ms goto notfound