[BUG]
SirColeslaw opened this issue · 3 comments
Describe the bug
Installation cancels with error message.
To Reproduce
Steps to reproduce the behavior:
- Start installation. <- Even tried to "Start as Administrator"
- Define installation path (in my case other than default).
- Get error message.
- Tried on the other PC also, error stays the same.
Expected behavior
Installation finishes without errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot message translated:
"Error overwriting the file: ..."
Logs and details about your system
- Windows 11 Pro 23H2 <- Using local administrator account
- OBS 30.0.2 <- In portable mode, not installed in default folder.
- Beam 1.0.0 <- Installer
The installer isn't intended to be used with a portable mode OBS.
It doesn't really make sense when you think about it, the idea of a portable folder being that you can just throw it anywhere and run it without installation, including through USB stick on a different PC, and then you'd have a plugin inside this folder that registers itself in the system for being installed in this fixed location.
For example, what is supposed to happen if you move the folder (including the plugin inside it) and then try to uninstall the plugin? And if you move the folder to a new PC, you still have the files in there, but no installation anyway, so PC 1 would have the Beam plugin properly installed and registered in the system to be in that folder, but on PC 2 for the same folder structure that's not the case. It goes on, when you use portable mode to be able to easily backup and recover that folder anytime, installation information would also be gone after recovery - or you recover an old folder from before installing it, then you system thinks the plugin is installed but it's not in the folder.
And if you have more than one OBS installed in portable folders on that system where you want to use Beam, which of the folders should the installer register as its install location? From where should it uninstall the files if you choose to uninstall the plugin?
I guess that's just a long way of saying the two concepts "installer" and "portable" don't match 😄
That's what the xObsBeam-win-x64.7z file is meant for, just unpack this into the portable OBS directory. And if you ever need to remove the plugin again, just check what is in that .7z file (it's not much) and delete the files manually.
Yeah, totally right. Thanks for pointing it out. Seems "bug" was a layer 8 problem ;)
Closed.
/reopen, have the same problem with the installer on C:\Program Files\obs-studio
. Definitely not a portable installation.
Edit: Opened its own issue for it, as gravedigging this issue maybe isn't the best idea