@echo off rem res2.2 installer for Windows. Creates a desktop shortcut that opens res2.2 in its own window rem using Microsoft Edge (present on every Windows 10/11 PC) in app mode. Nothing else is rem installed; the app itself runs on the researcher's server, so updates never need a new install. setlocal set "URL=https://lab-ioars35.tail64cdcc.ts.net" set "APPDIR=%LocalAppData%\res2.2" set "PROFILE=%APPDIR%\browser" if not exist "%PROFILE%" mkdir "%PROFILE%" set "EDGE=%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" if not exist "%EDGE%" set "EDGE=%ProgramFiles%\Microsoft\Edge\Application\msedge.exe" if not exist "%EDGE%" set "EDGE=%ProgramFiles%\Google\Chrome\Application\chrome.exe" if not exist "%EDGE%" ( echo Neither Microsoft Edge nor Google Chrome was found. Open %URL% in your browser instead. pause exit /b 1 ) rem A launcher script the shortcut points at, so the shortcut stays valid if the URL changes later. > "%APPDIR%\res2.2.cmd" ( echo @echo off echo start "" "%EDGE%" --app=%URL% --user-data-dir="%PROFILE%" --window-size=1500,950 --no-first-run --no-default-browser-check ) rem Desktop shortcut via PowerShell (no extra tools needed). powershell -NoProfile -ExecutionPolicy Bypass -Command ^ "$s = (New-Object -ComObject WScript.Shell).CreateShortcut([Environment]::GetFolderPath('Desktop') + '\res2.2.lnk');" ^ "$s.TargetPath = '%APPDIR%\res2.2.cmd'; $s.WorkingDirectory = '%APPDIR%'; $s.WindowStyle = 7;" ^ "$s.IconLocation = '%EDGE%,0'; $s.Description = 'res2.2'; $s.Save()" echo. echo res2.2 is on your desktop. Open it and sign in with your invited email. echo. start "" "%APPDIR%\res2.2.cmd" endlocal