I was hoping with the wealth of knowledge here that someone could shed some
light on using Vbscript to install software.

Using vbscript to install msi based applications is not a problem, but where
the problem begins is when installing an application or driver package that
does not use the windows installer or uses a setup.exe which does the
preliminary prep work then launches another executable for the installation.

I'm trying to prevent the script from assuming the application is installed
when its not, and kicking off the next application install and fouling up
the process.

Any help would be appreciated!

Thanks in advance,

Jeff Millar

Re: Using VB Script to install software - Need insight - by Torgeir

Torgeir
Wed Jun 22 14:14:52 CDT 2005

Jeffrey Millar wrote:

> I was hoping with the wealth of knowledge here that someone could shed some
> light on using Vbscript to install software.
>
> Using vbscript to install msi based applications is not a problem, but where
> the problem begins is when installing an application or driver package that
> does not use the windows installer or uses a setup.exe which does the
> preliminary prep work then launches another executable for the installation.
>
> I'm trying to prevent the script from assuming the application is installed
> when its not, and kicking off the next application install and fouling up
> the process.
Hi,

If the setup.exe that after a short while launches another executable
for the actual installation is an setup.exe file build with with the
InstallShield product (many are), add -SMS to the command line.


Adding -SMS will order the InstallShield built program to wait for
the worker process to finish before exiting.


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

Re: Using VB Script to install software - Need insight - by Jeffrey

Jeffrey
Sun Jun 26 17:29:05 CDT 2005

Thanks Torgeir for the insight.


"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:Oetyh81dFHA.616@TK2MSFTNGP12.phx.gbl...
> Jeffrey Millar wrote:
>
>> I was hoping with the wealth of knowledge here that someone could shed
>> some
>> light on using Vbscript to install software.
>>
>> Using vbscript to install msi based applications is not a problem, but
>> where
>> the problem begins is when installing an application or driver package
>> that
>> does not use the windows installer or uses a setup.exe which does the
>> preliminary prep work then launches another executable for the
>> installation.
>>
>> I'm trying to prevent the script from assuming the application is
>> installed
>> when its not, and kicking off the next application install and fouling up
>> the process.
> Hi,
>
> If the setup.exe that after a short while launches another executable
> for the actual installation is an setup.exe file build with with the
> InstallShield product (many are), add -SMS to the command line.
>
>
> Adding -SMS will order the InstallShield built program to wait for
> the worker process to finish before exiting.
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/scriptcenter/default.mspx