Usage by several users and Limited User Accounts
The Multi-user usage (that is, using of DVBViewer by several users on the same PC) and usage by Limited User accounts in Windows is very simple if DVBViewer is started once with Administrator permissions at its first run.
- During installation of DVBViewer, the setup program would ask how to store configuration settings. The options given are "For all users" or "For each user separate". After installation, if you run DVBViewer as Adminstrator, it will create a basic configuration, that is appropriate for all users of the PC.
- In the DVBViewer installation folder there is a file UserMode.ini that can be edited with a text editor (e.g. Notepad) to define the usermode. The file has the following defaults:
[Mode] UserMode=2 Root=CMUV\DVBViewer
The number behind the entry UserMode define the behaviour of the DVBViewer Pro and the Plugins in Multi-user usage. The available values are:
 UserMode=0 (not recommended)
- All configuration files (files and settings that will be altered during the use of DVBViewer, such as favourites) will be stored in the DVBViewer program folder where DVBViewer.exe is located (usually in "Program Files" directory) and will be shared by all users of the PC.
- This mode equates the behaviour of older DVBViewer versions. All users share the same configuration, so one user cannot customize the behaviour of DVBViewer for themselves only as it will affect all other users of the PC. Also, this mode is unsuitable for usage in Windows Vista and 7 because of lack of editing permissions for "Program Files" folder.
- This mode is suitable for Limited User Accounts. Each user has his "own" configuration, saved in the user profile folder of his account, which is:
Documents and Settings\[Username]\Application Data\CMUV\DVBViewer (in Windows XP) Users\[Username]\AppData\Roaming\CMUV\DVBViewer (in Windows Vista and 7)
- If DVBViewer Pro is started in UserMode 1, it would check whether the configuration files already exist in the user profile. If not, these files will be copied from the installation folder and use them there from now on. The original configuration in the installation folder remains intact. So, when user A changes his configuration (e.g. channel list), it wouldn't affect user B. You can't use this mode if you want to use the DVBViewer Recording Service
 UserMode=2 (default)
- This mode is also suitable for Limited User Accounts. All configuration files are being stored in the DVBViewer configuration in "public" folder and will be shared by all users of the PC. This mode is needed for the Recording Service.
The path to the public configuration folder is:
Documents and Settings\All Users\Application Data\CMUV\DVBViewer (in Windows XP) ProgramData\CMUV\DVBViewer (in Windows Vista and 7)
- If DVBViewer Pro is started in UserMode 2, it would check whether the configuration files already exist in the user profile. If not, these files will be copied from the installation folder and use them there from now on. The original configuration in the installation folder remains intact. Any changes made by one user affects all other users of the PC.
In the Menu, selecting "Help/Configuration folder" opens configuration folder which is currently in use, depending on the UserMode. The folder is opened in Windows explorer window.
- The Administrator only have to initiate the basic configuration and define the user mode in the file UserMode.ini. All other actions will be done by DVBViewer Pro automatically. In UserMode 1 and 2 the basic configuration in the installation folder serves as a backup. If configuration files will be deleted from the user profiles, DVBViewer Pro will restore them from this backup at the next start.
- The correct working of UserMode 1 and 2 depends on that all plugins obey these settings too. Therefore, please only use up to date plugin versions that are adjusted to work in this way.
 Making multiple installations
DVBViewer Pro can be installed several times in different folders. This enables to start more than one instance of the program. However, instances must not access the same DVB hardware at the same time. If there aren't 2 DVB tuners available, a second instance can only be used as a media player.
 How to make muptiple installations
First of all, it is not recommended to actually *install* DVBViewer twice. There are shared things like registered DirectShow filters (inevitably due to the way DirectShow works), and if DVBViewer is installed twice, it becomes unclear which files are registered by which installation. Uninstalling/deleting one installation may disable the other one because the registered ax files in the Filters subdirectory are gone, maybe only leaving some "dead" entries in the registry. You will need to manually re-register unregistered filters of the other installation or they won't work.
The proper way to do the multiple installation:
- Copy the content of the installation folder to a new folder, e.g. Program Files\DVBViewer 2.
- Edit the file UserMode.ini in the new folder. Change the Root entry e.g. to CMUV\DVBViewer 2 in order to let the second instance use a different configuration folder.
- Launch the copied DVBViewer.exe and close it, so the new configuration folder gets created. Copy the content of the configuration folder of instance 1 to the one of instance 2, if you want it to inherit the settings, channel list etc. In that way you get a "master" and "slave" installations. If you need to update DVBViewer, only let the installer to update the master installation; updating the other ones has to be done manually, by copying files. And don't register DirectShow filters that are located in the slave installation.
To remove the "slave" installation, just delete it and its configuration folder. That's all.