Re: silent install issue with batch program by Chris
Chris
Fri Feb 29 17:58:00 CST 2008
I got my problem fixed by removing start/wait and using just setup.exe -s. I
thought you need to use start/wait and sometimes -sms when you call an
external program from a batch program. Somehow, it didn't work for me this
time.
"Corey Thomas" wrote:
> Hmm. Does the exe contain an MSI? (Check the temp directories). If
> so, you can definitely install those silently.
>
> If not, you have two options:
>
> 1. Repackage the install. This would take some knowledge of
> packaging as well as some tools to capture the install.
> 2. Pass the keys needed. There are several ways to do that.
> Sendkeys (vbscript) may work.
>
> On Feb 28, 7:14 pm, Chris <Ch...@discussions.microsoft.com> wrote:
> > I don't know. When I double-click on setup.exe it lauched installation with
> > InstallShield. Does that mean it was created by InstallShield? I also tried
> > to run setup.exe -r or /r to generate an answer file (iss) but got error with
> > switch "-r" or "/r" not recognized.
> >
> >
> >
> > "Corey Thomas" wrote:
> > > Was the setup built by InstallShield? If so, there is a switch that
> > > you can pass to the setup. Then you go through the setup, telling it
> > > which options you want. When it finishes, it creates an iss file that
> > > you can use for silent installs.
> >
> > > It really depends on who wrote the setup.
> >
> > > -Corey Thomas
> > > MCSE/MCSA/MCDBA
> >
> > > On Feb 28, 1:59 pm, Chris <Ch...@discussions.microsoft.com> wrote:
> > > > will silent install accept license agreement automatically? maybe my problem
> > > > is something else. I realized that the first one took 10-15 sec to complete.
> > > > But rest two took only a couple seconds. I don't think it actually started
> > > > the installation.
> >
> > > > "Chris" wrote:
> > > > > I wrote a batch program to silently install some chipset software for users
> > > > > during logon. But it's working properly. Here is part of the code.
> >
> > > > > :IntelAMT
> > > > > Echo Install Intel AMT Chipset Software
> > > > > Echo Install Intel AMT Chipset Software >>%systemroot%\setuplog1.log
> >
> > > > > Echo Installing Utility Driver.
> > > > > c:
> > > > > CD \Drivers\Dell\GX755\Chipset\Chipset1
> > > > > start /wait setup.exe -s -sms
> > > > > Echo Utility Driver Installed, rc=%ERRORLEVEL% >>%systemroot%\setuplog1.log;
> >
> > > > > Echo Installing Intel AMT SOL/ LMS Driver
> > > > > c:
> > > > > CD \Drivers\Dell\GX755\Chipset\Chipset2
> > > > > start /wait setup.exe -s -sms
> > > > > Echo Intel AMT SOL/ LMS Driver installed, rc=%ERRORLEVEL%
> > > > > >>%systemroot%\setuplog1.log
> >
> > > > > Echo Installing Intel AMT HECI Driver
> > > > > c:
> > > > > CD \Drivers\Dell\GX755\Chipset\Chipset3
> > > > > start /wait setup.exe -s -sms
> > > > > Echo Intel AMT HECI Driver installed, rc=%ERRORLEVEL%
> > > > > >>%systemroot%\setuplog1.log
> >
> > > > > I can see the echo message during installation and the echo message in the
> > > > > log. But only the first one got installed properly. What I found is that
> > > > > the other two need to answer the license agreement.
> >
> > > > > What's the switch to accept the license agreement automatically?
> >
> > > > > thanks.- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
>
>