InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: InvokeAI is sometimes installed in C:\Windows\system32

Open psychedelicious opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

No response

What happened?

InvokeAI is installing to in system32 for some users.

I do not have windows to test, but I think what is going on is that when you double click a .bat file, cmd sets the current working directory not the .bat file location, but the location of cmd, which is C:\Windows\system32.

This is just a suspicion, and we need Windows users to attempt to recreate this (I do not have windows available to me).

Screenshots

No response

Additional context

No response

Contact Details

No response

psychedelicious avatar Dec 02 '22 06:12 psychedelicious

Another user believes this happened when they ran the batch file as Administrator. Maybe that is the cause.

psychedelicious avatar Dec 02 '22 08:12 psychedelicious

Edit: Nevermind, I ran an older installer. 2.2.0-rc4 release worked correctly.

It appears there is a video that links to an older pre 2.2.0 release, which is where I came in and grabbed my installer from. I expect there's quite a few who are going to run into the same issue with the older installer that appears to be fixed in the newer installer.

theubie avatar Dec 02 '22 08:12 theubie