I know about the /S command line switch, but this only installs the application for the user running it. Since I am looking to mass deploy this is there a way to silently install the web player for all users on a computer without having to manually do it?
asked Apr 27 '10 at 04:07 PM
Use the /AllUsers flag.
answered Apr 27 '10 at 04:14 PM
Graham Dunnett ♦♦
On windows, the unity webplayer installs for the current user only by default. This allows the installer to be usable without admin privileges which in general is a good thing.
However, this means that to install for all users, you need to run the installer with some options, and this requires admin privileges. You can do this via the command line as follows.
These are the full instructions to install the unity webplayer for all users on Windows:
1) Download the installer EXE (from http://unity3d.com/webplayer)
2) Open a command prompt using either of these methods:
3) Drag the downloaded file into the command prompt window (this will copy the file's path into the window)
4) Add the options: /AllUsers /S after the filepath, so you end up with something like this in your command prompt:
5) Hit return. If you're not logged in as an admin user, you'll be asked to provide admin credentials at this point.
6) You're done. Because you used the /S flag for 'silent mode', there will be no feedback if the install was successful.
answered May 17 '12 at 09:45 AM