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.
It will copy a app to a computer, but NOT install it.
So I put this code in the batch
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]
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)
Please log in to answer
Posted by:
Rheuvel
15 years ago
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!
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
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
Posted by:
anonymous_9363
15 years ago
Posted by:
pjgeutjens
15 years ago
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
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
Posted by:
pjgeutjens
15 years ago
Posted by:
denmyos
15 years ago
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
BTW. I'm i mistaken or are these http://www.appdeploy.com/packages/ for download, cause i can't find the download link.
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
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.
so that the conversation will remain readable.