You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The installer script already expects to be executed with Admin privileges but the 'InstallAllUsers=0' option used to install Python will put it under C:\Users\$user\%LocalAppData% for the logged in user, unlike the other dependencies where the install path is global -- for all users.
I experimented with the option to install Python for all users to C:\Program Files\Python310 by setting 'InstallAllUsers=1' and everything worked fine until it got to the poetry install step where the script failed with a path-related error so I changed it back to 'InstallAllUsers=0'.
Thoughts?
Motivation
This will hopefully make it easier to write an uninstall.ps1 script that will leave the system in the state it was prior to the execution of installer.ps1.
Footnotes
The default path is C:\Users\<user>\%LocalAppData% which usually expands to C:\Users\<user>\AppData\Local\Programs\Python\Python310↩
The text was updated successfully, but these errors were encountered:
Feature request
Installer Design for Windows
Before the installer script installs OpenAdapt, it first runs checks for 3 dependencies in the following order:
C:\Program Files\Tesseract-OCR
C:\Program Files\Tesseract-OCR
C:\Users\<user>\AppData\Local\Programs\Python\Python310
C:\Users\<user>\AppData\Local\Programs\Python\Python310
C:\Program Files\Git\
C:\Program Files\Git\
C:\OpenAdaptSetup\OpenAdapt
C:\Users\<user>\OpenAdapt
The installer script already expects to be executed with Admin privileges but the
'InstallAllUsers=0'
option used to install Python will put it underC:\Users\$user\%LocalAppData%
for the logged in user, unlike the other dependencies where the install path is global -- for all users.I experimented with the option to install Python for all users to
C:\Program Files\Python310
by setting'InstallAllUsers=1'
and everything worked fine until it got to thepoetry install
step where the script failed with a path-related error so I changed it back to'InstallAllUsers=0'
.Thoughts?
Motivation
This will hopefully make it easier to write an
uninstall.ps1
script that will leave the system in the state it was prior to the execution ofinstaller.ps1
.Footnotes
The default path is
C:\Users\<user>\%LocalAppData%
which usually expands toC:\Users\<user>\AppData\Local\Programs\Python\Python310
↩The text was updated successfully, but these errors were encountered: