Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to set install directory when starting a setup executable #344

Open
KairuByte opened this issue Jan 26, 2024 · 5 comments
Open

Attempt to set install directory when starting a setup executable #344

KairuByte opened this issue Jan 26, 2024 · 5 comments
Labels
💻 client There are things to do on the client 🔧 feature New feature or request

Comments

@KairuByte
Copy link
Contributor

Is your feature request related to a problem? Please describe.
It's a little annoying for those with tech experience, and nigh impossible for someone without tech experience, to set the install directory manually.

Describe the solution you'd like
Most (all?) installers support a flag for "install to this directory." GoG installers for instance, support the /dir=[directory] argument. I admit I do not know of any others off the top of my head, but I do know the majority have them. This (and any others we find) could be added to the end of the setup run as a sort of brute force attempt to set the install directory.

Additional context
This will be useless once server side manifest files have been added.

@KairuByte KairuByte added 💻 client There are things to do on the client 🔧 feature New feature or request labels Jan 26, 2024
@Alfagun74
Copy link
Contributor

do you have any further examples of installers supporting this including the corresponding argument?

@Yelo420
Copy link
Contributor

Yelo420 commented Feb 5, 2024

Yea, we can add something like "Try auto add install path".
But for that be should list some common install arguments out there

@Alfagun74
Copy link
Contributor

Alfagun74 commented Feb 6, 2024

We need to look into what settings different installer types use. If there are standard ways these settings are written, please let us know. We're also thinking about whether we should try to figure out the installer type or just add all the settings we know about, like this:

installer.exe -dir "dir" -directory "dir" -target "dir"

to cover most situations. Is there a limit to how many settings we can add?

Right now, we only know about these:

Installer Type Setting Reference Implemented
GOG /dir= Link No

@Phalcode Phalcode deleted a comment from Yelo420 Feb 7, 2024
@KairuByte
Copy link
Contributor Author

KairuByte commented Feb 7, 2024

I'm not 100% sure on what kinds of installers most games use these days. I admit I pretty much only use Steam or GOG.

I know there are flags for MSI files and such, but I don't believe I have ever seen a game use the MSI installer format.

I'll try to do some research into Humble Bundle installers, since thats the only other store I am really aware of that serves bare exe's these days, and only for their "free game" benefit offerings.

@Alfagun74
Copy link
Contributor

We will implement a settings toggle that activates this feature and simply appends any known directory parameters to the installer. This way, you can switch it off in case installers cannot handle that flag and crash.

@Alfagun74 Alfagun74 moved this from 📃 New Issues to 🔧 Planned in GameVault: Public Roadmap Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 client There are things to do on the client 🔧 feature New feature or request
Projects
Status: 🔧 Planned
Development

No branches or pull requests

3 participants