It's not that the script doesn't work...the script works fine on 98% of our clients - clients that have kixtart dlls in the path.

The following code is an automated install for Netscape Communicator. The code gets executed when users click on a netscape shortcut we have placed in the start menu... (Remember: 1.)kix32 ran just fine during the logon script and kix32 dlls are defined in the path 3.) This install works seamlessly for 98% of our machines)

@echo off
rem set _INST_APP=Netscape Communicator 4.7
set _INST_RNAME=Netscape47
rem set _INST_DRIVE=X:
rem set _INST_PATH=X:\Source\Netscape47
set _INST_VER=1

if "%1" == "-h" goto help
if "%1" == "-H" goto help

if "%1" == "FORCE" goto continue

rem kix32 Y:\Util\PFCregck.SCR $MODE=QUERY $ITEM=%_INST_RNAME% $VERSION=%_INST_VER%
rem if errorlevel 1 goto continue
rem goto installed

:continue
kix32 Y:\Util\PFCregck.SCR $MODE=QUERY $ITEM=rmNetscape461 $VERSION=1
if errorlevel 1 goto oldnetscape

:start
echo Installing Netscape Communicator 4.7 (%_INST_VER%)...

mkdir c:\temp
mkdir c:\temp\nscache
xcopy "X:\Source\Netscape47\Plugins\*.*" C:\temp

if "%OS%" == "Windows_NT" goto winnt_1

C:
X:\Source\Netscape47\source95\setup.exe

:win95_1
kill95 |find /i "X:\SOURCE\NETSCA~1\source95\SETUP.EXE"
if errorlevel 1 goto win95_2
sleep 10
goto win95_1

:win95_2
kill95 |find /i "X:\SOURCE\NETSCA~1\source95\_ISDEL.EXE"
if errorlevel 1 goto custom
sleep 10
goto win95_2

:winnt_1
C:
X:\Source\Netscape47\sourceNT\setup.exe
xcopy /C "X:\Source\Netscape47\tlist.exe" C:\Winnt
goto winnt_2

:winnt_2
sleep 8
tlist |find /i "_INS0432._MP"
if %errorlevel% EQU 0 goto winnt_2
goto custom
kix32 Y:\UTIL\WINMSG.SCR $MESSAGE="Your Netscape Navigator web browser needs upgrading. Please contact the Informatics group... Thank you!"
goto done

:custom
echo Copying files...
for /d %%i in ("%USERPROFILE%\start menu\programs\netscape*") do rmdir /s /q "%%i"
for /d %%i in ("%systemroot%\profiles\all users\start menu\programs\netscape*") do rmdir /s /q "%%i"
deltree /Y "c:\windows\startm~1\programs\netscape*.*"
deltree /Y "c:\windows\startm~1\netscape*.*"
del "c:\progra~1\netscape\commun~1\program\talkback.*"
mkdir "C:\Downloads"
xcopy /S /C /H /K "C:\_Navplug" "c:\progra~1\netscape\commun~1\program\plugins"
xcopy /S /C /H /K "C:\_Complug" "c:\progra~1\netscape\commun~1\program\plugins"
del "C:\Winnt\Profiles\All Users\Desktop\netscape*.lnk"
del "p:\explorer\desktop\netscape*.lnk"
del "p:\explorer\desktop\aolins~1.lnk"
rem del "C:\_Navplug"
rem del "C:\_Complug"

kix32 Y:\Util\PFCregck.SCR $MODE=ADD $ITEM=%_INST_RNAME% $VERSION=%_INST_VER% $VALUE=_SYSTEM_DATE
kix32 Y:\util\PFCuplog.scr $ITEM=Netscape $VERSION=%_INST_VER%
goto done

:installed
goto done

ldnetscape
kix32 Y:\util\winmsg.scr $MESSAGE="There was a problem updating your netscape. Please contact the informatics group"
kix32 Y:\util\PFCuplog.scr $ITEM=!Netscape47-RMOLD $VERSION=%_INST_VER%
goto done


:done
echo done

Thanks again!