Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I write a login script to execute an application on login

Status
Not open for further replies.

Rakhi

IS-IT--Management
Jan 2, 2001
8
0
0
US
I need to update the Norton Anti Virus engine to the latest version on all my desktops and laptops. I was hoping that the next time they logon to the Novell server, they could automatically run the setup.exe file from the network location and install the program. Is it as simple as including the command
# <network path>\setup.exe
Also, I want this to take place only once and once the program is installed that statement should be ignored. How can I achieve this ?
 
Include something like this in the script

map root k: = fs1/sys:avfiles
#k:install.bat
map del k:

where fs1 is your server name and avfiles is the directory with the files you want to install.
Install.bat would be something like:

if exist c:\avupdat.txt goto end
k:\setup.exe
copy k:\avupdat.txt c::end

then it will run setup.exe the first time and copy a file onto c: so that it does not update it again

Hope this is of some help
Eddie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top