From 5fbc3896b4f166d007a6ec73897f9ede268c2fa9 Mon Sep 17 00:00:00 2001 From: "minkee.lee" Date: Fri, 24 Apr 2015 15:20:11 +0900 Subject: [PATCH] Package: Modified install script. - Modified to skip running wscript.exe in DIBS environment. Change-Id: I9332139ced429e5e0f77c5e3850035fc28048c43 Signed-off-by: minkee.lee --- package/emulator-manager.install.windows | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/emulator-manager.install.windows b/package/emulator-manager.install.windows index 9caa344..ddcc41e 100755 --- a/package/emulator-manager.install.windows +++ b/package/emulator-manager.install.windows @@ -12,7 +12,9 @@ set desktop_menu_icon_path=%INSTALLED_PATH%\%icon_path% echo Program path : %program_path% echo Desktop menu icon path : %desktop_menu_icon_path% echo Setting shortcut... -wscript.exe %MAKESHORTCUT_PATH% /shortcut:"%em_shortcut_name%" /target:"%program_path%\%em_execute_file%" /icon:"%desktop_menu_icon_path%\%em_icon_file%" +if not "%MAKESHORTCUT_PATH%" == "" ( + wscript.exe %MAKESHORTCUT_PATH% /shortcut:"%em_shortcut_name%" /target:"%program_path%\%em_execute_file%" /icon:"%desktop_menu_icon_path%\%em_icon_file%" +) echo Setting registry reg add "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /f /v %program_path%\%em_execute_file% /t REG_SZ /d RUNASADMIN -- 2.7.4