Skip to content

[bug] missing folders during windows install #103

@ccoxgn

Description

@ccoxgn

running the instaler.ps1
can't find path
AppData\Local\Temp\coercer-windows-support
it doesn't seem to be creating the windows support folder and the coercer.exe
also note the double backslash - not sure that is valid in windows.

PS C:\Temp> .\installer.ps1
Python 3.13 found in Local Machine
Python 3.13 found in Current User
Checking build tools install...
Downloading repository...
Beginning build process...
Set-Location: C:\Temp\installer.ps1:204
Line |
 204 |  Set-Location -Path $RepositoryFolderPath
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\local\AppData\Local\Temp\coercer-windows-support' because it does not exist.
Requirement already satisfied: pyinstaller in c:\temp\.venv\lib\site-packages (6.18.0)
Requirement already satisfied: altgraph in c:\temp\.venv\lib\site-packages (from pyinstaller) (0.17.5)
Requirement already satisfied: packaging>=22.0 in c:\temp\.venv\lib\site-packages (from pyinstaller) (26.0)
Requirement already satisfied: pefile>=2022.5.30 in c:\temp\.venv\lib\site-packages (from pyinstaller) (2024.8.26)
Requirement already satisfied: pyinstaller-hooks-contrib>=2025.9 in c:\temp\.venv\lib\site-packages (from pyinstaller) (2026.0)
Requirement already satisfied: pywin32-ctypes>=0.2.1 in c:\temp\.venv\lib\site-packages (from pyinstaller) (0.2.3)
Requirement already satisfied: setuptools>=42.0.0 in c:\temp\.venv\lib\site-packages (from pyinstaller) (80.10.1)

[notice] A new release of pip is available: 25.0.1 -> 25.3
[notice] To update, run: python.exe -m pip install --upgrade pip

[notice] A new release of pip is available: 25.0.1 -> 25.3
[notice] To update, run: python.exe -m pip install --upgrade pip
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
C:\Temp\.venv\Scripts\python.exe: can't open file 'C:\\Temp\\setup.py': [Errno 2] No such file or directory
Building...
73 DEPRECATION: Running PyInstaller as admin is not necessary nor sensible. Run PyInstaller from a non-administrator terminal. PyInstaller 7.0 will block this.
157 INFO: PyInstaller: 6.18.0, contrib hooks: 2026.0
158 INFO: Python: 3.13.3
206 INFO: Platform: Windows-11-10.0.22631-SP0
206 INFO: Python environment: C:\Temp\.venv
ERROR: Script file 'Coercer.py' does not exist.
Copy-Item: C:\Temp\installer.ps1:233
Line |
 233 |          Copy-Item -Path $BuiltScriptPath -Destination $Options['Outpu …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\local\AppData\Local\Temp\coercer-windows-support\dist\Coercer.exe' because it does
     | not exist.
Cleaning up...
Remove-Item: C:\Temp\installer.ps1:265
Line |
 265 |  Remove-Item -Recurse -Force $RepositoryFolderPath
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\local\AppData\Local\Temp\coercer-windows-support' because it does not exist.
Done!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions