This article outlines three methods of setting the ClickView Publisher IP address onto a network of computers running the ClickView Player.
Setting the IP Address
WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows to correct them. Both ClickView and Microsoft do not guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
1. Open up the registry editor. You can do this by clicking Start, then Run and within the text box, type regedit.
2. Within the registry editor, using the directory navigation on the left side of the screen, browse to the following location:
- 32-Bit machines: HKEY-Local-Machine > Software > ClickView > ClickView
- 64-Bit machines: HKEY-Local-Machine > Software > Wow6432node > ClickView > ClickView
The below illustration is an example of what should be visible on this screen when accessed on a 64-bit platform:
3. If the 'ServerIP' value does not exist on your installation, simply right-click within any part of the plain white field > New > String Value > Set the name of this to "ServerIP" (as seen below). If this value already exists on your installation, please progress to the next step.
4. Right-click on ServerIP and choose Modify.
5. Within the Value data text box, type your ClickView Publisher IP address. The set IP address will vary from school-to-school. The screenshot below shows the ClickView Publisher IP address has been set to 10.10.0.80.
If the previous method is not an option, you will need to utilize Active Directory and Group Policies to force a registry change to occur to the ServerIP value once the workstation has been re-logged in to.
The ClickView Player stores the Server's IP address in the following location once the application has been launched for the first time.
- 32-Bit machines: HKEY-Local-Machine\software\ClickView\ClickView
- 64-Bit machines: HKEY-Local-Machine\Software\Wow6432node\ClickView
Example batch scripts to change this value are listed below:
- 32-Bit machines: REG ADD HKLM\SOFTWARE\ClickView\ClickView /v ServerIP /d 10.10.0.80
NOTE: The above script changes the IP address to 10.10.0.80. Change the above example script to the correct ClickView Server IP address of your school before using.
The screenshot above demonstrates what this script should look like in Notepad. Once you are happy it is correct, save it with a .bat extension. You will then be able to deploy this script through Group Policy.
Note: ClickView Player will check both the 32 and 64 bit registry directories so there is no need to amend to the 64-bit location if installing to a 64-bit platform.
It is also possible to set the IP address of ClickView Publisher when installing the ClickView Player via the available MSI package, using the value below.
msiexec /i "Path_To_ClickViewPlayer.msi" SERVERIP=yourclickviewserveripaddress /passive
The below scripting assumes that our ClickView Player MSI (for deployment) was located on the desktop of the machine we were deploying from and the IP address of our ClickView Publisher was 10.10.0.80:
msiexec /i C:\Users\Administrator\Desktop\ClickViewPlayer.msi SERVERIP=10.10.0.80
The screenshot above illustrates what this command looks like when performed from a local command prompt instance. Alter the above scripting as necessary for your school.