Link to home
Start Free TrialLog in
Avatar of jmerulla
jmerullaFlag for United States of America

asked on

How to install a program via logon script

Can you do this?  I want to install Microsoft Lookout (cool little app if you use exhange) to all computers in my organization

anyone know how to do this with logon script (or the like).  

Is there a way to set the permissions so the users won't need admin rights to install?  

Running W2k3 server with a few NT, 2000, mostly xp desktops

THanks

Jessica
SOLUTION
Avatar of rjropes
rjropes

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rjropes
rjropes

Just had a look at the web site and it looks like it's not out as an msi package.

If you run the installation as a computer startup script rather than a user startup script then this should get you past the options.

This option is in group policy under Computer Configuration >> Windows Settings >> Scripts (Startup/shutdown)

Create a script that runs the command \\servername\share\lookout130.exe /S

This will run a silent install, but will run it every time the pc boots up. Depending on how intellegent the installer is, it may just run through, see it's installed and then quit.

You could get the script to first run a registry check and look for a key that gets installed or something first, although I'm not a great script writer. This would mean that the install would only run once.

Richard
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jmerulla

ASKER

Richard,

I'll give this a try tomorrow.  Not so great with group policy -- love a great script.

FYI- A quick and easy way to get around performing a task multiple times during a batch file install it to create a folder, then look for the folder.  

if C:\DeleteUsed4Install exist then goto ok
md C:\DeleteUsed4Install
whatever the batch file should run goes here
ok

exit
Don't understand why you wouldn't want to use group policy instead - for safety and management reasons, just make a new policy that ONLY has settings for installing the software.  Read the link I posted.

Your batch file tip is similar to what I do, but problematic.  In Windows XP, most of the C: drive is locked down to prevent the user from storing things anywhere other than their profile or the network (unless of course, you're setting your users to admins and making the network ripe for virus and spyware threats).

A better solution, in my opinion, is to make a "markers" folder in the %userprofile%\.. folder and then out a text file for each app you want to track.
jmerulla:
can you explain your check for folder script in a little more detail please?