SectionEnd\r
\r
section "$(section_desktopShortcut)"\r
-CreateShortCut "$DESKTOP\${PRODUCT}.lnk" "$INSTDIR\${PRODUCT}.exe" "-r" "$INSTDIR\${PRODUCT}.exe" 0 SW_SHOWNORMAL \\r
+CreateShortCut "$DESKTOP\${PRODUCT}.lnk" "$INSTDIR\nvda_slave.exe" "launchNVDA -r" "$INSTDIR\${PRODUCT}.exe" 0 SW_SHOWNORMAL \\r
CONTROL|ALT|N "Shortcut Ctrl+Alt+N"\r
SectionEnd\r
\r
if action == "service_NVDALauncher":\r
import nvda_service\r
nvda_service.nvdaLauncher()\r
+ elif action=="launchNVDA":\r
+ import subprocess\r
+ subprocess.Popen([r"%s\nvda.exe"%sys.exec_prefix]+args)\r
elif action=="setNvdaSystemConfig":\r
import config\r
config._setSystemConfig(args[0])\r