Revert "Revert "Revert "[Title]remove administrator autorization"""
authorJinhyung Jo <jinhyung.jo@samsung.com>
Tue, 3 Apr 2012 19:12:41 +0000 (04:12 +0900)
committerJinhyung Jo <jinhyung.jo@samsung.com>
Tue, 3 Apr 2012 19:12:41 +0000 (04:12 +0900)
This reverts commit e82f606c8050f0e317494a361568a1c85eb95ab4.

package/emulator-manager.install.windows
package/emulator-manager.remove.windows

index 7dd23fd..3a4455e 100755 (executable)
@@ -12,4 +12,6 @@ echo Program path : %program_path%
 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
+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
 echo COMPLETE\r
index 3074040..67ea331 100755 (executable)
@@ -3,5 +3,7 @@ set execute_path=Emulator\bin
 set em_execute_file=emulator-manager.exe\r
 set program_path=%INSTALLED_PATH%\%execute_path%\r
 ECHO Start menu path=%start_menu_programs_path%\r
+echo delete from registry\r
+reg delete "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"  /f /v %program_path%\%em_execute_file%\r
 wscript.exe %REMOVE_SHORTCUT% /shortcut:%em_shortcut_name%\r
 \r