Windows installer: Add option to install for all users
Right now Mu is installed in a user-specific location and not available to all users. Previous Mu installers had the option to be installed globally (in program files I believe?), it would be nice to have this option via pup as well.
I guess one question in this case would be what should be the default option?
Looks like it might also be important in school networks: https://github.com/mu-editor/mu/issues/1477#issuecomment-819584526
Yes indeed it would be good to have an option of where it installs - or perhaps even if you don't want to change the msi installer, providing an MST file with it that specifies a different location such as program files would be extremely helpful as then each school or users as well are then able to edit the MST to specify their own desired location, that way you are still able to keep the MSI as a per-user installation.
Thanks for all the help @kassn-bms! I wasn't aware of MST files, something to look into. Some links I've found that might be relevant:
- https://docs.microsoft.com/en-us/archive/blogs/alexshev/from-msi-to-wix-part-7-customizing-installation-using-transforms
- https://docs.microsoft.com/en-gb/windows/win32/msi/database-transforms
I assume it might be easier to offer the option during installation, would that be good enough for this kind of set up?
For our set up, and this might be the case for a number of other schools also, having the option come up during the installation might not be a good idea as we install MSI's through group policy for automation, and that happens when the computer is starting up and is applying the policies so the software is installed before it gets to the login screen so there is no user input at all, so we couldn't choose an install location at that point and it would just use the default path within the MSI.
That's why I think offering an MST file with the MSI would be the best option for schools, as we can then edit the MST with something called "InstEd It!" (here is a link to the download if it helps at all) ourselves to specify where we want it installed then we just add the MSI with the MST file into the software installation policy, and that way you can still keep the MSI to install on a per-user basis as a default.
Hope this helps!
Current instructions we can put in the Mu docs: https://pup.readthedocs.io/en/latest/platform_notes/windows_msi.html#per-user-vs-per-machine-installs