ldtk icon indicating copy to clipboard operation
ldtk copied to clipboard

[Request] All-user (silent) install option

Open teknowledgist opened this issue 1 year ago • 1 comments

The silent install is great, but it is for only the current user. I would like to be able to use this in a classroom setting, so I need to be able to deploy it (i.e. a silent install) AND for all users of the computer.

If I copy the directory to a protected location (i.e. C:\Program Files), it appears to run OK, but I have to create/adjust the desktop and Start Menu shortcuts and (more difficult) adjust the default .ldtk file handler for all users.

Any chance that could be done from the installer?

IMHO, a silent install should default to all-users, and users who are installing just for themselves can do it manually.

Thanks!

teknowledgist avatar Sep 09 '24 15:09 teknowledgist

Just to add some information:

  • I think NSIS makes it pretty easy to create a multi-user installer by defining MULTIUSER_INSTALLMODE_COMMANDLINE using MultiUser.nsh.
  • I can use the /D="C:\Program Files (x86)\LDtk" switch to install into a protected location, but while the uninstall registry keys do reference the uninstaller in that location, it does not remove that directory -- only the (user's) desktop and start menu icons (and extension assignment).
  • The common /ALLUSERS or /ALLUSERS=1 switches do nothing, but interestingly, the uninstall registry keys include the /CurrentUser switch.
  • I have tried everything to establish the .ldtk extension assignment for the system (not just the user), but Microsoft has made it virtually impossible outside of installers.

Let me know if I can provide any additional information or testing.

Thanks!

teknowledgist avatar Sep 12 '24 12:09 teknowledgist