Package: Modified install script.
authorminkee.lee <minkee.lee@samsung.com>
Fri, 24 Apr 2015 06:20:11 +0000 (15:20 +0900)
committerminkee.lee <minkee.lee@samsung.com>
Fri, 24 Apr 2015 06:41:42 +0000 (15:41 +0900)
- Modified to skip running wscript.exe in DIBS environment.

Change-Id: I9332139ced429e5e0f77c5e3850035fc28048c43
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
package/emulator-manager.install.windows

index 9caa344..ddcc41e 100755 (executable)
@@ -12,7 +12,9 @@ set desktop_menu_icon_path=%INSTALLED_PATH%\%icon_path%
 echo Program path : %program_path%\r
 echo Desktop menu icon path : %desktop_menu_icon_path%\r
 echo Setting shortcut...\r
-wscript.exe %MAKESHORTCUT_PATH% /shortcut:"%em_shortcut_name%" /target:"%program_path%\%em_execute_file%" /icon:"%desktop_menu_icon_path%\%em_icon_file%"\r
+if not "%MAKESHORTCUT_PATH%" == "" (\r
+       wscript.exe %MAKESHORTCUT_PATH% /shortcut:"%em_shortcut_name%" /target:"%program_path%\%em_execute_file%" /icon:"%desktop_menu_icon_path%\%em_icon_file%"\r
+)\r
 echo Setting registry\r
 reg add "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"  /f /v %program_path%\%em_execute_file% /t REG_SZ /d RUNASADMIN\r
 \r