944,123 Members | Top Members by Rank

Ad:
Jul 28th, 2005
0

Logon Script - Batch file assistance required

Expand Post »
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
Similar Threads
Reputation Points: 16
Solved Threads: 17
Practically a Master Poster
MartyMcFly is offline Offline
675 posts
since Feb 2005
Aug 3rd, 2005
1

Re: Logon Script - Batch file assistance required

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
Reputation Points: 11
Solved Threads: 0
Newbie Poster
cSc0911 is offline Offline
17 posts
since Aug 2005
Aug 3rd, 2005
0

Re: Logon Script - Batch file assistance required

Hey, great thanks, was thinking it wasn't possible. Will carry out tests tomorrow, will keep this thread posted.

Thanks, MMF
Reputation Points: 16
Solved Threads: 17
Practically a Master Poster
MartyMcFly is offline Offline
675 posts
since Feb 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows NT / 2000 / XP Forum Timeline: problem with mpr.dll
Next Thread in Windows NT / 2000 / XP Forum Timeline: Mp3 Problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC