/build/static/layout/Breadcrumb_cap_w.png

how to silence install apps?

Im a noob so please forgive me if i'm in the wrong place.

I need some help in installing apps, such as flash, msn, quicktime etc. unattended.

In my network i have about a 100 computer that needs to be updatet once in awhile, with the lates software.
All computer have 2 profiles, admin and a guest user.
After the update has been installet the computer needs to reboot and copy the guest profil into the default user profil, so all the users that logs on the computer gets the same setup.

We have no sms, ris or other fancy program to do it with.

So fare i got help to make this batch.

@echo off
for /f %%a in (computerlist.txt) do (
net use \\%%a\c$ /user:administrator
copy c:\programmer\chrome.msi \\%%a\c$\programmer
psexec \\%%a -i -u administrator -p pword msiexec.exe /i c:\programmer\chrom.msi
)


It will copy a app to a computer, but NOT install it.

So I put this code in the batch start c:\programmer\chrome.msi
It should start a installation on the target computer/computers, but it only starts a installation on the "push" computer and then it does it twice.??

The problem with the batch is that it ofcause only installs 1 program at a time, and i need to change it every time i need to push out a new update.

I'm i doing it all wrong, is there a better and easyer way to do it.?
Maybe a small program that can do it for me.

I am awear that copying the guest profil into the default user profil, may be a problem.
But if i could do a unattended installation of the new updates on all computer a once, that would be a big help.

any help would be appreciatet [:D]

0 Comments   [ + ] Show comments

Answers (9)

Posted by: Rheuvel 15 years ago
Brown Belt
0
from your first script:

msiexec.exe /i c:\programmer\chrom.msi is the correct command to start a msi installation. if it's not working and that code if your actual script it might be not starting because of the typo in the msi name? (missing an e, judging from start c:\programmer\chrome.msi)

to make installations unattended, you can add some flags and/or parameters to the msiexec command line. if you'll do a little search on the internet one of the first hits you get is:
Technet article about the msiexec command line

for specific parameters or deployment methods to each vendor msi you can search the package kb on appdeploy.


if you do a little more research on your own I think most of your questions will be answered. and if you have any mroe specific questions left by then I'm sure people here are more than willing to help you further.


good luck!
Posted by: anonymous_9363 15 years ago
Red Belt
0
It will copy a app to a computer, but NOT install it. Your command line looks OK so, if you add the argument to create a verbose log for the install, the resulting log ought to tell you why the install failed.
psexec \\%%a -i -u administrator -p pword msiexec.exe /i c:\programmer\chrom.msi /l*v %SystemRoot%\temp\chrom.log
Posted by: pjgeutjens 15 years ago
Red Belt
0
If you want an unattended install you can add /qn (completely silent) or /qb- (progress dialog only) to your msiexec command line
If you don't I'm guessing you'll just get to the first installer window and be stuck there...
Posted by: anonymous_9363 15 years ago
Red Belt
0
Good point, Pieter. In fact, for the PSExec command line part, it might be better to also remove the '-i' argument and add '-s', i.e. Execute As System.
Posted by: pjgeutjens 15 years ago
Red Belt
0
just a thought I'm having ...

if you're working with a whole bunch of MSI's that need to be installed, why not work the other way around?
What I mean is instead of copying the msi to the target machines, why not make one central "repository" and execute all your MSI's from there

so you'd trigger a psexec \\%%a -s msiexec.exe /i \\REPOSITORY\MSIFOLDER\MyMSI.msi /qb-
I don't think all in all your network traffic will differ too much between these approaches.
Just make sure all machines have read access to the share.

like I said, just a thought...

PJ
Posted by: anonymous_9363 15 years ago
Red Belt
0
Good idea, save for the fact that the System account has no network access :)
Posted by: pjgeutjens 15 years ago
Red Belt
0
well, it's not that it doesn't have network access... you can actually map network locations under system credentials and then you'll have access.
Also I'm pretty sure granting read access to DOMAIN\Domain Computers group will make it so the share can be reached by the system account
Posted by: denmyos 15 years ago
Yellow Belt
0
Im sorry i have not return sooner, but my work (library) had a major network breakdown, so i need to take care of the first.

pjgeutjens: very good idea, but im in a workgroup, not sure if you idea is gonna work in a workgroup.

VBScab: i change the -i and replace it with a -s, and it seem to have done the trick, now it seems to install on the target computer.
But the /l*v %SystemRoot%\temp\chrome.log didn't seem to create any log.

BTW. I'm i mistaken or are these http://www.appdeploy.com/packages/ for download, cause i can't find the download link.
Posted by: anonymous_9363 15 years ago
Red Belt
0
But the /l*v %SystemRoot%\temp\chrome.log didn't seem to create any log.Weird...I can't imagine how the System account wouldn't have access to %SystemRoot%\TEMP...did you drop the Username and Password arguments when using the System account argument? BTW. I'm i mistaken or are these http://www.appdeploy.com/packages/ for download, cause i can't find the download linkThat page is an index to knowledgebase articles about the named packages. There's nothing to download.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ