diff --git a/os/windows/cellframe-node.nsis b/os/windows/cellframe-node.nsis index 83e394ec76b66baeedbca18f99ac2f5b582e3ff9..6c9d3414b003b058eaec3ccc37819c923cd570cc 100644 --- a/os/windows/cellframe-node.nsis +++ b/os/windows/cellframe-node.nsis @@ -242,6 +242,12 @@ Section "${APP_NAME}" CORE nsExec::ExecToLog /OEM 'schtasks /run /TN CellframeTray"' ${EnableX64FSRedirection} + StrCpy $0 "'$INSTDIR\cellframe-diagtool.exe'" + ${DisableX64FSRedirection} + nsExec::ExecToLog /OEM 'schtasks /Create /F /RL highest /SC onlogon /TR "$0" /TN "CellframeDiagtool"' + nsExec::ExecToLog /OEM 'schtasks /run /TN CellframeDiagtool"' + ${EnableX64FSRedirection} + SectionEnd