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
LVL 2
jmerullaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rjropesCommented:
Would it be easier to use group policy to roll this out? If it is an msi package then this would be a better way of doing this. If you install it using a login script then it may be installed every time you logged in or booted the pc up, which may get users a little frustrated. Also, if something went wrong with the installation, users may be sat waiting for the script to finish and it may never happen.

To install packages with group policy it would be best to apply to computers, and add the package to the software installation policy under the computer settings section. It's pretty straight forwards

Richard
rjropesCommented:
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
Lee W, MVPTechnology and Business Process AdvisorCommented:
You can also repackage it into an MSI - youo might want to read over this:
http://www.windowsnetworking.com/articles_tutorials/Group-Policy-Deploy-Applications.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

jmerullaAuthor Commented:
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
Lee W, MVPTechnology and Business Process AdvisorCommented:
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.
A_AmericanELectricCommented:
jmerulla:
can you explain your check for folder script in a little more detail please?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.