1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Help with login script

Discussion in 'Windows XP' started by roncasey, Jan 15, 2002.

Thread Status:
Not open for further replies.
  1. roncasey

    roncasey Thread Starter

    Joined:
    Feb 7, 2000
    Messages:
    28
    I have a "setup.exe" that I want to install on to client PC's when they login via the login script, however I want this to only install the one time.

    Can somebody point me in the right direction where I can find information on how to use the login script to check for a file or directory on a users PC and if it exists do not run the "setup.exe" again.

    Thanks in advance

    Ron
     
  2. Dan O

    Dan O

    Joined:
    Feb 13, 1999
    Messages:
    8,974
    Using the network logon script to deploy an application is an old method. What version of Windows are you running on the server and clients?

    But if you want to do it you would use the EXIST parameter.

    i.e.

    if EXIST C:\Windows\test.flg goto end
    rem Install commands here .....
    :end
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/65000

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice