Im not 100% sure if this is the right place to put this but I thought
snice im trying to install an app that it may go here.

What im trying to do is have a Loginscript check a regsitry setting if
it see's the setting it will install the app 1 time only and will never
install again.

Here is what i have so far...im not sure if im on the right track...

REM Detecting OS on the Workstations and then running the script
IF OS = "WINNT"
REGREAD "HKLM,SOFTWARE\Dell Computer Corporation\SysInfo,Model"
IF "%99" ="Latitude D531" THEN GOTO INSTALL
INSTALL:
REGREAD "HKLM,SOFTWARE\Microsoft\Windows\CTBump,Bump"
IF "%99" ="1" THEN GOTO DONE
WRITE "Installing AMPWinOFF Please do not turn off Workstation"
#\\image2\VOL1\NALAPPS\ZFD7_CtmWeb19493-37060_Install\CompuTrace\install.bat
#\\image2\VOL1\NALAPPS\ZFD7_CtmWeb19493-37060_Install\CompuTrace\reginstall.bat
IF "%ERROR_LEVEL" = "1" THEN GOTO DONE
END
END

DONE:


The reginstall.bat waould be used to install a reg setting so that the
login script would not work after that. Is there any one out there who
can help me on this.


--
Bsaunders