Pixel IT Knowledgebase
Search:     Advanced search

Install, Update and Uninstall via logon scripts

Article ID: 50
Last updated: 18 Nov, 2009
Views: 7153
Posted: 03 Jun, 2009
by: Gurrie A.
Updated: 18 Nov, 2009
by:

Installing via logon scripts

Due the nature of the NetSupport School application, it is common that the Student component needs to be installed on a large number of machines. The time taken to install all these machines by manually running the NetSupport School setup program could be considerable. One common method to avoid having to visit each workstation and perform a manual installation is to automate the installation and run that automated installation from a logon script.

The following script checks for the presence of the NetSupport Student program and if this does not exist it runs a silent installation of NetSupport Student.

@echo off
if exist “c:\program files\NetSupport School\Client32.exe then goto end

:Install
Net Use I: \\Server\share
I:\setup /S /v/qn

:end

One potential problem with using this method of Installation is that the NetSupport School Installation program requires Administrative rights on Windows NT based systems and it is not common practice for all users of a network to have this level of security privileges. However, this method is a very useful method for installing on Windows 9x and Me operating systems


Updating the license file

The NetSupport License details are stored in a file named NSM.LIC this is installed to the NetSupport School Installation folder. If you need to update the License file on a workstation, you can replace the existing file with a new NSM.LIC file. However before the New license is used by the Student, the NetSupport Student must be reloaded. There is a utility called CLRELOAD that can be used to restart the NetSupport Student and  is available in the tools folder on the course CD or can be downloaded from www.NetSupportsoftware.com/support The following logon script could be used to update the NetSupport license file

Copy I:\NSM.LIC c:\program files\NetSupport School\NSM.LIC
CLRELOAD

Updating the Client configuration

The NetSupport Client Configuration details are stored in an INI file the default name for this file is CLIENT32.INI and is installed to the NetSupport School Installation folder. If you need to update the NetSupport Client Configuration details file on a workstation, you can replace the existing file with a new file. However before the New Configuration details are used by the NetSupport Client, the Client must be reloaded. There is a utility called CLRELOAD that can be used to restart the NetSupport Client. This file is available in the tools folder on the course CD or can be downloaded from www.NetSupportsoftware.com/support. The following logon script could be used to update the NetSupport license file.

Copy I:\CLIENT32.INI c:\program files\NetSupport School\CLIENT32.INI
CLRELOAD

Uninstall via logon script

The easiest way to perform this task is to extract the msi file from the setup.exe
This can be done by performing: setup.exe /A
The /A will tell it to do an administration install. This will pull out all files associated with the installation process.

Once we have the MSI available we can simply add it to a network share and supply the following standard MSI command:

@echo off
if exist “c:\program files\NetSupport School\Client32.exe then goto end

:Install
Net Use I: \\Server\share
I:\NetSupport School.msi /uninstall :end

This article was:   Helpful | Not Helpful
Prev   Next
Advanced Configuration in NetSupport School     Connecting a student to multiple tutors

RSS