Previous Page: Setting Up DOS-based ACU for DOS Login  Next Page: Setting Up Windows-based ACU for Windows Login

Setting Up Windows-based ACU for DOS Login

If your users login to the network in DOS, but need the functionality installed by the Windows-based install utility (setup.exe), complete the following steps.

  1. In the Sys: Public directory, create a Client directory.

  2. In the Client directory, create a Doswin32 directory and a Dos_acu directory.

  3. Copy the contents of the Doswin32 directory from the Z.E.N.works CD-ROM to the Sys:Public\Client\Doswin32 directory.

    The Doswin32 directory is located in the Products directory.

  4. Copy the contents of the Dos_acu directory from the Z.E.N.works CD-ROM to the Sys:Public\Client\Dos_acu directory.

    The Dos_acu directory is located in the \Products\Adm32\Ibm_language subdirectory.

  5. Review the setup.ini file to make sure the parameters are correct.

    For information on modifying parameters in setup.ini, see Modifying the Setup.ini File

  6. Using a NetWare administration utility (such as NetWare Administrator), create a user group for the users you want to upgrade to Novell Client.

  7. Open the system, container, or profile login script in the administration utility.

  8. Add commands to run nwdetect.exe and win setup.exe /acu.

    Make sure to include a pound sign (#) before each command line in the login script.

    For more information about setting up the login script, see Example DOS Login Script for Windows ACU

  9. Save the login script and exit the NetWare administration utility.


Nwdetect.exe Program

This program compares the version stamp and the client type on the client workstation with the version information listed on the nwdetect.exe command line.

Code Description

0

The client software does not need to be updated.

1

The client software needs to be updated.

Nwdetect.exe returns a 1 in any of the following circumstances:

The Name= line in the Install Stamp section of the client's net.cfg does not match the [name] option on the command line.

The major, minor, and revision versions in the Install Stamp section do not match the [version] option on the command line.

The client type (VLMTM, NETX, NIOS) does not match the [/T (client type)] option on the command line.

An Install Stamp does not exist on the client workstation.

Nwdetect.exe uses the following syntax:

NWDETECT [options]

Option Description

name

A string nwdetect.exe compares with the string listed on the Name = line.

version1

Specifies the major, minor, and revision version, in #.#.# format. Used with the version2 option, this number represents the starting version.

version2

Specifies the ending version in #.#.# format. You can use this parameter to test for a version range.

/T (client_type)

Detects the type of client loaded. Valid client types are NETX, VLM, and NIOS (Novell).

/P (prompt text)

Prompts the user if other options return as True. The user must answer the prompt with a Y or N.

A Y returns an exit code of 0. An N returns an exit code of 1.

/C (path\filename)

Specifies the path and filename where nwdetect.exe reads the Install Stamp. Net.cfg is the default file if no file is specified.

For example,

nwdetect client_32 2.5.0 /c c:\novell\client32\version.cfg

detects if the workstation is running the current software and if the version file (version.cfg) has an Install Stamp section that contains the following lines:

Name = Client_32
Major Version = 2
Minor Version = 5
Revision Version = 0

If nwdetect does not locate a version.cfg file or if the version.cfg file contains a different version stamp, the client software is updated.


Example DOS Login Script for Windows ACU

IF member of Accounting THEN BEGIN

 

 

 

MAP T:=SYS:PUBLIC\CLIENT\DOS_ACU

 

 

MAP S:=SYS:PUBLIC\CLIENT\DOSWIN32\NLS\ENGLISH

 

 

WRITE Checking Client Version Information.

 

 

#T:nwdetect.exe CLIENT_32 2.5.0 /C C:NOVELL\CLIENT32\version.cfg

 

 

IF ERROR_LEVEL = 1 THEN BEGIN

 

 

 

DRIVE S:

 

 

EXIT WIN setup.exe

END

 

 

NOTE:  The line EXIT WIN setup.exe runs the Windows client installation in unattended mode only if the [Unattended] option is set in the setup.ini file (see Modifying the Setup.ini File).



  Previous Page: Setting Up DOS-based ACU for DOS Login  Next Page: Setting Up Windows-based ACU for Windows Login