aclap-dev / joclyboard

Multiplatform 3D/2D desktop application for playing board games
Other
44 stars 20 forks source link

Custom installation directory. #22

Open P4z opened 6 years ago

P4z commented 6 years ago

Running JoclyBoard-0.9.12-Setup.exe on Windows 10 immediately installs the software in the predefined path of C:\Program Files\JoclyBoard without asking for any user input.

The installer should prompt for custom installation directory and only suggest the default for user convenience.

I copied C:\Program Files\JoclyBoard to D:\games\JoclyBoard and the software seems to start just fine. I have not tried any games however. Running D:\games\JoclyBoard\Uninstall JoclyBoard.exe uninstalls the software from C:\Program Files\JoclyBoard.

Also it is a good habit to request user for confirmation before proceeding with installation to avoid accidental runtime. Installation path prompt would already inherit that confirmation.

Suggesting to create an MSI package for enhanced control and extra setup features on Windows.

Please improve.

-- Kind regards, P4z.

mi-g commented 6 years ago

I do not understand your request.

On Windows, when running the installer, you go through a dialog asking for the installation directory. The default is "C:\Program Files\net.downloadhelper.coapp" but you can change this to whatever directory you want.

P4z commented 6 years ago

That is exactly what I was expecting but after running the installer and elevating the process with UAC I have just shortly see the progress bar and the software was installed in C:\Program Files\JoclyBoard without asking about anything. I'm on Windows 10 v10.0.16299.492 and used setup.exe from this github release. So you suggest that it is not about the setup by my environment? Thank you about quick reaction.

mi-g commented 6 years ago

Sorry, my fault ! I mixed up with another program of mine.

For JoclyBoard, i used the default settings from Electron for generating the installer. I cannot say for sure if there is a way to ask for the target directory. When i will have time to work again on this project i will have a look at it.

Thanks for reporting the issue.