hi all,

so made a script to install opencue on windows, the pre reqs you need are python 3.11.9 and Visual Studio 2022 Build Tools with c++

once you done that, heres the batch script

@echo off
mkdir c:\opencue
mkdir c:\opencue\logs
cd c:\opencue
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/cueadmin-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/cuegui-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/cuesubmit-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/pycue-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/pyoutline-1.0.0-all.tar.gz
curl -OL https://github.com/AcademySoftwareFoundation/OpenCue/releases/download/v1.0.0/rqd-1.0.0-all.tar.gz
dir /a-d /b | FINDSTR /V files.txt > files.txt
for /F %%h in (files.txt) do tar -xvzf %%h
python -m venv venv
dir /ad /b | FINDSTR /V venv | FINDSTR /V logs > dirs.txt
for /F %%d in (dirs.txt) do cd c:\opencue\%%d & c:\opencue\venv\Scripts\activate & pip install -r c:\opencue\%%d\requirements.txt -r c:\opencue\%%d\requirements_gui.txt& python setup.py install

i get couple of errors when i run it tho, here they are

x cuegui-1.0.0-all/cuegui/images/crystal/icons.qrc: Can't create '\\?\c:\opencue\cuegui-1.0.0-all\cuegui\images\crystal\icons.qrc': Invalid argument

x cuegui-1.0.0-all/cuegui/images/bluecurve/icons.qrc: Can't create '\\?\c:\opencue\cuegui-1.0.0-all\cuegui\images\bluecurve\icons.qrc': Invalid argument

tar: Error exit delayed from previous errors

you can try this yourself if want so the errors are extracting the tar

can you spot why its untaring some but some i get errors

thanks,
rob

1 Spice up

but running cmd as admin as i said works so all good

1 Spice up

I bet your errors will go away if you use a different folder that isn’t in the root of C:

The C: drive, specifically the root has restrictions where admins** can run things and standard users, even with admin rights, can’t.

** by elevating, run as, be that command prompt, PowerShell, Terminal or an EXE.

Instead of using C:\folder, put it in either program files or on another drive.

It’s not clear though why you would want to run it outside of an admin.

makes sense, thanks @Rod-IT