Logon Script - Batch file assistance required

Reply

Join Date: Feb 2005
Posts: 675
Reputation: MartyMcFly is an unknown quantity at this point 
Solved Threads: 17
MartyMcFly MartyMcFly is offline Offline
Practically a Master Poster

Logon Script - Batch file assistance required

 
0
  #1
Jul 28th, 2005
I have been tasked to install a simple piece of client software on all PCs on my site. Because this can be installed without admin rights, and that it requires not user interaction, I was hoping to use a login script for the purpose.

This is not a problem, as I should be able to manage this, but what I wanted to avoid was constant reinstallation, as I didn't design this software, I don't have a clue how it works, and I thought that an overwrite may cause problems with its operation.

Because it is an unattended setup, and that the installation folder is always the same, (lets say c:\data), would it be possible to script the batch file to check for this folder, and if it already exists does not overwrite the existing files.

I really don't know where to begin, or even how to google for this, so I would really appreciate your assistance in saving me much time and effort.

Kind Regards
MMF
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 17
Reputation: cSc0911 is an unknown quantity at this point 
Solved Threads: 0
cSc0911's Avatar
cSc0911 cSc0911 is offline Offline
Newbie Poster

Re: Logon Script - Batch file assistance required

 
1
  #2
Aug 3rd, 2005
Here's a sample .BAT that should help you out:

*************
@ECHO OFF
IF EXIST C:\Data\NUL GOTO QUIT
ECHO Starting the install

REM ...
REM Here is where you put in all the commands to install to program
REM ...

:Quit
*************

Reply back if you have questions/problems.

--Chris
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 675
Reputation: MartyMcFly is an unknown quantity at this point 
Solved Threads: 17
MartyMcFly MartyMcFly is offline Offline
Practically a Master Poster

Re: Logon Script - Batch file assistance required

 
0
  #3
Aug 3rd, 2005
Hey, great thanks, was thinking it wasn't possible. Will carry out tests tomorrow, will keep this thread posted.

Thanks, MMF
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows NT / 2000 / XP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC