syd711 / vpin-studio

Competition, table, and player management for VPins.
MIT License
28 stars 2 forks source link

Server installation failed #71

Closed adstotz closed 8 months ago

adstotz commented 8 months ago

When performing a fresh full install and progressing to the step of "Install Service", there is an error received:

"Error: File 'C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup' exists but is a directory.

here is the correct user directory for my system. - OS: Windows 11 Pro - Version: 23H2
syd711 commented 8 months ago

Thanks for reporting! Could you attach the log files here? I'm planning a release this week so I can include the bugfix for this.

syd711 commented 8 months ago

Also, the workaround for the problem can be found here: https://github.com/syd711/vpin-studio/wiki/Troubleshooting#there-is-no-bat-file-in-the-auto-start-folder

adstotz commented 8 months ago

vpin-studio-ui.log

It looks like the code is maybe not appending the filename to the directory when opening the file output stream?

syd711 commented 8 months ago

Ah, right, I added additional lookup methods for the auto-start directory with the latest release. For these, the actual filename is not appended.

syd711 commented 8 months ago

I just released https://github.com/syd711/vpin-studio/releases/edit/2.6.0 which should fix this issue. Please reopen this ticket if there are still problems.