1 set vtm_shortcut_name=Emulator Manager
\r
2 set execute_path=Emulator\bin
\r
3 set vtm_execute_file=emulator-manager.exe
\r
4 set program_path=%INSTALLED_PATH%\%execute_path%
\r
5 ECHO Start menu path=%start_menu_programs_path%
\r
6 echo delete from registry
\r
7 reg delete "hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /f /v %program_path%\%vtm_execute_file%
\r
8 wscript.exe %REMOVE_SHORTCUT% /shortcut:%vtm_shortcut_name%
\r