Page 1 of 1

Windows Default Install Path

Posted: Fri Jun 09, 2023 11:17 am
by FrozenTundraDJ
I would like to request that the Windows version follows best practice for the install path of using the Program Files directory rather than defaulting to C:\QLC+.

Re: Windows Default Install Path

Posted: Sat Jun 10, 2023 3:38 pm
by kproth
If that were done, doesn't it also default to savings its .qxw files into the application's directory? That would have to change too, since you can't write to the Program Files directory without admin rights. And, does the installer place the start menu shortcut under the shared start menu folder or the user-specific one?

Re: Windows Default Install Path

Posted: Mon Jun 12, 2023 7:41 am
by GGGss
Austin,

I am very happy with the non-program-files approach of QLC+.
In the other case, you will erratic start looking in c:\program_data (hidden directory) for the fixture definitons, input defintions, ... This will complicate things for the user.
AND: QLC+ is a multi-O.S. solution, so you want Linux to put its file where now?

Re: Windows Default Install Path

Posted: Mon Jun 12, 2023 12:39 pm
by janosvitok
GGGss wrote: Mon Jun 12, 2023 7:41 am AND: QLC+ is a multi-O.S. solution, so you want Linux to put its file where now?
QLC+ on different platforms uses different paths, according to respective conventions.

See https://github.com/mcallegari/qlcplus/b ... es.pri#L73 and following lines.

Re: Windows Default Install Path

Posted: Mon Jun 12, 2023 9:28 pm
by kproth
janosvitok wrote: Mon Jun 12, 2023 12:39 pm QLC+ on different platforms uses different paths, according to respective conventions.
See https://github.com/mcallegari/qlcplus/b ... es.pri#L73 and following lines.
Actually, the install path in question is in the .nsi file used by makensis to build the installer:
https://github.com/mcallegari/qlcplus/b ... t5.nsi#L19

I think the INSTALLROOT variable you linked to is only used by 'make install'...

And according to the certification requirements below, windows desktop apps are supposed to install to %ProgramFiles% (or %ProgramFiles(x86)% for 32-bit apps)...
https://learn.microsoft.com/en-us/windo ... sktop-apps

Re: Windows Default Install Path

Posted: Thu Jun 15, 2023 2:29 pm
by mcallegari
I thought about this already and I think QLC+ will stay like this for these reasons:
1- the current installer can be executed without administrative priviledge which is gold on corporare PCs (for example in my workplace).
2- Limitations of #1 are:
- file associations: installer needs to modify the Windows registry which is possible only as admin
- network protocol requires access to network interfaces
3- installer can always be executed as admin (most of home PCs have a single admin user anyway) and you can opt to install QLC+ even in Program Files folder

So yes, in 2023 it is a bit awkward to install on a custom path but it has its advantages too