-ver | find "Version 6" && set DIR=%LOCALAPPDATA%|| set DIR=%HOMEDRIVE%%HOMEPATH%\Local Settings\Application Data\r
-set CHROME=%DIR%\Google\Chrome\Application\chrome.exe\r
+@echo off\r
+\r
+set CHROME=chrome.exe\r
+set REGPATH=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\%CHROME%\r
+\r
+reg query "%REGPATH%" >nul 2>nul\r
+\r
+if %ERRORLEVEL% == 1 (goto err)\r
+\r
+for /f "tokens=2,*" %%i in ('reg query "%REGPATH%"') do (\r
+ set PATH=%%j\r
+)\r
+\r
+if not exist "%PATH%\%CHROME%" (goto err)\r
+\r
set /p OPTIONS= <%CD%\sdk-wrt-options.txt\r
-"%CHROME%" %OPTIONS% --app="file://%CD%/web/index.html" --user-data-dir=%CD%/sdk-profile-data/\r
+start /d "%PATH%" %CHROME% %OPTIONS% --app="file://%CD%/web/index.html" --user-data-dir=%CD%/sdk-profile-data/\r
+exit\r
+\r
+:err\r
+echo ATTENTIONS: Google Chrome is required to be installed before launching Web Simulator.\r
+pause\r
+* 2.0.25
+- modify Windows launch script
+== ziv.chang <ziv.chang@intel.com> 2014-01-14 18:00
* 2.0.24
- bug fix
== ziv.chang <ziv.chang@intel.com> 2014-01-03 17:30
-Version:2.0.24
+Version:2.0.25
Maintainer:hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song <jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, bonyong lee <bonyong.lee@samsung.com>
Package:websimulator-core